java.lang.Object
io.ebean.OrderBy.Property
- All Implemented Interfaces:
Serializable
A property and its ascending descending order.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Return a copy of this property.copyWithTrim
(String path) Return a copy of this Property with the path trimmed.boolean
Return the property name.int
hashCode()
boolean
Return true if the order is ascending.void
reverse()
Reverse the ascending/descending order for this property.void
setAscending
(boolean ascending) Set to true if the order is ascending.void
setProperty
(String property) Set the property name.toString()
void
Trim off the pathPrefix.
-
Constructor Details
-
Property
-
Property
-
Property
-
Property
-
-
Method Details
-
copyWithTrim
Return a copy of this Property with the path trimmed. -
hashCode
public int hashCode() -
equals
-
toString
-
toStringFormat
-
reverse
public void reverse()Reverse the ascending/descending order for this property. -
trim
Trim off the pathPrefix. -
copy
Return a copy of this property. -
getProperty
Return the property name. -
setProperty
Set the property name. -
isAscending
public boolean isAscending()Return true if the order is ascending. -
setAscending
public void setAscending(boolean ascending) Set to true if the order is ascending.
-