|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.workplace.wcm.api.query.Sort
public abstract class Sort
Sort implementations are located in api.impl this abstract class delegates the factory methods to a protected interface to keep the API uncluttered
Field Summary | |
---|---|
static Sort |
NONE
|
Constructor Summary | |
---|---|
protected |
Sort()
Constructor |
protected |
Sort(SortDirection direction)
Constructor |
Method Summary | |
---|---|
boolean |
congruent(Sort sort)
returns true if this sort is congruent to the specified Sort. |
boolean |
equals(java.lang.Object object)
two sorts are equal if they are congruent and the sort order is the same |
SortDirection |
getDirection()
|
SortDirection |
getOrder()
|
int |
hashCode()
equal sorts have equal hashCodes |
SortDirection |
reverse()
|
void |
setDirection(SortDirection direction)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Sort NONE
Constructor Detail |
---|
protected Sort()
protected Sort(SortDirection direction)
direction
- Direction to sortMethod Detail |
---|
public final void setDirection(SortDirection direction)
public final SortDirection getOrder()
public final SortDirection reverse()
public final SortDirection getDirection()
public boolean congruent(Sort sort)
sort
-
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
-
public int hashCode()
hashCode
in class java.lang.Object
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 |