public static final class Query.SortPredicate
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Query.SortPredicate
(java.lang.String propertyName,
Query.SortDirection
direction)
|
Modifier and Type | Method and Description |
---|---|
boolean
|
equals
(java.lang.Object o)
|
Query.SortDirection
|
getDirection
()
Gets the direction of the sort.
|
java.lang.String
|
getPropertyName
()
Gets the name of the property to sort on.
|
int
|
hashCode
()
|
Query.SortPredicate
|
reverse
()
|
java.lang.String
|
toString
()
|
public Query.SortPredicate(java.lang.String propertyName, Query.SortDirection direction)
public Query.SortPredicate reverse()
public java.lang.String getPropertyName()
public Query.SortDirection getDirection()
public boolean equals(java.lang.Object o)
equals
in class
java.lang.Object
public int hashCode()
hashCode
in class
java.lang.Object
public java.lang.String toString()
toString
in class
java.lang.Object