| Enum Constant and Description |
|---|
BY_DISPLAY_NAME_ASC |
BY_DISPLAY_NAME_DESC |
BY_ID_ASC |
BY_ID_DESC |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getSorting() |
static Sorting |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sorting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sorting BY_DISPLAY_NAME_ASC
public static final Sorting BY_DISPLAY_NAME_DESC
public static final Sorting BY_ID_ASC
public static final Sorting BY_ID_DESC
public static Sorting[] values()
for (Sorting c : Sorting.values()) System.out.println(c);
public static Sorting 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 abstract java.lang.String getSorting()