public static enum SMSAddress.NumberingPlan extends Enum<SMSAddress.NumberingPlan>
The API offered by this class is as if the type were specified in ASN.1 as follows.
NumberingPlan ::= ENUMERATED { UNKNOWN (0), ISDN (1), RESERVED_2 (2), DATA (3), TELEX (4), SC_SPECIFIC_5 (5), SC_SPECIFIC_6 (6), RESERVED_7 (7), NATIONAL (8), PRIVATE (9), RESERVED_10 (10), RESERVED_11 (11), RESERVED_12 (12), RESERVED_13 (13), RESERVED_14 (14), RESERVED_15 (15) }
Enum Constant and Description |
---|
DATA
Numbering plan indicator value (3) corresponding to Data numbering plan (ITU-T Recommendation X.121).
|
ERMES
Numbering plan indicator value (0xA) corresponding to ERMES numbering plan (ETSI DE/PS 3 01-3).
|
ISDN
Numbering plan indicator value (1) corresponding to the ISDN (Telephony) numbering plan (ITU-T Recommendation E.164).
|
NATIONAL
Numbering plan indicator value (8) corresponding to National numbering plan.
|
PRIVATE
Numbering plan indicator value (9) corresponding to Private numbering plan.
|
RESERVED_11
Numbering plan indicator value (0xB) corresponding to reserved.
|
RESERVED_12
Numbering plan indicator value (0xC) corresponding to reserved.
|
RESERVED_13
Numbering plan indicator value (0xD) corresponding to reserved.
|
RESERVED_14
Numbering plan indicator value (0xE) corresponding to reserved.
|
RESERVED_15
Numbering plan indicator value (0xF) corresponding to reserved for extension.
|
RESERVED_2
Numbering plan indicator value (2) corresponding to reserved.
|
RESERVED_7
Numbering plan indicator value (7) corresponding to reserved.
|
SC_SPECIFIC_5
Numbering plan indicator value (5) corresponding to Service Centre Specific plan.
|
SC_SPECIFIC_6
Numbering plan indicator value (6) corresponding to Service Centre Specific plan.
|
TELEX
Numbering plan indicator value (4) corresponding to Telex numbering plan.
|
UNKNOWN
Numbering plan indicator value (0) corresponding to unknown.
|
Modifier and Type | Method and Description |
---|---|
static SMSAddress.NumberingPlan |
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 SMSAddress.NumberingPlan |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SMSAddress.NumberingPlan[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMSAddress.NumberingPlan UNKNOWN
public static final SMSAddress.NumberingPlan ISDN
public static final SMSAddress.NumberingPlan RESERVED_2
public static final SMSAddress.NumberingPlan DATA
public static final SMSAddress.NumberingPlan TELEX
public static final SMSAddress.NumberingPlan SC_SPECIFIC_5
public static final SMSAddress.NumberingPlan SC_SPECIFIC_6
public static final SMSAddress.NumberingPlan RESERVED_7
public static final SMSAddress.NumberingPlan NATIONAL
public static final SMSAddress.NumberingPlan PRIVATE
public static final SMSAddress.NumberingPlan ERMES
public static final SMSAddress.NumberingPlan RESERVED_11
public static final SMSAddress.NumberingPlan RESERVED_12
public static final SMSAddress.NumberingPlan RESERVED_13
public static final SMSAddress.NumberingPlan RESERVED_14
public static final SMSAddress.NumberingPlan RESERVED_15
public static SMSAddress.NumberingPlan[] values()
for (SMSAddress.NumberingPlan c : SMSAddress.NumberingPlan.values()) System.out.println(c);
public static SMSAddress.NumberingPlan 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 SMSAddress.NumberingPlan fromValue(int value)
value
- encoded valueIllegalArgumentException
- if there is no enumeration constant with the given encoded value