|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.exchange.TaskStatus
This class stores the values for a 'task status'. The internationalizable
string values are stored in the exchange_resources.properties
file (accessed through ExchangeProperties
) and referenced by
their key.
Field Summary | |
static TaskStatus |
COMPLETED
This value represents the 'completed' task status. |
static TaskStatus |
DEFERRED
This value represents the 'deferred' task status. |
static TaskStatus |
IN_PROGRESS
This value represents the 'in progress' task status. |
static TaskStatus |
NOT_STARTED
This value represents the 'not started' task status. |
static int |
STORE_VALUE_COMPLETED
This value represents the 'completed' store value. |
static int |
STORE_VALUE_DEFERRED
This value represents the 'deferred' store value. |
static int |
STORE_VALUE_IN_PROGRESS
This value represents the 'in progress' store value. |
static int |
STORE_VALUE_NOT_STARTED
This value represents the 'not started' store value. |
static int |
STORE_VALUE_WAITING
This value represents the 'waiting' store value. |
static TaskStatus |
WAITING
This value represents the 'waiting' task status. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static TaskStatus |
get(int iStoreValue)
Gets the task status by its store value. |
static java.util.List |
getList()
Gets the list of task status levels. |
java.lang.String |
getName()
Gets the name of the task status using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the task status using the specified locale. |
int |
getStoreValue()
Gets the value that's used to store the task status in the storage system. |
java.lang.Object |
getStoreValueObject()
Gets the store value as an object. |
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 int STORE_VALUE_NOT_STARTED
public static final int STORE_VALUE_IN_PROGRESS
public static final int STORE_VALUE_COMPLETED
public static final int STORE_VALUE_WAITING
public static final int STORE_VALUE_DEFERRED
public static final TaskStatus NOT_STARTED
public static final TaskStatus IN_PROGRESS
public static final TaskStatus COMPLETED
public static final TaskStatus WAITING
public static final TaskStatus DEFERRED
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the localepublic int getStoreValue()
public java.lang.Object getStoreValueObject()
public static TaskStatus get(int iStoreValue)
iStoreValue
- the store value to get bynull
if not foundpublic static java.util.List getList()
TaskStatus
es (unmodifiable)public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to checktrue
if this object has the same store value as the
argument, false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.util.Locale locale)
locale
- the locale
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |