public static enum SMSDeliver.ReplyPath extends Enum<SMSDeliver.ReplyPath>
The API offered by this class is as if the type were specified in ASN.1 as follows.
ReplyPath ::= ENUMERATED { NOT_EXISTS (0), EXISTS (1) }
Enum Constant and Description |
---|
EXISTS
Reply Path indicator value (1) corresponding to exists.
|
NOT_EXISTS
Reply Path indicator value (0) corresponding to not exists.
|
Modifier and Type | Method and Description |
---|---|
static SMSDeliver.ReplyPath |
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 SMSDeliver.ReplyPath |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SMSDeliver.ReplyPath[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMSDeliver.ReplyPath NOT_EXISTS
public static final SMSDeliver.ReplyPath EXISTS
public static SMSDeliver.ReplyPath[] values()
for (SMSDeliver.ReplyPath c : SMSDeliver.ReplyPath.values()) System.out.println(c);
public static SMSDeliver.ReplyPath 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 SMSDeliver.ReplyPath fromValue(int value)
value
- encoded valueIllegalArgumentException
- if there is no enumeration constant with the given encoded value