|
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.Sensitivity
This class stores the values for 'sensitivity'. The internationalizable
string values are stored in the exchange_resources.properties
file (accessed through ExchangeProperties
) and referenced by
their key.
Field Summary | |
static Sensitivity |
CONFIDENTIAL
This value represents a sensitivity of 'confidential'. |
static Sensitivity |
NONE
This value represents a sensitivity of 'none'. |
static Sensitivity |
PERSONAL
This value represents a sensitivity of 'personal'. |
static Sensitivity |
PRIVATE
This value represents a sensitivity of 'private'. |
static int |
STORE_VALUE_CONFIDENTIAL
This value represents the 'confidential' store value. |
static int |
STORE_VALUE_NONE
This value represents the 'none' store value. |
static int |
STORE_VALUE_PERSONAL
This value represents the 'personal' store value. |
static int |
STORE_VALUE_PRIVATE
This value represents the 'private' store value. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static Sensitivity |
get(int iStoreValue)
Gets the sensitivity by its store value. |
static java.util.List |
getList()
Gets the list of sensitivity levels. |
java.lang.String |
getName()
Gets the name of the sensitivity using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the sensitivity using the specified locale. |
int |
getStoreValue()
Gets the value that's used to store the sensitivity 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_NONE
public static final int STORE_VALUE_PERSONAL
public static final int STORE_VALUE_PRIVATE
public static final int STORE_VALUE_CONFIDENTIAL
public static final Sensitivity NONE
public static final Sensitivity PERSONAL
public static final Sensitivity PRIVATE
public static final Sensitivity CONFIDENTIAL
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 Sensitivity get(int iStoreValue)
iStoreValue
- the store value to get bynull
if not foundpublic static java.util.List getList()
Sensitivity
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 |