Interface SequenceDefinitionModel.Format

All Known Implementing Classes:
BaseSequenceFormat
Enclosing interface:
SequenceDefinitionModel

public static interface SequenceDefinitionModel.Format
  • Method Summary

    Modifier and Type
    Method
    Description
    Minimum number of digits that should be used for the sequence, i.e.
    The prefix that should be applied to the generated number
    The suffix that should be applied to the generated number
  • Method Details

    • 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