|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.castor.cpa.query.object.OrderImpl.Item
public static final class OrderImpl.Item
Inner class for order items to handel field and its order direction together.
Constructor Summary | |
---|---|
OrderImpl.Item(Field field)
Construct order item with given field and ascending order. |
|
OrderImpl.Item(Field field,
OrderDirection direction)
Construct order item with given field and direction. |
Method Summary | |
---|---|
OrderDirection |
getDirection()
Gets the order direction. |
Field |
getField()
Gets the field to order by. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderImpl.Item(Field field)
field
- The field to order by.public OrderImpl.Item(Field field, OrderDirection direction)
field
- The field to order by.direction
- The order direction.Method Detail |
---|
public Field getField()
public OrderDirection getDirection()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |