public static enum Cause.CodingStandard extends Enum<Cause.CodingStandard>
The API offered by this class is as if the type were specified in ASN.1 as follows.
CodingStandard ::= ENUMERATED { ITU_T (0), ISO_IEC (1), NATIONAL (2), LOCATION_SPECIFIC (3) }The ITU_T coding standard should be used unless the desired cause value cannot be represented using this standard.
Enum Constant and Description |
---|
ISO_IEC
Coding standard value (1) corresponding to the ISO/IEC standard.
|
ITU_T
Coding standard value (0) corresponding to ITU-T standardised coding.
|
LOCATION_SPECIFIC
Coding standard value (3) corresponding to the standard specific to the identified location.
|
NATIONAL
Coding standard value (2) corresponding to the national standard.
|
Modifier and Type | Method and Description |
---|---|
static Cause.CodingStandard |
fromValue(int value)
Returns the enumeration constant for a given encoded value.
|
int |
intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.
|
static Cause.CodingStandard |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cause.CodingStandard[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cause.CodingStandard ITU_T
public static final Cause.CodingStandard ISO_IEC
public static final Cause.CodingStandard NATIONAL
public static final Cause.CodingStandard LOCATION_SPECIFIC
public static Cause.CodingStandard[] values()
for (Cause.CodingStandard c : Cause.CodingStandard.values()) System.out.println(c);
public static Cause.CodingStandard valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int intValue()
public static Cause.CodingStandard fromValue(int value)
value
- encoded valueIllegalArgumentException
- if there is no enumeration constant with the given encoded value