|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
ObjectEnum<ResultMajor>
ResultMajor
public enum ResultMajor
ResultMajor codes.
| Enum Constant Summary | |
|---|---|
PENDING
The request has been accepted for processing and the service will return the result asynchronously (code is not final). |
|
RECEIVER
An error occurred at the receiver (code is final). |
|
REPRESENT
The service has not acted on the request (code is not final). |
|
SENDER
An error occurred that was due to the message sent by the sender (code is final). |
|
SUCCESS
The operation succeeded (code is final). |
|
VERSION_MISMATCH
The service does not support the protocol version specified in the request (code is final). |
|
| Method Summary | |
|---|---|
String |
toString()
Returns the String representation of this enum constant, including the namespace. |
static ResultMajor |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ResultMajor[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ResultMajor SUCCESS
public static final ResultMajor VERSION_MISMATCH
public static final ResultMajor SENDER
public static final ResultMajor RECEIVER
public static final ResultMajor REPRESENT
public static final ResultMajor PENDING
| Method Detail |
|---|
public static ResultMajor[] values()
for (ResultMajor c : ResultMajor.values()) System.out.println(c);
public static ResultMajor valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<ResultMajor>String representation including the namespace.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||