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 ComparatorgetComparator()Return a comparator for ordering by this element, or null if the ordering is done in the datastore.StringgetName()Return the name of the orderable.booleanisAscending()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. 
 - 
 
 -