public enum OrderBy extends Enum<OrderBy>
| Enum Constant and Description |
|---|
DATE_CREATED_ASC |
DATE_CREATED_DESC |
DATE_MODIFIED_ASC |
DATE_MODIFIED_DESC |
NAME_ASC |
NAME_DESC |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static OrderBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrderBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderBy DATE_CREATED_ASC
public static final OrderBy DATE_CREATED_DESC
public static final OrderBy DATE_MODIFIED_ASC
public static final OrderBy DATE_MODIFIED_DESC
public static final OrderBy NAME_ASC
public static final OrderBy NAME_DESC
public static OrderBy[] values()
for (OrderBy c : OrderBy.values()) System.out.println(c);
public static OrderBy 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 nullCopyright © 2018. All rights reserved.