org.eclipse.modisco.omg.smm
Enum Accumulator

java.lang.Object
  extended by java.lang.Enum<Accumulator>
      extended by org.eclipse.modisco.omg.smm.Accumulator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Accumulator>

public enum Accumulator
extends java.lang.Enum<Accumulator>

A representation of the literals of the enumeration 'Accumulator', and utility methods for working with them.

See Also:
SmmPackage.getAccumulator()
Generated:
Model:

Enum Constant Summary
AVERAGE
          The 'Average' literal object.
MAXIMUM
          The 'Maximum' literal object.
MINIMUM
          The 'Minimum' literal object.
STANDARD_DEVIATION
          The 'Standard Deviation' 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 STANDARD_DEVIATION_VALUE
          The 'Standard Deviation' 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

SUM

public static final Accumulator SUM
The 'Sum' literal object.

See Also:
SUM_VALUE
Generated:
Ordered:

MAXIMUM

public static final Accumulator MAXIMUM
The 'Maximum' literal object.

See Also:
MAXIMUM_VALUE
Generated:
Ordered:

MINIMUM

public static final Accumulator MINIMUM
The 'Minimum' literal object.

See Also:
MINIMUM_VALUE
Generated:
Ordered:

AVERAGE

public static final Accumulator AVERAGE
The 'Average' literal object.

See Also:
AVERAGE_VALUE
Generated:
Ordered:

STANDARD_DEVIATION

public static final Accumulator STANDARD_DEVIATION
The 'Standard Deviation' literal object.

See Also:
STANDARD_DEVIATION_VALUE
Generated:
Ordered:
Field Detail

SUM_VALUE

public static final int SUM_VALUE
The 'Sum' literal value.

If the meaning of 'Sum' literal object isn't clear, there really should be more of a description here...

See Also:
SUM, Constant Field Values
Generated:
Model:
name="sum"
Ordered:

MAXIMUM_VALUE

public static final int MAXIMUM_VALUE
The 'Maximum' literal value.

If the meaning of 'Maximum' literal object isn't clear, there really should be more of a description here...

See Also:
MAXIMUM, Constant Field Values
Generated:
Model:
name="maximum"
Ordered:

MINIMUM_VALUE

public static final int MINIMUM_VALUE
The 'Minimum' literal value.

If the meaning of 'Minimum' literal object isn't clear, there really should be more of a description here...

See Also:
MINIMUM, Constant Field Values
Generated:
Model:
name="minimum"
Ordered:

AVERAGE_VALUE

public static final int AVERAGE_VALUE
The 'Average' literal value.

If the meaning of 'Average' literal object isn't clear, there really should be more of a description here...

See Also:
AVERAGE, Constant Field Values
Generated:
Model:
name="average"
Ordered:

STANDARD_DEVIATION_VALUE

public static final int STANDARD_DEVIATION_VALUE
The 'Standard Deviation' literal value.

If the meaning of 'Standard Deviation' literal object isn't clear, there really should be more of a description here...

See Also:
STANDARD_DEVIATION, Constant Field Values
Generated:
Model:
name="standardDeviation"
Ordered:

VALUES

public static final java.util.List<Accumulator> VALUES
A public read-only list of all the 'Accumulator' enumerators.

Generated:
Method Detail

values

public static final Accumulator[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Accumulator c : Accumulator.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Accumulator valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

get

public static Accumulator get(java.lang.String literal)
Returns the 'Accumulator' literal with the specified literal value.

Generated:

getByName

public static Accumulator getByName(java.lang.String name)
Returns the 'Accumulator' literal with the specified name.

Generated:

get

public static Accumulator get(int value)
Returns the 'Accumulator' literal with the specified integer value.

Generated:

getValue

public int getValue()

Generated:

getName

public java.lang.String getName()

Generated:

getLiteral

public java.lang.String getLiteral()

Generated:

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<Accumulator>
Generated: