|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StringIdentifierGenerator
StringIdentifierGenerator defines a simple interface for
String based identifier generation.
| Field Summary | |
|---|---|
static int |
INFINITE_MAX_LENGTH
Constant representing unlimited identifier length, returned by maxLength()
when there is no upper bound to the length of an identifier in the sequence |
| Method Summary | |
|---|---|
long |
maxLength()
Returns the maximum length (number or characters) for an identifier from this sequence. |
long |
minLength()
Returns the minimum length (number of characters) for an identifier from this sequence. |
java.lang.String |
nextStringIdentifier()
Gets the next identifier in the sequence. |
| Methods inherited from interface org.apache.commons.id.IdentifierGenerator |
|---|
nextIdentifier |
| Field Detail |
|---|
static final int INFINITE_MAX_LENGTH
maxLength()
when there is no upper bound to the length of an identifier in the sequence
| Method Detail |
|---|
java.lang.String nextStringIdentifier()
long maxLength()
INFINITE_MAX_LENGTH if there is no upper boundlong minLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||