public static class AddressDetails.Country extends Object implements Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
AddressDetails.Country.CountryNameCode |
| Modifier and Type | Field and Description |
|---|---|
protected List<AddressLine> |
addressLine |
protected AdministrativeArea |
administrativeArea |
protected List<Object> |
any |
protected List<CountryName> |
countryName |
protected List<AddressDetails.Country.CountryNameCode> |
countryNameCode |
protected Locality |
locality |
protected Thoroughfare |
thoroughfare |
| Constructor and Description |
|---|
AddressDetails.Country(AdministrativeArea administrativeArea,
Locality locality,
Thoroughfare thoroughfare)
Value constructor with only mandatory fields
|
| Modifier and Type | Method and Description |
|---|---|
AddressDetails.Country |
addToAddressLine(AddressLine addressLine)
add a value to the addressLine property collection
|
AddressDetails.Country |
addToAny(Object any)
add a value to the any property collection
|
AddressDetails.Country |
addToCountryName(CountryName countryName)
add a value to the countryName property collection
|
AddressDetails.Country |
addToCountryNameCode(AddressDetails.Country.CountryNameCode countryNameCode)
add a value to the countryNameCode property collection
|
AddressDetails.Country |
clone() |
AddressLine |
createAndAddAddressLine()
Creates a new instance of
AddressLine and adds it to addressLine. |
CountryName |
createAndAddCountryName()
Creates a new instance of
CountryName and adds it to countryName. |
AddressDetails.Country.CountryNameCode |
createAndAddCountryNameCode()
Creates a new instance of
AddressDetails.Country.CountryNameCode and adds it to countryNameCode. |
AdministrativeArea |
createAndSetAdministrativeArea(Locality locality,
PostOffice postOffice,
PostalCode postalCode)
Creates a new instance of
AdministrativeArea and set it to administrativeArea. |
Locality |
createAndSetLocality(PostBox postBox,
LargeMailUser largeMailUser,
PostOffice postOffice,
PostalRoute postalRoute)
Creates a new instance of
Locality and set it to locality. |
Thoroughfare |
createAndSetThoroughfare(DependentLocality dependentLocality,
Premise premise,
Firm firm,
PostalCode postalCode)
Creates a new instance of
Thoroughfare and set it to thoroughfare. |
boolean |
equals(Object obj) |
List<AddressLine> |
getAddressLine() |
AdministrativeArea |
getAdministrativeArea() |
List<Object> |
getAny() |
List<CountryName> |
getCountryName() |
List<AddressDetails.Country.CountryNameCode> |
getCountryNameCode() |
Locality |
getLocality() |
Map<QName,String> |
getOtherAttributes() |
Thoroughfare |
getThoroughfare() |
int |
hashCode() |
void |
setAddressLine(List<AddressLine> addressLine)
Sets the value of the addressLine property Objects of the following type(s) are allowed in the list List
|
void |
setAdministrativeArea(AdministrativeArea value) |
void |
setAny(List<Object> any)
Sets the value of the any property Objects of the following type(s) are allowed in the list List
|
void |
setCountryName(List<CountryName> countryName)
Sets the value of the countryName property Objects of the following type(s) are allowed in the list List
|
void |
setCountryNameCode(List<AddressDetails.Country.CountryNameCode> countryNameCode)
Sets the value of the countryNameCode property Objects of the following type(s) are allowed in the list List
|
void |
setLocality(Locality value) |
void |
setThoroughfare(Thoroughfare value) |
AddressDetails.Country |
withAddressLine(List<AddressLine> addressLine)
fluent setter
|
AddressDetails.Country |
withAny(List<Object> any)
fluent setter
|
AddressDetails.Country |
withCountryName(List<CountryName> countryName)
fluent setter
|
AddressDetails.Country |
withCountryNameCode(List<AddressDetails.Country.CountryNameCode> countryNameCode)
fluent setter
|
protected List<AddressLine> addressLine
protected List<AddressDetails.Country.CountryNameCode> countryNameCode
protected List<CountryName> countryName
protected AdministrativeArea administrativeArea
protected Locality locality
protected Thoroughfare thoroughfare
public AddressDetails.Country(AdministrativeArea administrativeArea, Locality locality, Thoroughfare thoroughfare)
locality - required parameteradministrativeArea - required parameterthoroughfare - required parameterpublic List<AddressLine> getAddressLine()
public List<AddressDetails.Country.CountryNameCode> getCountryNameCode()
public List<CountryName> getCountryName()
public AdministrativeArea getAdministrativeArea()
AdministrativeAreapublic void setAdministrativeArea(AdministrativeArea value)
value - allowed object is
AdministrativeAreapublic Thoroughfare getThoroughfare()
Thoroughfarepublic void setThoroughfare(Thoroughfare value)
value - allowed object is
Thoroughfarepublic AddressLine createAndAddAddressLine()
AddressLine and adds it to addressLine.
This method is a short version for:
AddressLine addressLine = new AddressLine();
this.getAddressLine().add(addressLine); public AddressDetails.Country.CountryNameCode createAndAddCountryNameCode()
AddressDetails.Country.CountryNameCode and adds it to countryNameCode.
This method is a short version for:
CountryNameCode countryNameCode = new CountryNameCode();
this.getCountryNameCode().add(countryNameCode); public CountryName createAndAddCountryName()
CountryName and adds it to countryName.
This method is a short version for:
CountryName countryName = new CountryName();
this.getCountryName().add(countryName); public 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 void setAddressLine(List<AddressLine> addressLine)
Note:
This method does not make use of the fluent pattern.If you would like to make it fluent, use withAddressLine(java.util.List<de.micromata.opengis.kml.v_2_2_0.xal.AddressLine>) instead.
addressLine - public AddressDetails.Country addToAddressLine(AddressLine addressLine)
addressLine - Objects of the following type are allowed in the list: AddressLinepublic void setCountryNameCode(List<AddressDetails.Country.CountryNameCode> countryNameCode)
Note:
This method does not make use of the fluent pattern.If you would like to make it fluent, use withCountryNameCode(java.util.List<de.micromata.opengis.kml.v_2_2_0.xal.AddressDetails.Country.CountryNameCode>) instead.
countryNameCode - public AddressDetails.Country addToCountryNameCode(AddressDetails.Country.CountryNameCode countryNameCode)
countryNameCode - Objects of the following type are allowed in the list: AddressDetails.Country.CountryNameCodepublic void setCountryName(List<CountryName> countryName)
Note:
This method does not make use of the fluent pattern.If you would like to make it fluent, use withCountryName(java.util.List<de.micromata.opengis.kml.v_2_2_0.xal.CountryName>) instead.
countryName - public AddressDetails.Country addToCountryName(CountryName countryName)
countryName - Objects of the following type are allowed in the list: CountryNamepublic void setAny(List<Object> any)
any - public AddressDetails.Country addToAny(Object any)
any - Objects of the following type are allowed in the list: Objectpublic AddressDetails.Country withAddressLine(List<AddressLine> addressLine)
addressLine - required parameter#setAddressLine(List) public AddressDetails.Country withCountryNameCode(List<AddressDetails.Country.CountryNameCode> countryNameCode)
countryNameCode - required parameter#setCountryNameCode(List) public AddressDetails.Country withCountryName(List<CountryName> countryName)
countryName - required parameter#setCountryName(List) public AddressDetails.Country withAny(List<Object> any)
any - required parameter#setAny(Listpublic AddressDetails.Country clone()
Copyright © 2014 Micromata GmbH. All rights reserved.