|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.compoze.collab.SortProperty
public class 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(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. |
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(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class Object
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||