public static class AddressDetails.Country
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
AddressDetails.Country.CountryNameCode |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<AddressLine> |
addressLine |
protected AdministrativeArea |
administrativeArea |
protected java.util.List<java.lang.Object> |
any |
protected java.util.List<CountryName> |
countryName |
protected java.util.List<AddressDetails.Country.CountryNameCode> |
countryNameCode |
protected Locality |
locality |
protected Thoroughfare |
thoroughfare |
| Constructor and Description |
|---|
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(java.lang.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(java.lang.Object obj) |
java.util.List<AddressLine> |
getAddressLine() |
AdministrativeArea |
getAdministrativeArea() |
java.util.List<java.lang.Object> |
getAny() |
java.util.List<CountryName> |
getCountryName() |
java.util.List<AddressDetails.Country.CountryNameCode> |
getCountryNameCode() |
Locality |
getLocality() |
java.util.Map<javax.xml.namespace.QName,java.lang.String> |
getOtherAttributes() |
Thoroughfare |
getThoroughfare() |
int |
hashCode() |
void |
setAddressLine(java.util.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(java.util.List<java.lang.Object> any)
Sets the value of the any property Objects of the following type(s) are allowed in the list List
|
void |
setCountryName(java.util.List<CountryName> countryName)
Sets the value of the countryName property Objects of the following type(s) are allowed in the list List
|
void |
setCountryNameCode(java.util.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(java.util.List<AddressLine> addressLine)
fluent setter
|
AddressDetails.Country |
withAny(java.util.List<java.lang.Object> any)
fluent setter
|
AddressDetails.Country |
withCountryName(java.util.List<CountryName> countryName)
fluent setter
|
AddressDetails.Country |
withCountryNameCode(java.util.List<AddressDetails.Country.CountryNameCode> countryNameCode)
fluent setter
|
protected java.util.List<AddressLine> addressLine
protected java.util.List<AddressDetails.Country.CountryNameCode> countryNameCode
protected java.util.List<CountryName> countryName
protected AdministrativeArea administrativeArea
protected Locality locality
protected Thoroughfare thoroughfare
protected java.util.List<java.lang.Object> any
public Country(AdministrativeArea administrativeArea, Locality locality, Thoroughfare thoroughfare)
locality - required parameteradministrativeArea - required parameterthoroughfare - required parameterpublic java.util.List<AddressLine> getAddressLine()
public java.util.List<AddressDetails.Country.CountryNameCode> getCountryNameCode()
public java.util.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 java.util.List<java.lang.Object> getAny()
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic 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(java.util.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(java.util.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(java.util.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(java.util.List<java.lang.Object> any)
any - public AddressDetails.Country addToAny(java.lang.Object any)
any - Objects of the following type are allowed in the list: Objectpublic AddressDetails.Country withAddressLine(java.util.List<AddressLine> addressLine)
addressLine - required parameter#setAddressLine(List) public AddressDetails.Country withCountryNameCode(java.util.List<AddressDetails.Country.CountryNameCode> countryNameCode)
countryNameCode - required parameter#setCountryNameCode(List) public AddressDetails.Country withCountryName(java.util.List<CountryName> countryName)
countryName - required parameter#setCountryName(List) public AddressDetails.Country withAny(java.util.List<java.lang.Object> any)
any - required parameter#setAny(Listpublic AddressDetails.Country clone()
clone in class java.lang.ObjectCopyright © 2014 Micromata GmbH. All Rights Reserved.