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()
Order
public DBIdentifier getIdentifier()
getIdentifier
in interface JDBCOrder
public boolean isAscending()
Order
isAscending
in interface Order
public Comparator<?> getComparator()
Order
getComparator
in interface Order
public boolean isInRelation()
JDBCOrder
isInRelation
in interface JDBCOrder
Copyright © 2006–2013 Apache Software Foundation. All rights reserved.