Enum SMSDataCodingScheme.MessageClass
- java.lang.Object
-
- java.lang.Enum<SMSDataCodingScheme.MessageClass>
-
- com.opencloud.slee.resources.in.datatypes.sms.SMSDataCodingScheme.MessageClass
-
- All Implemented Interfaces:
Serializable
,Comparable<SMSDataCodingScheme.MessageClass>
- Enclosing class:
- SMSDataCodingScheme
public static enum SMSDataCodingScheme.MessageClass extends Enum<SMSDataCodingScheme.MessageClass>
Enumeration of Message Class constants.The API offered by this class is as if the type were specified in ASN.1 as follows.
MessageClass ::= ENUMERATED { SPARE_0 (0), ME_SPECIFIC (1), SIM_SPECIFIC (2), TE_SPECIFIC (3) }
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ME_SPECIFIC
Message Class value (1) corresponding to default meaning: ME-specific.SIM_SPECIFIC
Message Class value (2) corresponding to (U)SIM specific message.SPARE_0
Message Class value (0) corresponding to spare.TE_SPECIFIC
Message Class value (3) corresponding to Default meaning: TE specific (see 3GPP TS 27.005).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SMSDataCodingScheme.MessageClass
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 SMSDataCodingScheme.MessageClass
valueOf(String name)
Returns the enum constant of this type with the specified name.static SMSDataCodingScheme.MessageClass[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPARE_0
public static final SMSDataCodingScheme.MessageClass SPARE_0
Message Class value (0) corresponding to spare.
-
ME_SPECIFIC
public static final SMSDataCodingScheme.MessageClass ME_SPECIFIC
Message Class value (1) corresponding to default meaning: ME-specific.
-
SIM_SPECIFIC
public static final SMSDataCodingScheme.MessageClass SIM_SPECIFIC
Message Class value (2) corresponding to (U)SIM specific message.
-
TE_SPECIFIC
public static final SMSDataCodingScheme.MessageClass TE_SPECIFIC
Message Class value (3) corresponding to Default meaning: TE specific (see 3GPP TS 27.005).
-
-
Method Detail
-
values
public static SMSDataCodingScheme.MessageClass[] 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 (SMSDataCodingScheme.MessageClass c : SMSDataCodingScheme.MessageClass.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SMSDataCodingScheme.MessageClass 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 SMSDataCodingScheme.MessageClass 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
-
-