public enum NumericTypeKind extends java.lang.Enum<NumericTypeKind> implements org.eclipse.emf.common.util.Enumerator
DatatypePackage.getNumericTypeKind()| Enum Constant and Description |
|---|
FLOAT
The 'FLOAT' literal object.
|
INTEGER
The 'INTEGER' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
FLOAT_VALUE
The 'FLOAT' literal value.
|
static int |
INTEGER_VALUE
The 'INTEGER' literal value.
|
static java.util.List<NumericTypeKind> |
VALUES
A public read-only list of all the 'Numeric Type Kind' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static NumericTypeKind |
get(int value)
Returns the 'Numeric Type Kind' literal with the specified integer value.
|
static NumericTypeKind |
get(java.lang.String literal)
Returns the 'Numeric Type Kind' literal with the specified literal value.
|
static NumericTypeKind |
getByName(java.lang.String name)
Returns the 'Numeric Type Kind' 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 NumericTypeKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NumericTypeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumericTypeKind INTEGER
INTEGER_VALUEpublic static final NumericTypeKind FLOAT
FLOAT_VALUEpublic static final int INTEGER_VALUE
If the meaning of 'INTEGER' literal object isn't clear, there really should be more of a description here...
INTEGER,
Constant Field Valuespublic static final int FLOAT_VALUE
If the meaning of 'FLOAT' literal object isn't clear, there really should be more of a description here...
FLOAT,
Constant Field Valuespublic static final java.util.List<NumericTypeKind> VALUES
public static NumericTypeKind[] values()
for (NumericTypeKind c : NumericTypeKind.values()) System.out.println(c);
public static NumericTypeKind valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static NumericTypeKind get(java.lang.String literal)
literal - the literal.null.public static NumericTypeKind getByName(java.lang.String name)
name - the name.null.public static NumericTypeKind get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<NumericTypeKind>