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 numbervoidvoidvoid
-
Field Details
-
digits
-
prefix
-
suffix
-
-
Constructor Details
-
BaseSequenceFormat
public BaseSequenceFormat()
-
-
Method Details
-
getDigits
Description copied from interface:SequenceDefinitionModel.FormatMinimum 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:
getDigitsin interfaceSequenceDefinitionModel.Format
-
setDigits
-
getPrefix
Description copied from interface:SequenceDefinitionModel.FormatThe prefix that should be applied to the generated number- Specified by:
getPrefixin interfaceSequenceDefinitionModel.Format
-
setPrefix
-
getSuffix
Description copied from interface:SequenceDefinitionModel.FormatThe suffix that should be applied to the generated number- Specified by:
getSuffixin interfaceSequenceDefinitionModel.Format
-
setSuffix
-