public static enum OrderByItem.Ordering extends java.lang.Enum<OrderByItem.Ordering>
Enum Constant and Description |
---|
ASC
The constant for 'ASC', which tells to order the items in ascending ordering.
|
DEFAULT
The constant used when the ordering is not specify, the default is ascending ordering.
|
DESC
The constant for 'DESC', which tells to order the items in descending ordering.
|
Modifier and Type | Method and Description |
---|---|
static OrderByItem.Ordering |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrderByItem.Ordering[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderByItem.Ordering ASC
public static final OrderByItem.Ordering DEFAULT
public static final OrderByItem.Ordering DESC
public static OrderByItem.Ordering[] values()
for (OrderByItem.Ordering c : OrderByItem.Ordering.values()) System.out.println(c);
public static OrderByItem.Ordering 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