public static enum Code11.Code11CheckDigit extends java.lang.Enum<Code11.Code11CheckDigit> implements java.lang.Cloneable
Enum Constant and Description |
---|
CALCULATE_1CD
1CDを計算します Calculate 1CD |
CALCULATE_1CD_2CD
1CDまたは2CDを自動計算します Automatically calculate 1CD or 2CD |
CALCULATE_2CD
2CDを計算します Calculate 2CD |
NO_CALCULATE
CDを計算しません Don't calculate the CD |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static Code11.Code11CheckDigit |
valueOf(int id) |
static Code11.Code11CheckDigit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Code11.Code11CheckDigit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Code11.Code11CheckDigit NO_CALCULATE
public static final Code11.Code11CheckDigit CALCULATE_1CD
public static final Code11.Code11CheckDigit CALCULATE_2CD
public static final Code11.Code11CheckDigit CALCULATE_1CD_2CD
public static Code11.Code11CheckDigit[] values()
for (Code11.Code11CheckDigit c : Code11.Code11CheckDigit.values()) System.out.println(c);
public static Code11.Code11CheckDigit 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 static Code11.Code11CheckDigit valueOf(int id)
public int getId()