Class BaseSequenceFormat
java.lang.Object
com.flowable.platform.engine.impl.repository.BaseSequenceFormat
- All Implemented Interfaces:
SequenceDefinitionModel.Format
- Author:
- Filip Hrisafov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMinimum 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.The prefix that should be applied to the generated numberThe suffix that should be applied to the generated numbervoid
void
void
-
Field Details
-
digits
-
prefix
-
suffix
-
-
Constructor Details
-
BaseSequenceFormat
public BaseSequenceFormat()
-
-
Method Details
-
getDigits
Description copied from interface:SequenceDefinitionModel.Format
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- Specified by:
getDigits
in interfaceSequenceDefinitionModel.Format
-
setDigits
-
getPrefix
Description copied from interface:SequenceDefinitionModel.Format
The prefix that should be applied to the generated number- Specified by:
getPrefix
in interfaceSequenceDefinitionModel.Format
-
setPrefix
-
getSuffix
Description copied from interface:SequenceDefinitionModel.Format
The suffix that should be applied to the generated number- Specified by:
getSuffix
in interfaceSequenceDefinitionModel.Format
-
setSuffix
-