com.ail.party
Class Address
java.lang.Object
com.ail.core.Type
com.ail.party.Address
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class Address
- extends Type
Class to encapsulate the details of a postal address.
- Version:
- $Revision: 1.2 $
- See Also:
- Serialized Form
| Methods inherited from class com.ail.core.Type |
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Address
public Address()
getLine1
public java.lang.String getLine1()
setLine1
public void setLine1(java.lang.String line1)
getLine2
public java.lang.String getLine2()
setLine2
public void setLine2(java.lang.String line2)
getLine3
public java.lang.String getLine3()
setLine3
public void setLine3(java.lang.String line3)
getLine4
public java.lang.String getLine4()
setLine4
public void setLine4(java.lang.String line4)
getLine5
public java.lang.String getLine5()
setLine5
public void setLine5(java.lang.String line5)
getTown
public java.lang.String getTown()
setTown
public void setTown(java.lang.String town)
getCounty
public java.lang.String getCounty()
setCounty
public void setCounty(java.lang.String county)
getCountry
public java.lang.String getCountry()
setCountry
public void setCountry(java.lang.String country)
getPostcode
public java.lang.String getPostcode()
setPostcode
public void setPostcode(java.lang.String postcode)
toString
public java.lang.String toString()
- Return the address formatted on a single line with comma seperated fields.
- Overrides:
toString in class java.lang.Object
- Returns:
- formatted address