|
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.webdav.MailingAddressId
This class indicates what address (home, business, other) is used to
generate the contact's mailing address. The internationalizable
string values are stored in the exchange_resources.properties
file (accessed through ExchangeProperties
) and referenced by
their key.
Field Summary | |
static MailingAddressId |
BUSINESS_ADDRESS
This value represents the mailing entries are constructed from the work address entries of the contact. |
static MailingAddressId |
HOME_ADDRESS
This value represents the mailing entries are constructed from the home address entries of the contact. |
static MailingAddressId |
NO_ADDRESS
This value represents the mailing entries are not constructed from other entries (they should be empty), and the mailing address must be manually specified. |
static MailingAddressId |
OTHER_ADDRESS
This value represents the mailing entries are constructed from the other address entries of the contact. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other MailingAddressId
object is "equal to" this one. |
static MailingAddressId |
get(int iStoreValue)
Gets the MailingAddress identifier by its store value. |
static MailingAddressId |
get(java.lang.String sName)
Gets the MailingAddress identifier by the name in the system default locale. |
static java.util.List |
getList()
Gets the list of MailingAddress identifiers. |
java.lang.String |
getName()
Gets the name of the MailingAddress identifier using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the MailingAddress identifier using the specified locale. |
int |
getStoreValue()
Gets the value that's used to store the MailingAddress identifier 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 MailingAddressId NO_ADDRESS
public static final MailingAddressId HOME_ADDRESS
public static final MailingAddressId BUSINESS_ADDRESS
public static final MailingAddressId OTHER_ADDRESS
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the localepublic int getStoreValue()
public static MailingAddressId get(int iStoreValue)
iStoreValue
- the store valuenull
public static MailingAddressId get(java.lang.String sName)
sName
- the name in the system default localenull
if not foundpublic static java.util.List getList()
MailingAddressId
levels (unmodifiable)public boolean equals(java.lang.Object o)
MailingAddressId
object is "equal to" this one.equals
in class java.lang.Object
true
if this object is the same as the obj argumentpublic 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 |