|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.domino.SortOrder
This class stores the values for a 'sort order'. The internationalizable
string values are stored in the domino_resources.properties
file (accessed through DominoProperties
) and referenced by
their key.
Field Summary | |
static SortOrder |
ASCENDING
This value represents an 'ascending' sort order. |
static SortOrder |
DESCENDING
This value represents an 'descending' sort order. |
static SortOrder |
NONE
This value represents a sort order of 'none'. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static SortOrder |
get(int iStoreValue)
Gets the sort order by its store value. |
static java.util.List |
getList()
Gets the list of sort order levels. |
java.lang.String |
getName()
Gets the name of the sort order using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the sort order using the specified locale. |
int |
getStoreValue()
Gets the value that's used to store the sort order in the storage system. |
java.lang.String |
toString()
Returns a string representation of the object. |
java.lang.String |
toString(java.util.Locale locale)
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final SortOrder NONE
public static final SortOrder ASCENDING
public static final SortOrder DESCENDING
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the locale
public int getStoreValue()
public static SortOrder get(int iStoreValue)
iStoreValue
- the store value to get by
null
if not foundpublic static java.util.List getList()
SortOrder
es (unmodifiable)public boolean equals(java.lang.Object o)
o
- the object to check
true
if this object has the same store value as the
argument, false
otherwisepublic java.lang.String toString()
public java.lang.String toString(java.util.Locale locale)
locale
- the locale
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |