|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.remote.prc.collaboration.query.QueryOrder com.plumtree.remote.prc.collaboration.document.DocumentQueryOrder
Represents a pair that consists of an DocumentAttribute
attribute and a
boolean
indicating whether to order ascending. This class is used in IFilter
.
Constructor Summary | |
DocumentQueryOrder(DocumentAttribute attribute,
boolean ascending)
Constructor for DocumentQueryOrder . |
Method Summary | |
DocumentAttribute |
getAttribute()
Returns the query orderBy attribute. |
boolean |
isAscending()
Returns a boolean indicating whether or not the field is ascending. |
void |
setAscending(boolean isAscending)
Sets the order for this field (ascending or descending). |
void |
setAttribute(DocumentAttribute attribute)
Sets the query orderBy attribute. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DocumentQueryOrder(DocumentAttribute attribute, boolean ascending)
DocumentQueryOrder
.
attribute
- the query orderBy fieldascending
- a boolean indicating whether the order is ascendingMethod Detail |
public void setAttribute(DocumentAttribute attribute)
attribute
- the query orderBy attributepublic DocumentAttribute getAttribute()
public void setAscending(boolean isAscending)
setAscending
in class QueryOrder
public boolean isAscending()
isAscending
in class QueryOrder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©2010 Oracle® Corporation. All Rights Reserved.