public final class SortOrder extends Object
| Constructor and Description |
|---|
SortOrder(String attributeName, boolean asc)
Creates a sort order for a single attribute
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute()
Get the name of attribute
|
boolean |
getDirection()
Get sort direction, true for ascending, false for descending.
|
public SortOrder(String attributeName, boolean asc)
attributeName - name of the attributeasc - true for ascending, false for descending.public String getAttribute()
public boolean getDirection()