|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.SortInfo
public class SortInfo
An information package of sort.
| Field Summary | |
|---|---|
static int |
ASCENDING
The sort type. |
static int |
DESCENDING
The sort type. |
static int |
NOTSORTED
The sort type. |
| Constructor Summary | |
|---|---|
SortInfo(java.lang.String sortBy,
int sortOrder)
Constructor. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ASCENDING
public static final int DESCENDING
public static final int NOTSORTED
| Constructor Detail |
|---|
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}| Method Detail |
|---|
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||