public enum DataType extends Enum<DataType> implements org.eclipse.emf.common.util.Enumerator
RfcPackage.getDataType()
Enum Constant and Description |
---|
BCD
The 'BCD' literal object.
|
BYTE
The 'BYTE' literal object.
|
CHAR
The 'CHAR' literal object.
|
DATE
The 'DATE' literal object.
|
DECF16
The 'DECF16' literal object.
|
DECF34
The 'DECF34' literal object.
|
FLOAT
The 'FLOAT' literal object.
|
INT
The 'INT' literal object.
|
INT1
The 'INT1' literal object.
|
INT2
The 'INT2' literal object.
|
NUM
The 'NUM' literal object.
|
STRING
The 'STRING' literal object.
|
STRUCTURE
The 'STRUCTURE' literal object.
|
TABLE
The 'TABLE' literal object.
|
TIME
The 'TIME' literal object.
|
XSTRING
The 'XSTRING' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
BCD_VALUE
The 'BCD' literal value.
|
static int |
BYTE_VALUE
The 'BYTE' literal value.
|
static int |
CHAR_VALUE
The 'CHAR' literal value.
|
static int |
DATE_VALUE
The 'DATE' literal value.
|
static int |
DECF16_VALUE
The 'DECF16' literal value.
|
static int |
DECF34_VALUE
The 'DECF34' literal value.
|
static int |
FLOAT_VALUE
The 'FLOAT' literal value.
|
static int |
INT_VALUE
The 'INT' literal value.
|
static int |
INT1_VALUE
The 'INT1' literal value.
|
static int |
INT2_VALUE
The 'INT2' literal value.
|
static int |
NUM_VALUE
The 'NUM' literal value.
|
static int |
STRING_VALUE
The 'STRING' literal value.
|
static int |
STRUCTURE_VALUE
The 'STRUCTURE' literal value.
|
static int |
TABLE_VALUE
The 'TABLE' literal value.
|
static int |
TIME_VALUE
The 'TIME' literal value.
|
static List<DataType> |
VALUES
A public read-only list of all the 'Data Type' enumerators.
|
static int |
XSTRING_VALUE
The 'XSTRING' 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 CHAR
CHAR_VALUE
public static final DataType DATE
DATE_VALUE
public static final DataType TIME
TIME_VALUE
public static final DataType BYTE
BYTE_VALUE
public static final DataType FLOAT
FLOAT_VALUE
public static final DataType INT2
INT2_VALUE
public static final DataType INT1
INT1_VALUE
public static final DataType STRUCTURE
STRUCTURE_VALUE
public static final DataType DECF16
DECF16_VALUE
public static final DataType DECF34
DECF34_VALUE
public static final DataType STRING
STRING_VALUE
public static final DataType XSTRING
XSTRING_VALUE
public static final DataType TABLE
TABLE_VALUE
public static final int CHAR_VALUE
If the meaning of 'CHAR' literal object isn't clear, there really should be more of a description here...
CHAR
,
Constant Field Valuespublic static final int DATE_VALUE
If the meaning of 'DATE' literal object isn't clear, there really should be more of a description here...
DATE
,
Constant Field Valuespublic static final int BCD_VALUE
If the meaning of 'BCD' literal object isn't clear, there really should be more of a description here...
BCD
,
Constant Field Valuespublic static final int TIME_VALUE
If the meaning of 'TIME' literal object isn't clear, there really should be more of a description here...
TIME
,
Constant Field Valuespublic static final int BYTE_VALUE
If the meaning of 'BYTE' literal object isn't clear, there really should be more of a description here...
BYTE
,
Constant Field Valuespublic static final int NUM_VALUE
If the meaning of 'NUM' literal object isn't clear, there really should be more of a description here...
NUM
,
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 INT_VALUE
If the meaning of 'INT' literal object isn't clear, there really should be more of a description here...
INT
,
Constant Field Valuespublic static final int INT2_VALUE
If the meaning of 'INT2' literal object isn't clear, there really should be more of a description here...
INT2
,
Constant Field Valuespublic static final int INT1_VALUE
If the meaning of 'INT1' literal object isn't clear, there really should be more of a description here...
INT1
,
Constant Field Valuespublic static final int STRUCTURE_VALUE
If the meaning of 'STRUCTURE' literal object isn't clear, there really should be more of a description here...
STRUCTURE
,
Constant Field Valuespublic static final int DECF16_VALUE
If the meaning of 'DECF16' literal object isn't clear, there really should be more of a description here...
DECF16
,
Constant Field Valuespublic static final int DECF34_VALUE
If the meaning of 'DECF34' literal object isn't clear, there really should be more of a description here...
DECF34
,
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 XSTRING_VALUE
If the meaning of 'XSTRING' literal object isn't clear, there really should be more of a description here...
XSTRING
,
Constant Field Valuespublic static final int TABLE_VALUE
If the meaning of 'TABLE' literal object isn't clear, there really should be more of a description here...
TABLE
,
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
Apache Camel