Package io.ebean
Class OrderBy.Property
java.lang.Object
io.ebean.OrderBy.Property
- All Implemented Interfaces:
Serializable
public static class OrderBy.Property extends Object implements Serializable
A property and its ascending descending order.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Property(String property, boolean ascending)Property(String property, boolean ascending, String collation)Property(String property, boolean ascending, String nulls, String highLow)Property(String property, boolean ascending, String collation, String nulls, String highLow) -
Method Summary
Modifier and Type Method Description OrderBy.Propertycopy()Return a copy of this property.OrderBy.PropertycopyWithTrim(String path)Return a copy of this Property with the path trimmed.booleanequals(Object obj)StringgetProperty()Return the property name.inthashCode()booleanisAscending()Return 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.StringtoString()StringtoStringFormat()voidtrim(String pathPrefix)Trim off the pathPrefix.
-
Constructor Details
-
Property
-
Property
-
Property
-
Property
-
-
Method Details
-
copyWithTrim
Return a copy of this Property with the path trimmed. -
hashCode
-
equals
-
toString
-
toStringFormat
-
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
Return true if the order is ascending. -
setAscending
Set to true if the order is ascending.
-