public static enum OriginalCalledNumber.Presentation extends Enum<OriginalCalledNumber.Presentation>
The API offered by this class is as if the type were specified in ASN.1 as follows.
Presentation ::= ENUMERATED { ALLOWED (0), RESTRICTED (1), ADDRESS_NOT_AVAILABLE (2), NETWORK_RESTRICTED (3) }
Enum Constant and Description |
---|
ADDRESS_NOT_AVAILABLE
Address presentation restricted indicator value (2) corresponding to address not available (national use).
|
ALLOWED
Address presentation restricted indicator value (0) corresponding to presentation allowed.
|
NETWORK_RESTRICTED
Address presentation restricted indicator value (3) corresponding to reserved for restriction by network.
|
RESTRICTED
Address presentation restricted indicator value (1) corresponding to presentation restricted.
|
Modifier and Type | Method and Description |
---|---|
static OriginalCalledNumber.Presentation |
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 OriginalCalledNumber.Presentation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OriginalCalledNumber.Presentation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OriginalCalledNumber.Presentation ALLOWED
public static final OriginalCalledNumber.Presentation RESTRICTED
public static final OriginalCalledNumber.Presentation ADDRESS_NOT_AVAILABLE
public static final OriginalCalledNumber.Presentation NETWORK_RESTRICTED
public static OriginalCalledNumber.Presentation[] values()
for (OriginalCalledNumber.Presentation c : OriginalCalledNumber.Presentation.values()) System.out.println(c);
public static OriginalCalledNumber.Presentation 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 OriginalCalledNumber.Presentation fromValue(int value)
value
- encoded valueIllegalArgumentException
- if there is no enumeration constant with the given encoded value