public static enum ISortExpression.SortDirection extends java.lang.Enum<ISortExpression.SortDirection>
| Enum Constant and Description |
|---|
ASC
Sorts ascending
|
DESC
Sorts descending
|
| Modifier and Type | Method and Description |
|---|---|
static ISortExpression.SortDirection |
parse(java.lang.String direction)
Parses a string to a SortDirection enumeration value.
|
static ISortExpression.SortDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ISortExpression.SortDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ISortExpression.SortDirection ASC
public static final ISortExpression.SortDirection DESC
public static ISortExpression.SortDirection[] values()
for (ISortExpression.SortDirection c : ISortExpression.SortDirection.values()) System.out.println(c);
public static ISortExpression.SortDirection 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 ISortExpression.SortDirection parse(java.lang.String direction)
direction - The string defining a sort order.