public final class AdapterSortCriteria
extends java.lang.Object
| Constructor and Description | 
|---|
AdapterSortCriteria()
Creates a new  
AdapterSortCriteria instance. | 
AdapterSortCriteria(SortCriteria criteria)
Creates a new  
AdapterSortCriteria instance from the passed
 sort criteria. | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getSortOn()
Gets the attributes to be sorted on 
 | 
boolean | 
isDescending()
Returns true if sort criteria is defined in descending order. 
 | 
void | 
setDescending(boolean flag)
Sets the sorting's value. 
 | 
void | 
setSortOn(java.lang.String sortOn)
Sets the attribute to be sorted on 
 | 
public AdapterSortCriteria(SortCriteria criteria)
AdapterSortCriteria instance from the passed
 sort criteria.criteria - passed sort criteria from where this object will be built.public AdapterSortCriteria()
AdapterSortCriteria instance.public java.lang.String getSortOn()
public void setSortOn(java.lang.String sortOn)
public boolean isDescending()
public void setDescending(boolean flag)
flag - value is true if the sort is to be performed in descending order.