|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--portlets.compoze.groupware.addressbook.AddressInfo
This class represents the address information of a contact.
Inner Class Summary | |
static class |
AddressInfo.AddressType
This class represents the address type of an address. |
Constructor Summary | |
AddressInfo(AddressInfo.AddressType addressType)
Constructor. |
|
AddressInfo(java.lang.String sAddressLine1,
java.lang.String sAddressLine2,
java.lang.String sCity,
java.lang.String sState,
java.lang.String sCountry,
java.lang.String sPostalCode,
AddressInfo.AddressType addressType)
Constructor. |
Method Summary | |
java.lang.String |
getAddressLine1()
Gets the address line 1 (street) of the address. |
java.lang.String |
getAddressLine1Html()
Gets the address line1 text in HTML format. |
java.lang.String |
getAddressLine2()
Gets the address line 2 (apt. |
AddressInfo.AddressType |
getAddressType()
Gets the address type (eg. |
java.lang.String |
getCity()
Gets the name of the city. |
java.lang.String |
getCountry()
Gets the name of the country. |
java.lang.String |
getDisplayAddress(java.util.Locale locale)
Gets the formatted display address for the contact. |
java.lang.String |
getPostalCode()
Gets the postal code. |
java.lang.String |
getPostOfficeBox()
Gets the post office box. |
java.lang.String |
getState()
Gets the name of the state. |
void |
setAddressLine1(java.lang.String sAddressLine1)
Sets the address line 1 (street) of the address. |
void |
setAddressLine2(java.lang.String sAddressLine2)
Sets the address line 2 (apt. |
void |
setAddressType(AddressInfo.AddressType addressType)
Sets the address type. |
void |
setCity(java.lang.String sCity)
Sets the name of the city. |
void |
setCountry(java.lang.String sCountry)
Sets the name of the country. |
void |
setPostalCode(java.lang.String sPostalCode)
Sets the postal code. |
void |
setPostOfficeBox(java.lang.String sPostOfficeBox)
Sets the post office box. |
void |
setState(java.lang.String sState)
Sets the name of the state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AddressInfo(AddressInfo.AddressType addressType)
addressType
- the address type (home, business etc.)public AddressInfo(java.lang.String sAddressLine1, java.lang.String sAddressLine2, java.lang.String sCity, java.lang.String sState, java.lang.String sCountry, java.lang.String sPostalCode, AddressInfo.AddressType addressType)
sAddressLine1
- the address line 1 (street)sAddressLine2
- the address line 2 (apt. number etc.)sCity
- the city (name of the city)sState
- the state (name of the state)sCountry
- the country (name of the country)sPostalCode
- the postal codeaddressType
- the address type (home, business etc.)Method Detail |
public java.lang.String getAddressLine1()
public void setAddressLine1(java.lang.String sAddressLine1)
sAddressLine1
- the address line 1public java.lang.String getAddressLine2()
public void setAddressLine2(java.lang.String sAddressLine2)
sAddressLine2
- the address line 2public java.lang.String getCity()
public void setCity(java.lang.String sCity)
sCity
- the name of the citypublic java.lang.String getState()
null
for nonepublic void setState(java.lang.String sState)
sState
- the name of the statepublic java.lang.String getPostalCode()
public void setPostalCode(java.lang.String sPostalCode)
sPostalCode
- the postal codepublic java.lang.String getCountry()
public void setCountry(java.lang.String sCountry)
sCountry
- the name of the countrypublic java.lang.String getPostOfficeBox()
public void setPostOfficeBox(java.lang.String sPostOfficeBox)
sPostOfficeBox
- the post office boxpublic AddressInfo.AddressType getAddressType()
public void setAddressType(AddressInfo.AddressType addressType)
addressType
- the address type (may not be null)public java.lang.String getDisplayAddress(java.util.Locale locale)
the
- locale (may not be null
)public java.lang.String getAddressLine1Html()
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |