|
Compoze Software, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.compoze.collab.SortProperty
Represents a property to sort on and the order (ascending/descending)
| Constructor Summary | |
SortProperty(Key key,
SortOrder order)
Constructs a SortProperty. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
|
Key |
getKey()
Get the sort property key |
SortOrder |
getSortOrder()
Gets the current sort order. |
int |
hashCode()
|
boolean |
isAscending()
Determine if the sort order is ascending. |
java.lang.String |
toString()
Gets a string representation of the sort field. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SortProperty(Key key,
SortOrder order)
key - the property key to sort on (not null)order - the sort order (not null)| Method Detail |
public Key getKey()
null)public boolean isAscending()
true if the sort is ascending,
false if it is descendingpublic SortOrder getSortOrder()
null)public boolean equals(java.lang.Object obj)
Object.equals(java.lang.Object)public int hashCode()
Object.hashCode()public java.lang.String toString()
|
Compoze Software, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||