org.apache.openjpa.meta
public interface Order extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT
Token denoting to order by the element value.
|
Modifier and Type | Method and Description |
---|---|
java.util.Comparator |
getComparator()
Return a comparator for ordering by this element, or null if
the ordering is done in the datastore.
|
java.lang.String |
getName()
Return the name of the orderable.
|
boolean |
isAscending()
Order direction.
|
static final java.lang.String ELEMENT