public enum DataType extends Enum<DataType> implements org.eclipse.emf.common.util.Enumerator
OsgiPackage.getDataType()
Enum Constant and Description |
---|
BOOLEAN
The 'BOOLEAN' literal object.
|
FLOAT
The 'FLOAT' literal object.
|
INT32
The 'INT32' literal object.
|
INT64
The 'INT64' literal object.
|
NULL
The 'NULL' literal object.
|
STRING
The 'STRING' literal object.
|
VARIANT
The 'VARIANT' 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 int |
INT32_VALUE
The 'INT32' literal value.
|
static int |
INT64_VALUE
The 'INT64' literal value.
|
static int |
NULL_VALUE
The 'NULL' literal value.
|
static int |
STRING_VALUE
The 'STRING' literal value.
|
static List<DataType> |
VALUES
A public read-only list of all the 'Data Type' enumerators.
|
static int |
VARIANT_VALUE
The 'VARIANT' literal value.
|
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 VARIANT
VARIANT_VALUE
public static final DataType NULL
NULL_VALUE
public static final DataType INT32
INT32_VALUE
public static final DataType INT64
INT64_VALUE
public static final DataType FLOAT
FLOAT_VALUE
public static final DataType STRING
STRING_VALUE
public static final DataType BOOLEAN
BOOLEAN_VALUE
public static final int VARIANT_VALUE
If the meaning of 'VARIANT' literal object isn't clear, there really should be more of a description here...
VARIANT
,
Constant Field Valuespublic static final int NULL_VALUE
If the meaning of 'NULL' literal object isn't clear, there really should be more of a description here...
NULL
,
Constant Field Valuespublic static final int INT32_VALUE
If the meaning of 'INT32' literal object isn't clear, there really should be more of a description here...
INT32
,
Constant Field Valuespublic static final int INT64_VALUE
If the meaning of 'INT64' literal object isn't clear, there really should be more of a description here...
INT64
,
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 int STRING_VALUE
If the meaning of 'STRING' literal object isn't clear, there really should be more of a description here...
STRING
,
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)
literal
- the literal.null
.public static DataType getByName(String name)
name
- the name.null
.public static DataType get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator