public enum MAPReason extends Enum<MAPReason>
Reason ::= ENUMERATED { noReasonGiven(0), invalidDestinationReference(1), invalidOriginatingReference(2) }Added in ph2.
Used as field type by MAPMAP_RefuseInfo
.
Enum Constant and Description |
---|
invalidDestinationReference |
invalidOriginatingReference |
noReasonGiven |
Modifier and Type | Method and Description |
---|---|
static MAPReason |
fromValue(int value)
Returns the enumeration constant for a given ASN.1 encoded value.
|
int |
intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.
|
static MAPReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MAPReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MAPReason noReasonGiven
public static final MAPReason invalidDestinationReference
public static final MAPReason invalidOriginatingReference
public static MAPReason[] values()
for (MAPReason c : MAPReason.values()) System.out.println(c);
public static MAPReason 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 static MAPReason fromValue(int value)
value
- integer ASN.1 encoded valuepublic int intValue()