|
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.FlagStatus
This class implements the flag status. Flag status is used to determine if a flag is set, and if so, to designate the status of a flag.
Field Summary | |
static FlagStatus |
NO_FLAG
This value represents the 'no flag' flag status. |
static FlagStatus |
RED_FLAG
This value represents the 'red flag' flag status. |
static int |
STORE_VALUE_NO_FLAG
This value represents the 'no flag' store value. |
static int |
STORE_VALUE_RED_FLAG
This value represents the 'red flag' store value. |
static int |
STORE_VALUE_WHITE_FLAG
This value represents the 'white flag' store value. |
static FlagStatus |
WHITE_FLAG
This value represents the 'white flag' flag status. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other FlagStatus
object is "equal to" this one. |
static FlagStatus |
get(int iStoreValue)
Gets the flag by the store value. |
static java.util.List |
getList()
Gets an unmodifiable list of flags. |
java.lang.String |
getName()
Gets the name using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name using the specified locale. |
int |
getStoreValue()
Gets the store value. |
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_NO_FLAG
public static final int STORE_VALUE_WHITE_FLAG
public static final int STORE_VALUE_RED_FLAG
public static final FlagStatus NO_FLAG
public static final FlagStatus WHITE_FLAG
public static final FlagStatus RED_FLAG
Method Detail |
public int getStoreValue()
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the localepublic static FlagStatus get(int iStoreValue)
iStoreValue
- the store value of the flagnull
if not foundpublic static java.util.List getList()
FlagStatus
objects (unmodifiable)public boolean equals(java.lang.Object o)
FlagStatus
object is "equal to" this one. The store value is
used to determine equality.equals
in class java.lang.Object
true
, this object is the same as the obj 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 to use
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |