Enum SMSAddress.NumberingPlan
- java.lang.Object
-
- java.lang.Enum<SMSAddress.NumberingPlan>
-
- com.opencloud.slee.resources.in.datatypes.sms.SMSAddress.NumberingPlan
-
- All Implemented Interfaces:
Serializable
,Comparable<SMSAddress.NumberingPlan>
- Enclosing class:
- SMSAddress
public static enum SMSAddress.NumberingPlan extends Enum<SMSAddress.NumberingPlan>
Enumeration of Numbering Plan indicator constants.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 Summary
Enum Constants Enum Constant 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final SMSAddress.NumberingPlan UNKNOWN
Numbering plan indicator value (0) corresponding to unknown.
-
ISDN
public static final SMSAddress.NumberingPlan ISDN
Numbering plan indicator value (1) corresponding to the ISDN (Telephony) numbering plan (ITU-T Recommendation E.164).
-
RESERVED_2
public static final SMSAddress.NumberingPlan RESERVED_2
Numbering plan indicator value (2) corresponding to reserved.
-
DATA
public static final SMSAddress.NumberingPlan DATA
Numbering plan indicator value (3) corresponding to Data numbering plan (ITU-T Recommendation X.121).
-
TELEX
public static final SMSAddress.NumberingPlan TELEX
Numbering plan indicator value (4) corresponding to Telex numbering plan.
-
SC_SPECIFIC_5
public static final SMSAddress.NumberingPlan SC_SPECIFIC_5
Numbering plan indicator value (5) corresponding to Service Centre Specific plan.
-
SC_SPECIFIC_6
public static final SMSAddress.NumberingPlan SC_SPECIFIC_6
Numbering plan indicator value (6) corresponding to Service Centre Specific plan.
-
RESERVED_7
public static final SMSAddress.NumberingPlan RESERVED_7
Numbering plan indicator value (7) corresponding to reserved.
-
NATIONAL
public static final SMSAddress.NumberingPlan NATIONAL
Numbering plan indicator value (8) corresponding to National numbering plan.
-
PRIVATE
public static final SMSAddress.NumberingPlan PRIVATE
Numbering plan indicator value (9) corresponding to Private numbering plan.
-
ERMES
public static final SMSAddress.NumberingPlan ERMES
Numbering plan indicator value (0xA) corresponding to ERMES numbering plan (ETSI DE/PS 3 01-3).
-
RESERVED_11
public static final SMSAddress.NumberingPlan RESERVED_11
Numbering plan indicator value (0xB) corresponding to reserved.
-
RESERVED_12
public static final SMSAddress.NumberingPlan RESERVED_12
Numbering plan indicator value (0xC) corresponding to reserved.
-
RESERVED_13
public static final SMSAddress.NumberingPlan RESERVED_13
Numbering plan indicator value (0xD) corresponding to reserved.
-
RESERVED_14
public static final SMSAddress.NumberingPlan RESERVED_14
Numbering plan indicator value (0xE) corresponding to reserved.
-
RESERVED_15
public static final SMSAddress.NumberingPlan RESERVED_15
Numbering plan indicator value (0xF) corresponding to reserved for extension.
-
-
Method Detail
-
values
public static SMSAddress.NumberingPlan[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SMSAddress.NumberingPlan c : SMSAddress.NumberingPlan.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SMSAddress.NumberingPlan valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
intValue
public int intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.- Returns:
- encoded value
-
fromValue
public static SMSAddress.NumberingPlan fromValue(int value)
Returns the enumeration constant for a given encoded value.- Parameters:
value
- encoded value- Returns:
- the appropriate enumeration constant for the encoded value
- Throws:
IllegalArgumentException
- if there is no enumeration constant with the given encoded value
-
-