| 
 | EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<OrderByItem.Ordering>
org.eclipse.persistence.jpa.jpql.parser.OrderByItem.Ordering
public static enum OrderByItem.Ordering
This enumeration lists all the possible choices for ordering an item.
| Enum Constant Summary | |
|---|---|
| ASCThe constant for 'ASC', which tells to order the items in ascending ordering. | |
| DEFAULTThe constant used when the ordering is not specify, the default is ascending ordering. | |
| DESCThe constant for 'DESC', which tells to order the items in descending ordering. | |
| Method Summary | |
|---|---|
| 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. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final OrderByItem.Ordering ASC
public static final OrderByItem.Ordering DEFAULT
public static final OrderByItem.Ordering DESC
| Method Detail | 
|---|
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 name
java.lang.NullPointerException - if the argument is null| 
 | EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||