public class SortInfo
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static int | ASCENDINGThe sort type. | 
| static int | DESCENDINGThe sort type. | 
| static int | NOTSORTEDThe sort type. | 
| Constructor and Description | 
|---|
| SortInfo(java.lang.String sortBy,
        int sortOrder)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getSortBy()Gets the sortBy field's mapping name. | 
| int | getSortOrder()Gets the SortInfo's sort type. | 
| void | setSortBy(java.lang.String sortBy)Sets the sortBy field's mapping name. | 
| void | setSortOrder(int sortOrder)Sets the SortInfo's sort type. | 
| java.lang.String | toString() | 
public static final int ASCENDING
public static final int DESCENDING
public static final int NOTSORTED
public SortInfo(java.lang.String sortBy,
                int sortOrder)
sortBy - The mapping name of the sortBy field.sortOrder - The type of the sort.#ASCENDING}, {@link #DESCENDING}, {@link #NOTSORTED}public java.lang.String getSortBy()
public int getSortOrder()
public void setSortBy(java.lang.String sortBy)
SortBy - field's mapping name.public void setSortOrder(int sortOrder)
sortOrder - The SortInfo's sort type.#ASCENDING}, {@link #DESCENDING}, {@link #NOTSORTED}public java.lang.String toString()
toString in class java.lang.Object