java.lang.Object
io.ebean.OrderBy.Property
- All Implemented Interfaces:
Serializable
A property and its ascending descending order.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Return a copy of this property.copyWithTrim(String path) Return a copy of this Property with the path trimmed.booleanReturn the property name.inthashCode()booleanReturn true if the order is ascending.voidreverse()Reverse the ascending/descending order for this property.voidsetAscending(boolean ascending) Set to true if the order is ascending.voidsetProperty(String property) Set the property name.toString()voidTrim 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.
-