public enum SortOption extends java.lang.Enum<SortOption> implements org.eclipse.emf.common.util.Enumerator
| 枚举常量和说明 |
|---|
ASCENDING_LITERAL
The 'Ascending' literal object
|
DESCENDING_LITERAL
The 'Descending' literal object
|
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ASCENDING
The 'Ascending' literal value
|
static int |
DESCENDING
The 'Descending' literal value
|
static java.util.List<SortOption> |
VALUES
A public read-only list of all the 'Sort Option' enumerators
|
| 限定符和类型 | 方法和说明 |
|---|---|
static SortOption |
get(int value)
Returns the 'Sort Option' literal with the specified integer value
|
static SortOption |
get(java.lang.String literal)
Returns the 'Sort Option' literal with the specified literal value
|
static SortOption |
getByName(java.lang.String name)
Returns the 'Sort Option' 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 SortOption |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static SortOption[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SortOption ASCENDING_LITERAL
If the meaning of 'Ascending' literal object isn't clear, there really should be more of a description here...
ASCENDINGpublic static final SortOption DESCENDING_LITERAL
If the meaning of 'Descending' literal object isn't clear, there really should be more of a description here...
DESCENDINGpublic static final int ASCENDING
ASCENDING_LITERAL,
常量字段值public static final int DESCENDING
DESCENDING_LITERAL,
常量字段值public static final java.util.List<SortOption> VALUES
public static SortOption[] values()
for (SortOption c : SortOption.values()) System.out.println(c);
public static SortOption valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public static SortOption get(java.lang.String literal)
public static SortOption getByName(java.lang.String name)
public static SortOption 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<SortOption>Copyright © 2005-2008 Actuate Corp. All rights reserved.