Constructor and Description |
---|
Item(Field field)
Construct order item with given field and ascending order.
|
Item(Field field,
OrderDirection direction)
Construct order item with given field and direction.
|
Modifier and Type | Method and Description |
---|---|
OrderDirection |
getDirection()
Gets the order direction.
|
Field |
getField()
Gets the field to order by.
|
public Item(Field field)
field
- The field to order by.public Item(Field field, OrderDirection direction)
field
- The field to order by.direction
- The order direction.public Field getField()
public OrderDirection getDirection()
Copyright © 2018. All rights reserved.