org.apache.commons.id
Interface IdentifierGenerator

All Known Subinterfaces:
LongIdentifierGenerator, StringIdentifierGenerator
All Known Implementing Classes:
AbstractLongIdentifierGenerator, AbstractStringIdentifierGenerator, AlphanumericGenerator, CompositeIdentifierGenerator, ConstantIdentifierGenerator, LongGenerator, NumericGenerator, PrefixedAlphanumericGenerator, PrefixedLeftPaddedNumericGenerator, PrefixedNumericGenerator, SessionIdGenerator, TimeBasedAlphanumericIdentifierGenerator, VersionFourGenerator, VersionOneGenerator

public interface IdentifierGenerator

IdentifierGenerator defines a simple interface for identifier generation.

Version:
$Id: IdentifierGenerator.java 480488 2006-11-29 08:57:26Z bayard $
Author:
Commons-Id team

Method Summary
 java.lang.Object nextIdentifier()
          Gets the next identifier in the sequence.
 

Method Detail

nextIdentifier

java.lang.Object nextIdentifier()
Gets the next identifier in the sequence.

Returns:
the next identifier in sequence


Copyright 2003-2008 The Apache Software Foundation. All Rights Reserved.