|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.contact.MailingAddress
This class represents a contact mailing address. A mailing address designates which address is the contact primary address for mail.
Contact.setMailingAddress(MailingAddress)
,
Contact.getMailingAddress()
, Serialized FormField Summary | |
static MailingAddress |
BUSINESS
This value represents a value of 'business address'. |
static MailingAddress |
HOME
This value represents a value of 'home address'. |
static MailingAddress |
OTHER
This value represents a value of 'other address'. |
static java.util.List |
s_values
An array containing all of the fixed mailing values. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static MailingAddress |
get(int iStoreValue)
Gets the mailing address by its store value. |
static MailingAddress |
get(java.lang.String sName)
Gets the mailing address by the name in the system default locale. |
static java.util.List |
getList()
Gets the list of mailing address levels. |
java.lang.String |
getName()
Gets the name of the mailing address using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the mailing address using the specified locale. |
int |
getStoreValue()
Gets the value that's used to store the mailing address 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 java.util.List s_values
public static final MailingAddress HOME
public static final MailingAddress BUSINESS
public static final MailingAddress OTHER
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the localepublic int getStoreValue()
public static MailingAddress get(int iStoreValue)
iStoreValue
- the store value to get bynull
if not foundpublic static MailingAddress get(java.lang.String sName)
sName
- the name in the system default localenull
if not foundpublic static java.util.List getList()
MailingAddress
s (unmodifiable)public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to check (must be an MailingAddress
or else a ClassCastException
is thrown)true
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 |