|
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.ResponseStatus
This class stores the values for a 'response status'. The internationalizable
string values are stored in the exchange_resources.properties
file (accessed through ExchangeProperties
) and referenced by
their key.
Field Summary | |
static ResponseStatus |
ACCEPTED
This value represents a response status of 'accepted'. |
static ResponseStatus |
DECLINED
This value represents a response status of 'declined'. |
static ResponseStatus |
NONE
This value represents a response status of 'none'. |
static ResponseStatus |
NOT_RESPONDED
This value represents a response status of 'not responded'. |
static ResponseStatus |
ORGANIZED
This value represents a response status of 'organized'. |
static int |
STORE_VALUE_ACCEPTED
This value represents the 'accepted' store value. |
static int |
STORE_VALUE_DECLINED
This value represents the 'declined' store value. |
static int |
STORE_VALUE_NONE
This value represents the 'none' store value. |
static int |
STORE_VALUE_NOT_RESPONDED
This value represents the 'not responded' store value. |
static int |
STORE_VALUE_ORGANIZED
This value represents the 'organized' store value. |
static int |
STORE_VALUE_TENTATIVE
This value represents the 'tentative' store value. |
static ResponseStatus |
TENTATIVE
This value represents a response status of 'tentative'. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static ResponseStatus |
get(int iStoreValue)
Gets the response status by its store value. |
static java.util.List |
getList()
Gets the list of response status levels. |
java.lang.String |
getName()
Gets the name of the response status using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the response status using the specified locale. |
int |
getStoreValue()
Gets the value that's used to store the response status 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 int STORE_VALUE_NONE
public static final int STORE_VALUE_ORGANIZED
public static final int STORE_VALUE_TENTATIVE
public static final int STORE_VALUE_ACCEPTED
public static final int STORE_VALUE_DECLINED
public static final int STORE_VALUE_NOT_RESPONDED
public static final ResponseStatus NONE
public static final ResponseStatus ORGANIZED
public static final ResponseStatus TENTATIVE
public static final ResponseStatus ACCEPTED
public static final ResponseStatus DECLINED
public static final ResponseStatus NOT_RESPONDED
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the localepublic int getStoreValue()
public static ResponseStatus get(int iStoreValue)
iStoreValue
- the store value to get bynull
if not foundpublic static java.util.List getList()
ResponseStatus
es (unmodifiable)public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to check (must be an ResponseStatus
or else a ClassCastException
is thrown)true
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 |