public enum MessageSort extends java.lang.Enum<MessageSort>
Enum Constant and Description |
---|
ASYNCCALL |
ASYNCSIGNAL |
CREATEMESSAGE |
DESTROYMESSAGE |
RETURNMESSAGE |
SYNCCALL |
Modifier and Type | Field and Description |
---|---|
static int |
ASYNCCALL_VALUE |
static int |
ASYNCSIGNAL_VALUE |
static int |
CREATEMESSAGE_VALUE |
static int |
DESTROYMESSAGE_VALUE |
static int |
RETURNMESSAGE_VALUE |
static int |
SYNCCALL_VALUE |
static java.util.List<MessageSort> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static MessageSort |
get(int value) |
static MessageSort |
get(java.lang.String literal) |
static MessageSort |
getByName(java.lang.String name) |
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString() |
static MessageSort |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageSort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageSort SYNCCALL
public static final MessageSort ASYNCCALL
public static final MessageSort ASYNCSIGNAL
public static final MessageSort DESTROYMESSAGE
public static final MessageSort CREATEMESSAGE
public static final MessageSort RETURNMESSAGE
public static final int SYNCCALL_VALUE
public static final int ASYNCCALL_VALUE
public static final int ASYNCSIGNAL_VALUE
public static final int DESTROYMESSAGE_VALUE
public static final int CREATEMESSAGE_VALUE
public static final int RETURNMESSAGE_VALUE
public static final java.util.List<MessageSort> VALUES
public static MessageSort[] values()
for (MessageSort c : MessageSort.values()) System.out.println(c);
public static MessageSort 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 namejava.lang.NullPointerException
- if the argument is nullpublic static MessageSort get(java.lang.String literal)
public static MessageSort getByName(java.lang.String name)
public static MessageSort get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<MessageSort>