|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.exchange.RecipientType
This class stores the values for a 'recipient type'. The internationalizable
string values are stored in the exchange_resources.properties
file (accessed through ExchangeProperties
) and referenced by
their key.
Field Summary | |
static RecipientType |
BCC
This value represents a 'bcc' recipient type. |
static RecipientType |
CC
This value represents a 'cc' recipient type. |
static RecipientType |
TO
This value represents a 'to' recipient type. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static RecipientType |
get(int iStoreValue)
Gets the recipient type by its store value. |
static java.util.List |
getList()
Gets the list of recipient types. |
java.lang.String |
getName()
Gets the name of the recipient type using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the recipient type using the specified locale. |
int |
getStoreValue()
Gets the value that's used to store the recipient 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 RecipientType TO
public static final RecipientType CC
public static final RecipientType BCC
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the locale
public int getStoreValue()
public static RecipientType get(int iStoreValue)
iStoreValue
- the store value to get by
null
if not foundpublic static java.util.List getList()
RecipientType
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 |