|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ResultType>
org.eclipse.amp.amf.testing.ares.ResultType
public enum ResultType
A representation of the literals of the enumeration 'Result Type', and utility methods for working with them.
AresPackage.getResultType()
Enum Constant Summary | |
---|---|
ERROR
The 'Error' literal object. |
|
FAILURE
The 'Failure' literal object. |
|
INCOMPLETE
The 'Incomplete' literal object. |
|
SUCCESS
The 'Success' literal object. |
Field Summary | |
---|---|
static int |
ERROR_VALUE
The 'Error' literal value. |
static int |
FAILURE_VALUE
The 'Failure' literal value. |
static int |
INCOMPLETE_VALUE
The 'Incomplete' literal value. |
static int |
SUCCESS_VALUE
The 'Success' literal value. |
static java.util.List<ResultType> |
VALUES
A public read-only list of all the 'Result Type' enumerators. |
Method Summary | |
---|---|
static ResultType |
get(int value)
Returns the 'Result Type' literal with the specified integer value. |
static ResultType |
get(java.lang.String literal)
Returns the 'Result Type' literal with the specified literal value. |
static ResultType |
getByName(java.lang.String name)
Returns the 'Result Type' literal with the specified name. |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static ResultType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ResultType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ResultType INCOMPLETE
INCOMPLETE_VALUE
public static final ResultType SUCCESS
SUCCESS_VALUE
public static final ResultType FAILURE
FAILURE_VALUE
public static final ResultType ERROR
ERROR_VALUE
Field Detail |
---|
public static final int INCOMPLETE_VALUE
If the meaning of 'Incomplete' literal object isn't clear, there really should be more of a description here...
INCOMPLETE
,
Constant Field Valuespublic static final int SUCCESS_VALUE
If the meaning of 'Success' literal object isn't clear, there really should be more of a description here...
SUCCESS
,
Constant Field Valuespublic static final int FAILURE_VALUE
If the meaning of 'Failure' literal object isn't clear, there really should be more of a description here...
FAILURE
,
Constant Field Valuespublic static final int ERROR_VALUE
If the meaning of 'Error' literal object isn't clear, there really should be more of a description here...
ERROR
,
Constant Field Valuespublic static final java.util.List<ResultType> VALUES
Method Detail |
---|
public static ResultType[] values()
for (ResultType c : ResultType.values()) System.out.println(c);
public static ResultType 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 static ResultType get(java.lang.String literal)
public static ResultType getByName(java.lang.String name)
public static ResultType get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<ResultType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |