public class SortOrder extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
SortOrder.Direction |
| Constructor and Description |
|---|
SortOrder(SortOrder.Direction direction,
String property)
Constructor
|
SortOrder(String property)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
SortOrder.Direction |
getDirection() |
String |
getProperty() |
int |
hashCode() |
boolean |
isAscending() |
String |
toString() |
SortOrder |
with(SortOrder.Direction order) |
public SortOrder(SortOrder.Direction direction, String property)
direction - the desired sort directionproperty - the property to sort onpublic SortOrder(String property)
property - the property to sort on (in ascending direction)public SortOrder.Direction getDirection()
public String getProperty()
public boolean isAscending()
public SortOrder with(SortOrder.Direction order)
Copyright © 2019 Open Circle Solutions. All rights reserved.