|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.exchange.AddressDisplayType
This class stores the values for a address 'display type'. The internationalizable
string values are stored in the exchange_resources.properties
file (accessed through ExchangeProperties
) and referenced by
their key.
Field Summary | |
static AddressDisplayType |
AGENT
This value represents a 'agent' display type. |
static AddressDisplayType |
DIST_LIST
This value represents a 'distribution list' display type. |
static AddressDisplayType |
FORUM
This value represents a 'forum' display type. |
static AddressDisplayType |
ORGANIZATION
This value represents a 'organization' display type. |
static AddressDisplayType |
PRIVATE_DIST_LIST
This value represents a 'private distribution list' display type. |
static AddressDisplayType |
REMOTE_USER
This value represents a 'remote user' display type (a remote messaging user). |
static AddressDisplayType |
USER
This value represents a 'user' display type (a local messaging user). |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static AddressDisplayType |
get(int iStoreValue)
Gets the display type by its store value. |
static java.util.List |
getList()
Gets the list of display types. |
java.lang.String |
getName()
Gets the name of the display type using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the display type using the specified locale. |
int |
getStoreValue()
Gets the value that's used to store the display type 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 AddressDisplayType USER
public static final AddressDisplayType DIST_LIST
public static final AddressDisplayType FORUM
public static final AddressDisplayType AGENT
public static final AddressDisplayType ORGANIZATION
public static final AddressDisplayType PRIVATE_DIST_LIST
public static final AddressDisplayType REMOTE_USER
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the locale
public int getStoreValue()
public static AddressDisplayType get(int iStoreValue)
iStoreValue
- the store value to get by
null
if not foundpublic static java.util.List getList()
AddressDisplayType
s (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 |