public class Sort extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Sort.Direction
The possible Directions that can be used in a sort operation
(ASCENDING or DESCENDING).
|
Constructor and Description |
---|
Sort(String fieldName,
Sort.Direction direction)
Constructs a Sort operation that will sort on the column with the specified
field name in the specified direction.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Sort.Direction |
getDirection()
The direction to sort in.
|
String |
getFieldName()
Returns the field name of the column to sort on.
|
int |
hashCode() |
String |
toString() |
public Sort(String fieldName, Sort.Direction direction)
fieldName
- The field name of the column to sort.direction
- The direction to sort in.public String getFieldName()
public Sort.Direction getDirection()
Copyright © 2015 Caplin Systems.