public enum CodabarChecksumMode extends java.lang.Enum<CodabarChecksumMode>
Specifies the checksum algorithm for Codabar
Enum Constant and Description |
---|
MOD_10
Specifies Mod 10 algorithm for Codabar.
|
MOD_16
Specifies Mod 16 algorithm for Codabar (recomended AIIM).
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static CodabarChecksumMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodabarChecksumMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodabarChecksumMode MOD_10
Specifies Mod 10 algorithm for Codabar.
public static final CodabarChecksumMode MOD_16
Specifies Mod 16 algorithm for Codabar (recomended AIIM).
public static CodabarChecksumMode[] values()
for (CodabarChecksumMode c : CodabarChecksumMode.values()) System.out.println(c);
public static CodabarChecksumMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()