| Constructor and Description |
|---|
InMemoryRelatedFieldOrder(FieldMetaData rel,
boolean asc,
OpenJPAConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2) |
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.
|
public InMemoryRelatedFieldOrder(FieldMetaData rel, boolean asc, OpenJPAConfiguration conf)
public java.lang.String getName()
Orderpublic boolean isAscending()
OrderisAscending in interface Orderpublic java.util.Comparator getComparator()
OrdergetComparator in interface Orderpublic int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.ComparatorCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.