Interface SequenceDefinitionModel.Format
-
- All Known Implementing Classes:
BaseSequenceFormat
- Enclosing interface:
- SequenceDefinitionModel
public static interface SequenceDefinitionModel.Format
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
getDigits()
Minimum number of digits that should be used for the sequence, i.e.String
getPrefix()
The prefix that should be applied to the generated numberString
getSuffix()
The suffix that should be applied to the generated number
-
-
-
Method Detail
-
getDigits
Integer getDigits()
Minimum number of digits that should be used for the sequence, i.e. if the sequence generated a number with less digits, it will use 0 to left pad the number. e.g. If this number is 5 and the generated sequence number is 1 then the sequence will return 00001
-
getPrefix
String getPrefix()
The prefix that should be applied to the generated number
-
getSuffix
String getSuffix()
The suffix that should be applied to the generated number
-
-