|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Measure>
org.eclipse.amp.amf.testing.aTest.Measure
public enum Measure
A representation of the literals of the enumeration 'Measure', and utility methods for working with them.
ATestPackage.getMeasure()| Enum Constant Summary | |
|---|---|
AVERAGE
The 'AVERAGE' literal object. |
|
COUNT
The 'COUNT' literal object. |
|
MAXIMUM
The 'MAXIMUM' literal object. |
|
MINIMUM
The 'MINIMUM' literal object. |
|
SUM
The 'SUM' literal object. |
|
| Field Summary | |
|---|---|
static int |
AVERAGE_VALUE
The 'AVERAGE' literal value. |
static int |
COUNT_VALUE
The 'COUNT' literal value. |
static int |
MAXIMUM_VALUE
The 'MAXIMUM' literal value. |
static int |
MINIMUM_VALUE
The 'MINIMUM' literal value. |
static int |
SUM_VALUE
The 'SUM' literal value. |
static java.util.List<Measure> |
VALUES
A public read-only list of all the 'Measure' enumerators. |
| Method Summary | |
|---|---|
static Measure |
get(int value)
Returns the 'Measure' literal with the specified integer value. |
static Measure |
get(java.lang.String literal)
Returns the 'Measure' literal with the specified literal value. |
static Measure |
getByName(java.lang.String name)
Returns the 'Measure' 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 Measure |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Measure[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Measure COUNT
COUNT_VALUEpublic static final Measure AVERAGE
AVERAGE_VALUEpublic static final Measure SUM
SUM_VALUEpublic static final Measure MINIMUM
MINIMUM_VALUEpublic static final Measure MAXIMUM
MAXIMUM_VALUE| Field Detail |
|---|
public static final int COUNT_VALUE
If the meaning of 'COUNT' literal object isn't clear, there really should be more of a description here...
COUNT,
Constant Field Valuespublic static final int AVERAGE_VALUE
If the meaning of 'AVERAGE' literal object isn't clear, there really should be more of a description here...
AVERAGE,
Constant Field Valuespublic static final int SUM_VALUE
If the meaning of 'SUM' literal object isn't clear, there really should be more of a description here...
SUM,
Constant Field Valuespublic static final int MINIMUM_VALUE
If the meaning of 'MINIMUM' literal object isn't clear, there really should be more of a description here...
MINIMUM,
Constant Field Valuespublic static final int MAXIMUM_VALUE
If the meaning of 'MAXIMUM' literal object isn't clear, there really should be more of a description here...
MAXIMUM,
Constant Field Valuespublic static final java.util.List<Measure> VALUES
| Method Detail |
|---|
public static Measure[] values()
for (Measure c : Measure.values()) System.out.println(c);
public static Measure 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 Measure get(java.lang.String literal)
public static Measure getByName(java.lang.String name)
public static Measure get(int value)
public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<Measure>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||