public static enum CSOSortSpecifier.Direction extends java.lang.Enum<CSOSortSpecifier.Direction>
Enum Constant and Description |
---|
SORT_ASCENDING |
SORT_DESCENDING |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDirection()
Gets the direction value.
|
static CSOSortSpecifier.Direction |
lookup(java.lang.String arg)
Looks up the enum for the given string value.
|
static CSOSortSpecifier.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CSOSortSpecifier.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CSOSortSpecifier.Direction SORT_ASCENDING
public static final CSOSortSpecifier.Direction SORT_DESCENDING
public static CSOSortSpecifier.Direction[] values()
for (CSOSortSpecifier.Direction c : CSOSortSpecifier.Direction.values()) System.out.println(c);
public static CSOSortSpecifier.Direction 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 java.lang.String getDirection()
public static CSOSortSpecifier.Direction lookup(java.lang.String arg)
arg
- The string valueCSOSortSpecifier.Direction
enum corresponding to arg