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