public enum SortOption extends java.lang.Enum<SortOption> implements org.eclipse.emf.common.util.Enumerator
AttributePackage.getSortOption()
Enum Constant and Description |
---|
ASCENDING_LITERAL
The 'Ascending' literal object.
|
DESCENDING_LITERAL
The 'Descending' literal object.
|
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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)
Returns the enum constant of this type with the specified name.
|
static SortOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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...
ASCENDING
public static final SortOption DESCENDING_LITERAL
If the meaning of 'Descending' literal object isn't clear, there really should be more of a description here...
DESCENDING
public static final int ASCENDING
ASCENDING_LITERAL
,
Constant Field Valuespublic static final int DESCENDING
DESCENDING_LITERAL
,
Constant Field Valuespublic 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
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic 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
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<SortOption>
Copyright © 2005-2008 Actuate Corp. All rights reserved.