Uses of Interface
org.instancio.generator.specs.Mod11Spec
Packages that use Mod11Spec
Package
Description
Defines generator specs.
Defines classes that provide access to built-in generators.
-
Uses of Mod11Spec in org.instancio.generator.specs
Methods in org.instancio.generator.specs that return Mod11SpecModifier and TypeMethodDescriptionMod11Spec.checkDigitIndex(int checkDigitIndex) The index of the check digit in the input.Mod11Spec.endIndex(int endIndex) The end index for calculating the checksum.Mod11Spec.leftToRight()Specifies that the Mod11 checksum must be done from the leftmost to the rightmost digit (default behaviour is right to left).Mod11Spec.length(int length) Length of the number to generate (default value is16).Mod11Spec.nullable()Indicates thatnullvalue can be generated.Mod11Spec.startIndex(int startIndex) The start index for calculating the checksum (default value is0).Mod11Spec.threshold(int threshold) The threshold for the Mod11 algorithm multiplier growth, if no value is specified the multiplier will grow indefinitely (default value isInteger.MAX_VALUE).Mod11Spec.treatCheck10As(char treatCheck10As) Thecharthat represents the check digit when the Mod11 checksum equals10(default value is'X').Mod11Spec.treatCheck11As(char treatCheck11As) Thecharthat represents the check digit when the Mod11 checksum equals11(default value is'0'). -
Uses of Mod11Spec in org.instancio.generators
Methods in org.instancio.generators that return Mod11Spec