public enum Accumulator extends Enum<Accumulator> implements org.eclipse.emf.common.util.Enumerator
SmmPackage.getAccumulator()| Enum Constant and Description |
|---|
AVERAGE
The 'Average' literal object.
|
CUSTOM
The 'Custom' literal object.
|
MAXIMUM
The 'Maximum' literal object.
|
MINIMUM
The 'Minimum' literal object.
|
PRODUCT
The 'Product' literal object.
|
STANDARD_DEVIATION
The 'Standard Deviation' literal object.
|
SUM
The 'Sum' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
AVERAGE_VALUE
The 'Average' literal value.
|
static int |
CUSTOM_VALUE
The 'Custom' literal value.
|
static int |
MAXIMUM_VALUE
The 'Maximum' literal value.
|
static int |
MINIMUM_VALUE
The 'Minimum' literal value.
|
static int |
PRODUCT_VALUE
The 'Product' literal value.
|
static int |
STANDARD_DEVIATION_VALUE
The 'Standard Deviation' literal value.
|
static int |
SUM_VALUE
The 'Sum' literal value.
|
static List<Accumulator> |
VALUES
A public read-only list of all the 'Accumulator' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static Accumulator |
get(int value)
Returns the 'Accumulator' literal with the specified integer value.
|
static Accumulator |
get(String literal)
Returns the 'Accumulator' literal with the specified literal value.
|
static Accumulator |
getByName(String name)
Returns the 'Accumulator' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static Accumulator |
valueOf(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 are declared.
|
public static final Accumulator SUM
SUM_VALUEpublic static final Accumulator MAXIMUM
MAXIMUM_VALUEpublic static final Accumulator MINIMUM
MINIMUM_VALUEpublic static final Accumulator AVERAGE
AVERAGE_VALUEpublic static final Accumulator STANDARD_DEVIATION
STANDARD_DEVIATION_VALUEpublic static final Accumulator PRODUCT
PRODUCT_VALUEpublic static final Accumulator CUSTOM
CUSTOM_VALUEpublic static final int SUM_VALUE
SUM,
Constant Field Valuespublic static final int MAXIMUM_VALUE
MAXIMUM,
Constant Field Valuespublic static final int MINIMUM_VALUE
MINIMUM,
Constant Field Valuespublic static final int AVERAGE_VALUE
AVERAGE,
Constant Field Valuespublic static final int STANDARD_DEVIATION_VALUE
STANDARD_DEVIATION,
Constant Field Valuespublic static final int PRODUCT_VALUE
PRODUCT,
Constant Field Valuespublic static final int CUSTOM_VALUE
CUSTOM,
Constant Field Valuespublic static final List<Accumulator> VALUES
public static Accumulator[] values()
for (Accumulator c : Accumulator.values()) System.out.println(c);
public static Accumulator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Accumulator get(String literal)
literal - the literal.null.public static Accumulator getByName(String name)
name - the name.null.public static Accumulator get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic String toString()
toString in class Enum<Accumulator>Copyright © 2018–2020 Atlanmod. All rights reserved.