public static enum IATA.IATACheckDigit extends java.lang.Enum<IATA.IATACheckDigit> implements java.lang.Cloneable
Enum Constant and Description |
---|
CALCULATE_FC_CPN_ACSN
FC/CPN/AC/SNを計算します Calculate FC / CPN / AC / SN |
CALCULATE_FC_CPN_SN
FC/CPN/SNを計算します Calculate FC / CPN / SN |
CALCULATE_FC_SN
FC/SNを計算します Calculate FC / SN |
NO_CALCULATE
CDを計算しません Don't calculate the CD |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static IATA.IATACheckDigit |
valueOf(int id) |
static IATA.IATACheckDigit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IATA.IATACheckDigit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IATA.IATACheckDigit NO_CALCULATE
public static final IATA.IATACheckDigit CALCULATE_FC_SN
public static final IATA.IATACheckDigit CALCULATE_FC_CPN_SN
public static final IATA.IATACheckDigit CALCULATE_FC_CPN_ACSN
public static IATA.IATACheckDigit[] values()
for (IATA.IATACheckDigit c : IATA.IATACheckDigit.values()) System.out.println(c);
public static IATA.IATACheckDigit 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 IATA.IATACheckDigit valueOf(int id)
public int getId()