public enum DataType extends Enum<DataType> implements Enumerator
MetricSpecPackage.getDataType()| Enum Constant and Description |
|---|
QUALITATIVE
The 'Qualitative' literal object.
|
QUANTITATIVE
The 'Quantitative' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
QUALITATIVE_VALUE
The 'Qualitative' literal value.
|
static int |
QUANTITATIVE_VALUE
The 'Quantitative' literal value.
|
static List<DataType> |
VALUES
A public read-only list of all the 'Data Type' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static DataType |
get(int value)
Returns the 'Data Type' literal with the specified integer value.
|
static DataType |
get(String literal)
Returns the 'Data Type' literal with the specified literal value.
|
static DataType |
getByName(String name)
Returns the 'Data Type' 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 DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType QUANTITATIVE
QUANTITATIVE_VALUEpublic static final DataType QUALITATIVE
QUALITATIVE_VALUEpublic static final int QUANTITATIVE_VALUE
If the meaning of 'Quantitative' literal object isn't clear, there really should be more of a description here...
QUANTITATIVE,
Constant Field Valuespublic static final int QUALITATIVE_VALUE
If the meaning of 'Qualitative' literal object isn't clear, there really should be more of a description here...
QUALITATIVE,
Constant Field Valuespublic static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType 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 DataType get(String literal)
public static DataType getByName(String name)
public static DataType get(int value)
public int getValue()
getValue in interface Enumeratorpublic String getName()
getName in interface Enumeratorpublic String getLiteral()
getLiteral in interface Enumerator