public class PropertyOrder
extends java.lang.Object
| Constructor and Description |
|---|
PropertyOrder()
Initializes a new instance of the PropertyOrder class.
|
PropertyOrder(PropertyPath propertyPath)
Initializes a new instance of the PropertyOrder class.
|
PropertyOrder(PropertyPath propertyPath,
SortDirection order)
Initializes a new instance of the PropertyOrder class.
|
| Modifier and Type | Method and Description |
|---|---|
SortDirection |
getOrder()
Gets the sort order direction.
|
PropertyPath |
getPropertyPath()
Gets property path.
|
void |
setOrder(SortDirection order)
Sets the sort order direction.
|
void |
setPropertyPath(PropertyPath propertyPath)
Sets property path.
|
java.lang.String |
toString()
Converts the value of the current PropertyOrder object to its equivalent string representation.
|
public PropertyOrder()
public PropertyOrder(PropertyPath propertyPath)
propertyPath - the property pathpublic PropertyOrder(PropertyPath propertyPath, SortDirection order)
propertyPath - the property pathorder - the orderpublic java.lang.String toString()
toString in class java.lang.Objectpublic PropertyPath getPropertyPath()
public void setPropertyPath(PropertyPath propertyPath)
propertyPath - the new property pathpublic SortDirection getOrder()
public void setOrder(SortDirection order)
order - the new order