class JDBCRelatedFieldOrder extends Object implements JDBCOrder
| Constructor and Description |
|---|
JDBCRelatedFieldOrder(FieldMapping owner,
FieldMapping rel,
boolean asc) |
| Modifier and Type | Method and Description |
|---|---|
Comparator<?> |
getComparator()
Return a comparator for ordering by this element, or null if
the ordering is done in the datastore.
|
DBIdentifier |
getIdentifier() |
String |
getName()
Deprecated.
|
boolean |
isAscending()
Order direction.
|
boolean |
isInRelation()
Whether the value is a member of the field's related type, rather than
columns of the field itself.
|
void |
order(Select sel,
ClassMapping elem,
Joins joins)
Order by this value.
|
public JDBCRelatedFieldOrder(FieldMapping owner, FieldMapping rel, boolean asc)
public String getName()
Orderpublic DBIdentifier getIdentifier()
getIdentifier in interface JDBCOrderpublic boolean isAscending()
OrderisAscending in interface Orderpublic Comparator<?> getComparator()
OrdergetComparator in interface Orderpublic boolean isInRelation()
JDBCOrderisInRelation in interface JDBCOrderCopyright © 2006–2015 Apache Software Foundation. All rights reserved.