|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MessageState>
org.jsmpp.bean.MessageState
public enum MessageState
The enumerated state for short message.
Enum Constant Summary | |
---|---|
ACCEPTED
Message is in accepted state. |
|
DELETED
Message has been deleted. |
|
DELIVERED
Message is delivered to destination. |
|
ENROUTE
The message is in enroute state. |
|
EXPIRED
Message validity period has expired. |
|
REJECTED
Message is in rejected state. |
|
UNDELIVERABLE
Message is undeliverable. |
|
UNKNOWN
Message is in invalid state. |
Method Summary | |
---|---|
byte |
value()
|
static MessageState |
valueOf(byte value)
|
static MessageState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MessageState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MessageState ENROUTE
public static final MessageState DELIVERED
public static final MessageState EXPIRED
public static final MessageState DELETED
public static final MessageState UNDELIVERABLE
public static final MessageState ACCEPTED
public static final MessageState UNKNOWN
public static final MessageState REJECTED
Method Detail |
---|
public static MessageState[] values()
for (MessageState c : MessageState.values()) System.out.println(c);
public static MessageState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic byte value()
public static MessageState valueOf(byte value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |