public final class SortCriteria extends Object
| Constructor and Description |
|---|
SortCriteria(SortBy sortBy,
boolean ascending)
Instantiates a new sort criteria.
|
| Modifier and Type | Method and Description |
|---|---|
SortBy |
getSortBy()
Returns the sort by.
|
boolean |
isAscending()
Checks whether sorting is ascending.
|
void |
setAscending(boolean ascending)
Specifies asset sorting is ascending.
|
void |
setSortBy(SortBy sortBy)
Specifies the sort by.
|
public SortCriteria(SortBy sortBy, boolean ascending)
sortBy - the sort byascending - ascending orderpublic SortBy getSortBy()
public void setSortBy(SortBy sortBy)
public boolean isAscending()
public void setAscending(boolean ascending)