public static enum OrderByItem.NullOrdering extends java.lang.Enum<OrderByItem.NullOrdering>
| Enum Constant and Description |
|---|
DEFAULT
The constant used when the ordering is not specify.
|
NULLS_FIRST
The constant for 'NULLS FIRST', which tells to order nulls first.
|
NULLS_LAST
The constant for 'NULLS LAST', which tells to order nulls last.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIdentifier()
Returns the actual JPQL composite identifiers identified by this enum constant.
|
java.lang.String |
toString() |
static OrderByItem.NullOrdering |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrderByItem.NullOrdering[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderByItem.NullOrdering DEFAULT
public static final OrderByItem.NullOrdering NULLS_FIRST
public static final OrderByItem.NullOrdering NULLS_LAST
public static OrderByItem.NullOrdering[] values()
for (OrderByItem.NullOrdering c : OrderByItem.NullOrdering.values()) System.out.println(c);
public static OrderByItem.NullOrdering 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 java.lang.String getIdentifier()
public java.lang.String toString()
toString in class java.lang.Enum<OrderByItem.NullOrdering>