public static final class OrderBy.Property extends Object implements Serializable
| Constructor and Description |
|---|
OrderBy.Property(String property,
boolean ascending) |
| Modifier and Type | Method and Description |
|---|---|
OrderBy.Property |
copy()
Return a copy of this property.
|
OrderBy.Property |
copyWithTrim(String path)
Return a copy of this Property with the path trimmed.
|
boolean |
equals(Object obj) |
String |
getProperty()
Return the property name.
|
int |
hashCode() |
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.
|
public OrderBy.Property(String property, boolean ascending)
public OrderBy.Property copyWithTrim(String path)
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)
Copyright © 2014. All Rights Reserved.