public class AddressDetails extends Object implements Cloneable
A structured address, formatted as xAL, or eXtensible Address Language, an international
standard for address formatting.
A structured address, formatted as xAL, or eXtensible Address Language, an international
standard for address formatting.
| Modifier and Type | Class and Description |
|---|---|
static class |
AddressDetails.Address
A string value representing an unstructured address written as a standard street,
city, state address, and/or as a postal code.
|
static class |
AddressDetails.Country |
static class |
AddressDetails.PostalServiceElements |
| Modifier and Type | Field and Description |
|---|---|
protected String |
address
A string value representing an unstructured address written as a standard street,
city, state address, and/or as a postal code.
|
protected String |
addressDetailsKey |
protected AddressLines |
addressLines |
protected AdministrativeArea |
administrativeArea |
protected List<Object> |
any |
protected String |
code |
protected AddressDetails.Country |
country |
protected String |
currentStatus |
protected Locality |
locality |
protected AddressDetails.PostalServiceElements |
postalServiceElements |
protected Thoroughfare |
thoroughfare |
protected String |
usage |
protected String |
validFromDate |
protected String |
validToDate |
protected AddressDetails.Address |
xalAddress
A string value representing an unstructured address written as a standard street,
city, state address, and/or as a postal code.
|
| Constructor and Description |
|---|
AddressDetails(AddressDetails.Address xalAddress,
AddressLines addressLines,
AddressDetails.Country country,
AdministrativeArea administrativeArea,
Locality locality,
Thoroughfare thoroughfare)
Value constructor with only mandatory fields
|
protected AddressDetails.PostalServiceElements postalServiceElements
protected AddressDetails.Address xalAddress
A string value representing an unstructured address written as a standard street, city, state address, and/or as a postal code. You can use the
tag to specify the location of a point instead of using latitude and longitude coordinates. (However, if aprotected AddressLines addressLines
protected AddressDetails.Country country
protected AdministrativeArea administrativeArea
protected Locality locality
protected Thoroughfare thoroughfare
protected String address
A string value representing an unstructured address written as a standard street, city, state address, and/or as a postal code. You can use the
tag to specify the location of a point instead of using latitude and longitude coordinates. (However, if aprotected String currentStatus
protected String validFromDate
protected String validToDate
protected String usage
protected String addressDetailsKey
protected String code
public AddressDetails(AddressDetails.Address xalAddress, AddressLines addressLines, AddressDetails.Country country, AdministrativeArea administrativeArea, Locality locality, Thoroughfare thoroughfare)
xalAddress - required parameteraddressLines - required parametercountry - required parameterlocality - required parameteradministrativeArea - required parameterthoroughfare - required parameterpublic AddressDetails.PostalServiceElements getPostalServiceElements()
AddressDetails.PostalServiceElementspostalServiceElementspublic void setPostalServiceElements(AddressDetails.PostalServiceElements value)
value - allowed object is
AddressDetails.PostalServiceElementspostalServiceElementspublic AddressDetails.Address getXalAddress()
AddressDetails.AddressxalAddresspublic void setXalAddress(AddressDetails.Address value)
value - allowed object is
AddressDetails.AddressxalAddresspublic AddressLines getAddressLines()
AddressLinesaddressLinespublic void setAddressLines(AddressLines value)
value - allowed object is
AddressLinesaddressLinespublic AddressDetails.Country getCountry()
AddressDetails.Countrycountrypublic void setCountry(AddressDetails.Country value)
value - allowed object is
AddressDetails.Countrycountrypublic AdministrativeArea getAdministrativeArea()
AdministrativeAreaadministrativeAreapublic void setAdministrativeArea(AdministrativeArea value)
value - allowed object is
AdministrativeAreaadministrativeAreapublic void setLocality(Locality value)
value - allowed object is
Localitylocalitypublic Thoroughfare getThoroughfare()
Thoroughfarethoroughfarepublic void setThoroughfare(Thoroughfare value)
value - allowed object is
Thoroughfarethoroughfarepublic void setAddress(String value)
value - allowed object is
Stringaddresspublic String getCurrentStatus()
StringcurrentStatuspublic void setCurrentStatus(String value)
value - allowed object is
StringcurrentStatuspublic String getValidFromDate()
StringvalidFromDatepublic void setValidFromDate(String value)
value - allowed object is
StringvalidFromDatepublic void setValidToDate(String value)
value - allowed object is
StringvalidToDatepublic void setUsage(String value)
value - allowed object is
Stringusagepublic String getAddressDetailsKey()
StringaddressDetailsKeypublic void setAddressDetailsKey(String value)
value - allowed object is
StringaddressDetailsKeypublic Map<QName,String> getOtherAttributes()
otherAttributespublic AddressDetails.PostalServiceElements createAndSetPostalServiceElements()
AddressDetails.PostalServiceElements and set it to postalServiceElements.
This method is a short version for:
PostalServiceElements postalServiceElements = new PostalServiceElements();
this.setPostalServiceElements(postalServiceElements); public AddressDetails.Address createAndSetXalAddress()
AddressDetails.Address and set it to xalAddress.
This method is a short version for:
Address address = new Address();
this.setXalAddress(address); public AddressLines createAndSetAddressLines(List<AddressLine> addressLine)
AddressLines and set it to addressLines.
This method is a short version for:
AddressLines addressLines = new AddressLines();
this.setAddressLines(addressLines); addressLine - required parameterpublic AddressDetails.Country createAndSetCountry(AdministrativeArea administrativeArea, Locality locality, Thoroughfare thoroughfare)
AddressDetails.Country and set it to country.
This method is a short version for:
Country country = new Country();
this.setCountry(country); locality - required parameteradministrativeArea - required parameterthoroughfare - required parameterpublic AdministrativeArea createAndSetAdministrativeArea(Locality locality, PostOffice postOffice, PostalCode postalCode)
AdministrativeArea and set it to administrativeArea.
This method is a short version for:
AdministrativeArea administrativeArea = new AdministrativeArea();
this.setAdministrativeArea(administrativeArea); postalCode - required parameterlocality - required parameterpostOffice - required parameterpublic Locality createAndSetLocality(PostBox postBox, LargeMailUser largeMailUser, PostOffice postOffice, PostalRoute postalRoute)
Locality and set it to locality.
This method is a short version for:
Locality locality = new Locality();
this.setLocality(locality); postBox - required parameterpostOffice - required parameterpostalRoute - required parameterlargeMailUser - required parameterpublic Thoroughfare createAndSetThoroughfare(DependentLocality dependentLocality, Premise premise, Firm firm, PostalCode postalCode)
Thoroughfare and set it to thoroughfare.
This method is a short version for:
Thoroughfare thoroughfare = new Thoroughfare();
this.setThoroughfare(thoroughfare); postalCode - required parameterpremise - required parameterfirm - required parameterdependentLocality - required parameterpublic AddressDetails addToAny(Object any)
any - Objects of the following type are allowed in the list: Objectpublic AddressDetails withPostalServiceElements(AddressDetails.PostalServiceElements postalServiceElements)
postalServiceElements - required parametersetPostalServiceElements(PostalServiceElements)public AddressDetails withAny(List<Object> any)
any - required parameter#setAny(Listpublic AddressDetails withAddress(String address)
address - required parametersetAddress(String)public AddressDetails withCurrentStatus(String currentStatus)
currentStatus - required parametersetCurrentStatus(String)public AddressDetails withValidFromDate(String validFromDate)
validFromDate - required parametersetValidFromDate(String)public AddressDetails withValidToDate(String validToDate)
validToDate - required parametersetValidToDate(String)public AddressDetails withUsage(String usage)
usage - required parametersetUsage(String)public AddressDetails withAddressDetailsKey(String addressDetailsKey)
addressDetailsKey - required parametersetAddressDetailsKey(String)public AddressDetails withCode(String code)
code - required parametersetCode(String)public AddressDetails clone()
Copyright © 2014 Micromata GmbH. All rights reserved.