public static class Sort.Order
extends java.lang.Object
implements java.io.Serializable
Sort.Direction
.Modifier | Constructor and Description |
---|---|
protected |
Order(Sort.Direction direction,
java.lang.String property) |
Modifier and Type | Method and Description |
---|---|
static Sort.Order |
asc(java.lang.String property)
Creates new order for the given property with ASC direction.
|
static Sort.Order |
desc(java.lang.String property)
Creates new order for the given property with DESC direction.
|
Sort.Direction |
getDirection() |
java.lang.String |
getProperty() |
java.lang.String |
toString() |
protected Order(Sort.Direction direction, java.lang.String property)
public static Sort.Order asc(java.lang.String property)
public static Sort.Order desc(java.lang.String property)
public Sort.Direction getDirection()
public java.lang.String getProperty()
public java.lang.String toString()
toString
in class java.lang.Object