Class SequenceGeneratorLogic
java.lang.Object
com.echothree.util.server.control.BaseLogic
com.echothree.model.control.sequence.server.logic.SequenceGeneratorLogic
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetDefaultSequence
(ExecutionErrorAccumulator eea, SequenceType sequenceType) getDefaultSequence
(ExecutionErrorAccumulator eea, String sequenceTypeName) static SequenceGeneratorLogic
getNextSequenceValue
(Sequence sequence) Generate and return the next value for a given Sequence.getNextSequenceValue
(ExecutionErrorAccumulator eea, Sequence sequence) getNextSequenceValue
(ExecutionErrorAccumulator eea, SequenceType sequenceType) getNextSequenceValue
(ExecutionErrorAccumulator eea, String sequenceTypeName) identifySequenceType
(String value) boolean
verifyValue
(SequenceType sequenceType, String value) Methods inherited from class com.echothree.util.server.control.BaseLogic
addExecutionError, addSecurityMessage, getEntityInstanceByBaseEntity, getEntityInstanceByBasePK, getSession, handleExecutionError, handleSecurityMessage, hasExecutionErrors
-
Field Details
-
NUMERIC_VALUES
- See Also:
-
NUMERIC_MAX_INDEX
-
ALPHABETIC_VALUES
- See Also:
-
ALPHABETIC_MAX_INDEX
-
ALPHANUMERIC_VALUES
- See Also:
-
ALPHANUMERIC_MAX_INDEX
-
-
Method Details
-
getInstance
-
getNextSequenceValue
Generate and return the next value for a given Sequence.- Returns:
- A unique value for the sequence is returned. Null will be returned when the sequence is exhausted, the length of the mask is not equal to the length of the value, or an invalid character is encountered in the mask.
-
getNextSequenceValue
-
getNextSequenceValue
-
getNextSequenceValue
-
getDefaultSequence
-
getDefaultSequence
-
identifySequenceType
-
verifyValue
-