public enum ScaleOfMeasurement extends Enum<ScaleOfMeasurement> implements org.eclipse.emf.common.util.Enumerator
SmmPackage.getScaleOfMeasurement()| Enum Constant and Description |
|---|
CUSTOM
The 'Custom' literal object.
|
INTERVAL
The 'Interval' literal object.
|
NOMINAL
The 'Nominal' literal object.
|
ORDINAL
The 'Ordinal' literal object.
|
RATIO
The 'Ratio' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOM_VALUE
The 'Custom' literal value.
|
static int |
INTERVAL_VALUE
The 'Interval' literal value.
|
static int |
NOMINAL_VALUE
The 'Nominal' literal value.
|
static int |
ORDINAL_VALUE
The 'Ordinal' literal value.
|
static int |
RATIO_VALUE
The 'Ratio' literal value.
|
static List<ScaleOfMeasurement> |
VALUES
A public read-only list of all the 'Scale Of Measurement' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static ScaleOfMeasurement |
get(int value)
Returns the 'Scale Of Measurement' literal with the specified integer value.
|
static ScaleOfMeasurement |
get(String literal)
Returns the 'Scale Of Measurement' literal with the specified literal value.
|
static ScaleOfMeasurement |
getByName(String name)
Returns the 'Scale Of Measurement' 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 ScaleOfMeasurement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScaleOfMeasurement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScaleOfMeasurement NOMINAL
NOMINAL_VALUEpublic static final ScaleOfMeasurement ORDINAL
ORDINAL_VALUEpublic static final ScaleOfMeasurement INTERVAL
INTERVAL_VALUEpublic static final ScaleOfMeasurement RATIO
RATIO_VALUEpublic static final ScaleOfMeasurement CUSTOM
CUSTOM_VALUEpublic static final int NOMINAL_VALUE
NOMINAL,
Constant Field Valuespublic static final int ORDINAL_VALUE
ORDINAL,
Constant Field Valuespublic static final int INTERVAL_VALUE
INTERVAL,
Constant Field Valuespublic static final int RATIO_VALUE
RATIO,
Constant Field Valuespublic static final int CUSTOM_VALUE
CUSTOM,
Constant Field Valuespublic static final List<ScaleOfMeasurement> VALUES
public static ScaleOfMeasurement[] values()
for (ScaleOfMeasurement c : ScaleOfMeasurement.values()) System.out.println(c);
public static ScaleOfMeasurement 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 ScaleOfMeasurement get(String literal)
literal - the literal.null.public static ScaleOfMeasurement getByName(String name)
name - the name.null.public static ScaleOfMeasurement 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<ScaleOfMeasurement>Copyright © 2018–2020 Atlanmod. All rights reserved.