Uses of Interface
org.instancio.generator.specs.Mod10GeneratorSpec
Packages that use Mod10GeneratorSpec
Package
Description
Defines generator specs.
Defines classes that provide access to built-in generators.
-
Uses of Mod10GeneratorSpec in org.instancio.generator.specs
Subinterfaces of Mod10GeneratorSpec in org.instancio.generator.specsModifier and TypeInterfaceDescriptioninterfaceA 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 thatnullvalue 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). -
Uses of Mod10GeneratorSpec in org.instancio.generators
Methods in org.instancio.generators that return Mod10GeneratorSpecModifier and TypeMethodDescriptionChecksumGenerators.mod10()Generates numbers that pass the Mod10 checksum algorithm.