|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectportlets.compoze.groupware.SortOrder
This class represents a sort order.
Field Summary | |
static SortOrder |
ASCENDING
This value represents an 'ascending' sort order. |
static SortOrder |
DESCENDING
This value represents a 'descending' sort order. |
static int |
VALUE_ASCENDING
This value represents the 'ascending' value. |
static int |
VALUE_DESCENDING
This value represents the 'descending' value. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static SortOrder |
get(int iValue)
Gets the sort order by the value. |
java.lang.String |
getKey()
Gets the i18n resource key. |
static java.util.List |
getOrders()
Gets the list of sort orders. |
int |
getValue()
Gets the value of the sort order. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int VALUE_ASCENDING
public static final int VALUE_DESCENDING
public static final SortOrder ASCENDING
public static final SortOrder DESCENDING
Method Detail |
public java.lang.String getKey()
public int getValue()
VALUE_
constants)public static java.util.List getOrders()
SortOrder
objects (unmodifable)public static SortOrder get(int iValue)
iValue
- the value to get by
null
if not foundpublic boolean equals(java.lang.Object o)
o
- the object to check
true
if this object has the same value as the argument; false
otherwisegetValue()
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |