public enum DataType extends java.lang.Enum<DataType> implements org.eclipse.emf.common.util.Enumerator
| 枚举常量和说明 |
|---|
DATE_TIME_LITERAL
The 'Date Time' literal object
|
NUMERIC_LITERAL
The 'Numeric' literal object
|
TEXT_LITERAL
The 'Text' literal object
|
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DATE_TIME
The 'Date Time' literal value
|
static int |
NUMERIC
The 'Numeric' literal value
|
static int |
TEXT
The 'Text' literal value
|
static java.util.List<DataType> |
VALUES
A public read-only list of all the 'Data Type' enumerators
|
| 限定符和类型 | 方法和说明 |
|---|---|
static DataType |
get(int value)
Returns the 'Data Type' literal with the specified integer value
|
static DataType |
get(java.lang.String literal)
Returns the 'Data Type' literal with the specified literal value
|
static DataType |
getByName(java.lang.String name)
Returns the 'Data Type' 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 DataType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static DataType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final DataType NUMERIC_LITERAL
If the meaning of 'Numeric' literal object isn't clear, there really should be more of a description here...
NUMERICpublic static final DataType DATE_TIME_LITERAL
If the meaning of 'Date Time' literal object isn't clear, there really should be more of a description here...
DATE_TIMEpublic static final int NUMERIC
NUMERIC_LITERAL,
常量字段值public static final int DATE_TIME
DATE_TIME_LITERAL,
常量字段值public static final int TEXT
TEXT_LITERAL,
常量字段值public static final java.util.List<DataType> VALUES
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public static DataType get(java.lang.String literal)
public static DataType getByName(java.lang.String name)
public static DataType get(int value)
public int getValue()
getValue 在接口中 org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName 在接口中 org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral 在接口中 org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString 在类中 java.lang.Enum<DataType>Copyright © 2005-2008 Actuate Corp. All rights reserved.