public enum SearchSortDirection extends Enum<SearchSortDirection>
Enum Constant and Description |
---|
ASC
On multi-valued attributes, when the sort direction is ascending, the minimum value is used.
|
ASC_MAX
Changes the default behaviour of the ascending sort by using the maximum value instead.
|
DESC
On multi-valued attributes, when the direction is descending, the maximum value is used.
|
DESC_MIN
Changes the default behaviour of the descending sort by using the minimum value instead.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static SearchSortDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchSortDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchSortDirection ASC
public static final SearchSortDirection DESC
public static final SearchSortDirection ASC_MAX
public static final SearchSortDirection DESC_MIN
public static SearchSortDirection[] values()
for (SearchSortDirection c : SearchSortDirection.values()) System.out.println(c);
public static SearchSortDirection valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<SearchSortDirection>