public static enum SortExpression.SortDirection extends java.lang.Enum<SortExpression.SortDirection>
| Enum Constant and Description |
|---|
ASCENDING
The search results are sorted in ascending order,
e.g.
|
DESCENDING
The search results are sorted in descending order,
e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static SortExpression.SortDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SortExpression.SortDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortExpression.SortDirection ASCENDING
public static final SortExpression.SortDirection DESCENDING
public static SortExpression.SortDirection[] values()
for (SortExpression.SortDirection c : SortExpression.SortDirection.values()) System.out.println(c);
public static SortExpression.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 null