|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.SortInfo
public class SortInfo
A infomation package of sort
| Field Summary | |
|---|---|
static int |
ASCENDING
sort type |
static int |
DESCENDING
sort type |
static int |
NOTSORTED
sort type |
java.lang.String |
sortBy
|
int |
sortOrder
|
| Constructor Summary | |
|---|---|
SortInfo(java.lang.String sortBy,
int sortOrder)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getSortBy()
get sortBy field mapping name |
int |
getSortOrder()
get sortBy order |
void |
setSortBy(java.lang.String sortBy)
set sortBy field mapping name |
void |
setSortOrder(int sortOrder)
set sort order |
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
public java.lang.String sortBy
public int sortOrder
| Constructor Detail |
|---|
public SortInfo(java.lang.String sortBy,
int sortOrder)
sortBy - the mapping name of the sortBy field.sortOrder - the order of the sort.| Method Detail |
|---|
public java.lang.String getSortBy()
public int getSortOrder()
public void setSortBy(java.lang.String sortBy)
sortBy - field mapping name stringpublic void setSortOrder(int sortOrder)
sortOrder - sort order numberpublic 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 | ||||||||