|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A sortorder specifies sorting of a single field.
This corresponds to use of ORDER BY in SQL SELECT-syntax.
| Field Summary | |
static int |
ORDER_ASCENDING
|
static int |
ORDER_DESCENDING
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this sortorder to the specified object. |
int |
getDirection()
Gets the sort direction. |
StepField |
getField()
Gets the associated field. |
int |
hashCode()
|
java.lang.String |
toString()
Returns a string representation of this SortOrder. |
| Field Detail |
public static final int ORDER_ASCENDING
public static final int ORDER_DESCENDING
| Method Detail |
public StepField getField()
This corresponds to a fieldname in a "ORDER BY" clause in SQL SELECT-syntax.
public int getDirection()
This corresponds to the use of ASC and DESC in SQL SELECT-syntax.
public boolean equals(java.lang.Object obj)
true if and only if the argument is a non-null
SortOrder object associated with the same field, using the same
sort direction.
obj - The object to compare with.
true if the objects are equal,
false otherwise.public int hashCode()
public java.lang.String toString()
getField().getAlias()
getDirection()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||