|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.avaje.ebean.OrderBy.Property
public static final class OrderBy.Property
A property and its ascending descending order.
Constructor Summary | |
---|---|
OrderBy.Property(String property,
boolean ascending)
|
Method Summary | |
---|---|
OrderBy.Property |
copy()
Return a copy of this property. |
String |
getProperty()
Return the property name. |
boolean |
isAscending()
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. |
String |
toString()
|
String |
toStringFormat()
|
void |
trim(String pathPrefix)
Trim off the pathPrefix. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OrderBy.Property(String property, boolean ascending)
Method Detail |
---|
public String toString()
toString
in class Object
public String toStringFormat()
public void reverse()
public void trim(String pathPrefix)
public OrderBy.Property copy()
public String getProperty()
public void setProperty(String property)
public boolean isAscending()
public void setAscending(boolean ascending)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |