public enum DataType extends Enum<DataType> implements org.eclipse.emf.common.util.Enumerator
IEC60870Package.getDataType()| Enum Constant and Description |
|---|
BOOLEAN
The 'BOOLEAN' literal object.
|
FLOAT
The 'FLOAT' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
BOOLEAN_VALUE
The 'BOOLEAN' literal value.
|
static int |
FLOAT_VALUE
The 'FLOAT' 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 FLOAT
FLOAT_VALUEpublic static final DataType BOOLEAN
BOOLEAN_VALUEpublic 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 int BOOLEAN_VALUE
If the meaning of 'BOOLEAN' literal object isn't clear, there really should be more of a description here...
BOOLEAN,
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 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.Enumerator