Package org.apache.openjpa.meta
Interface Order
-
- All Superinterfaces:
Serializable
public interface Order extends Serializable
Order a field.- Author:
- Abe White
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Comparator
getComparator()
Return a comparator for ordering by this element, or null if the ordering is done in the datastore.String
getName()
Return the name of the orderable.boolean
isAscending()
Order direction.
-
-
-
Field Detail
-
ELEMENT
static final String ELEMENT
Token denoting to order by the element value.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
String getName()
Return the name of the orderable.
-
isAscending
boolean isAscending()
Order direction.
-
getComparator
Comparator getComparator()
Return a comparator for ordering by this element, or null if the ordering is done in the datastore.
-
-