|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Accumulator>
org.eclipse.gmt.modisco.omg.smm.Accumulator
public enum Accumulator
A representation of the literals of the enumeration 'Accumulator', and utility methods for working with them.
SmmPackage.getAccumulator()
Enum Constant Summary | |
---|---|
AVERAGE
The 'Average' 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 |
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<Accumulator> |
VALUES
A public read-only list of all the 'Accumulator' enumerators. |
Method Summary | |
---|---|
static Accumulator |
get(int value)
Returns the 'Accumulator' literal with the specified integer value. |
static Accumulator |
get(java.lang.String literal)
Returns the 'Accumulator' literal with the specified literal value. |
static Accumulator |
getByName(java.lang.String name)
Returns the 'Accumulator' 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 Accumulator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Accumulator[] |
values()
Returns an array containing the constants of this enum type, in the order they're 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 Accumulator SUM
SUM_VALUE
public static final Accumulator MAXIMUM
MAXIMUM_VALUE
public static final Accumulator MINIMUM
MINIMUM_VALUE
public static final Accumulator AVERAGE
AVERAGE_VALUE
Field Detail |
---|
public 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 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 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 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 java.util.List<Accumulator> VALUES
Method Detail |
---|
public static final Accumulator[] values()
for(Accumulator c : Accumulator.values()) System.out.println(c);
public static Accumulator 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 namepublic static Accumulator get(java.lang.String literal)
public static Accumulator getByName(java.lang.String name)
public static Accumulator 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<Accumulator>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |