Uses of Interface
org.instancio.generator.specs.Mod10GeneratorSpec
Packages that use Mod10GeneratorSpec
-
Uses of Mod10GeneratorSpec in org.instancio.generator.specs
Subinterfaces of Mod10GeneratorSpec in org.instancio.generator.specsModifier and TypeInterfaceDescriptioninterface
A spec for generating numbers that pass the Mod10 checksum algorithm.interface
A spec for generating numbers that pass the Mod10 checksum algorithm.Methods in org.instancio.generator.specs that return Mod10GeneratorSpecModifier and TypeMethodDescriptionMod10GeneratorSpec.checkDigitIndex
(int checkDigitIndex) The index of the check digit in the input.Mod10GeneratorSpec.endIndex
(int endIndex) The end index for calculating the checksum.Mod10GeneratorSpec.length
(int length) Length of the number to generate (default value is16
).Mod10GeneratorSpec.multiplier
(int multiplier) Multiplier to be used for odd digits when calculating the Mod10 checksum (default value is3
).Mod10GeneratorSpec.nullable()
Indicates thatnull
value can be generated.Mod10GeneratorSpec.startIndex
(int startIndex) The start index for calculating the checksum (default value is0
).Mod10GeneratorSpec.weight
(int weight) The weight to be used for even digits when calculating the Mod10 checksum (default value is1
).