de.micromata.opengis.kml.v_2_2_0.xal
Class AddressDetails.Country

java.lang.Object
  extended by de.micromata.opengis.kml.v_2_2_0.xal.AddressDetails.Country
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
AddressDetails

public static class AddressDetails.Country
extends java.lang.Object
implements java.lang.Cloneable


Nested Class Summary
static class AddressDetails.Country.CountryNameCode
           
 
Field Summary
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 Summary
AddressDetails.Country(AdministrativeArea administrativeArea, Locality locality, Thoroughfare thoroughfare)
          Value constructor with only mandatory fields
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

addressLine

protected java.util.List<AddressLine> addressLine

countryNameCode

protected java.util.List<AddressDetails.Country.CountryNameCode> countryNameCode

countryName

protected java.util.List<CountryName> countryName

administrativeArea

protected AdministrativeArea administrativeArea

locality

protected Locality locality

thoroughfare

protected Thoroughfare thoroughfare

any

protected java.util.List<java.lang.Object> any
Constructor Detail

AddressDetails.Country

public AddressDetails.Country(AdministrativeArea administrativeArea,
                              Locality locality,
                              Thoroughfare thoroughfare)
Value constructor with only mandatory fields

Parameters:
administrativeArea - required parameter
locality - required parameter
thoroughfare - required parameter
Method Detail

getAddressLine

public java.util.List<AddressLine> getAddressLine()

getCountryNameCode

public java.util.List<AddressDetails.Country.CountryNameCode> getCountryNameCode()

getCountryName

public java.util.List<CountryName> getCountryName()

getAdministrativeArea

public AdministrativeArea getAdministrativeArea()
Returns:
possible object is AdministrativeArea

setAdministrativeArea

public void setAdministrativeArea(AdministrativeArea value)
Parameters:
value - allowed object is AdministrativeArea

getLocality

public Locality getLocality()
Returns:
possible object is Locality

setLocality

public void setLocality(Locality value)
Parameters:
value - allowed object is Locality

getThoroughfare

public Thoroughfare getThoroughfare()
Returns:
possible object is Thoroughfare

setThoroughfare

public void setThoroughfare(Thoroughfare value)
Parameters:
value - allowed object is Thoroughfare

getAny

public java.util.List<java.lang.Object> getAny()

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Returns:
always non-null

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

createAndAddAddressLine

public AddressLine createAndAddAddressLine()
Creates a new instance of AddressLine and adds it to addressLine. This method is a short version for: AddressLine addressLine = new AddressLine(); this.getAddressLine().add(addressLine);


createAndAddCountryNameCode

public AddressDetails.Country.CountryNameCode createAndAddCountryNameCode()
Creates a new instance of AddressDetails.Country.CountryNameCode and adds it to countryNameCode. This method is a short version for: CountryNameCode countryNameCode = new CountryNameCode(); this.getCountryNameCode().add(countryNameCode);


createAndAddCountryName

public CountryName createAndAddCountryName()
Creates a new instance of CountryName and adds it to countryName. This method is a short version for: CountryName countryName = new CountryName(); this.getCountryName().add(countryName);


createAndSetAdministrativeArea

public AdministrativeArea createAndSetAdministrativeArea(Locality locality,
                                                         PostOffice postOffice,
                                                         PostalCode postalCode)
Creates a new instance of AdministrativeArea and set it to administrativeArea. This method is a short version for: AdministrativeArea administrativeArea = new AdministrativeArea(); this.setAdministrativeArea(administrativeArea);

Parameters:
postalCode - required parameter
postOffice - required parameter
locality - required parameter

createAndSetLocality

public Locality createAndSetLocality(PostBox postBox,
                                     LargeMailUser largeMailUser,
                                     PostOffice postOffice,
                                     PostalRoute postalRoute)
Creates a new instance of Locality and set it to locality. This method is a short version for: Locality locality = new Locality(); this.setLocality(locality);

Parameters:
postOffice - required parameter
largeMailUser - required parameter
postalRoute - required parameter
postBox - required parameter

createAndSetThoroughfare

public Thoroughfare createAndSetThoroughfare(DependentLocality dependentLocality,
                                             Premise premise,
                                             Firm firm,
                                             PostalCode postalCode)
Creates a new instance of Thoroughfare and set it to thoroughfare. This method is a short version for: Thoroughfare thoroughfare = new Thoroughfare(); this.setThoroughfare(thoroughfare);

Parameters:
postalCode - required parameter
dependentLocality - required parameter
premise - required parameter
firm - required parameter

setAddressLine

public 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.

Note:

This method does not make use of the fluent pattern.If you would like to make it fluent, use withAddressLine(java.util.List) instead.

Parameters:
addressLine -

addToAddressLine

public AddressDetails.Country addToAddressLine(AddressLine addressLine)
add a value to the addressLine property collection

Parameters:
addressLine - Objects of the following type are allowed in the list: AddressLine
Returns:
true (as general contract of Collection.add).

setCountryNameCode

public 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.

Note:

This method does not make use of the fluent pattern.If you would like to make it fluent, use withCountryNameCode(java.util.List) instead.

Parameters:
countryNameCode -

addToCountryNameCode

public AddressDetails.Country addToCountryNameCode(AddressDetails.Country.CountryNameCode countryNameCode)
add a value to the countryNameCode property collection

Parameters:
countryNameCode - Objects of the following type are allowed in the list: AddressDetails.Country.CountryNameCode
Returns:
true (as general contract of Collection.add).

setCountryName

public 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.

Note:

This method does not make use of the fluent pattern.If you would like to make it fluent, use withCountryName(java.util.List) instead.

Parameters:
countryName -

addToCountryName

public AddressDetails.Country addToCountryName(CountryName countryName)
add a value to the countryName property collection

Parameters:
countryName - Objects of the following type are allowed in the list: CountryName
Returns:
true (as general contract of Collection.add).

setAny

public 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.

Note:

This method does not make use of the fluent pattern.If you would like to make it fluent, use withAny(java.util.List) instead.

Parameters:
any -

addToAny

public AddressDetails.Country addToAny(java.lang.Object any)
add a value to the any property collection

Parameters:
any - Objects of the following type are allowed in the list: Object
Returns:
true (as general contract of Collection.add).

withAddressLine

public AddressDetails.Country withAddressLine(java.util.List<AddressLine> addressLine)
fluent setter

Parameters:
addressLine - required parameter
See Also:
#setAddressLine(List)

withCountryNameCode

public AddressDetails.Country withCountryNameCode(java.util.List<AddressDetails.Country.CountryNameCode> countryNameCode)
fluent setter

Parameters:
countryNameCode - required parameter
See Also:
#setCountryNameCode(List)

withCountryName

public AddressDetails.Country withCountryName(java.util.List<CountryName> countryName)
fluent setter

Parameters:
countryName - required parameter
See Also:
#setCountryName(List)

withAny

public AddressDetails.Country withAny(java.util.List<java.lang.Object> any)
fluent setter

Parameters:
any - required parameter
See Also:
#setAny(List)

clone

public AddressDetails.Country clone()
Overrides:
clone in class java.lang.Object