de.micromata.opengis.kml.v_2_2_0.xal
Class AdministrativeArea

java.lang.Object
  extended by de.micromata.opengis.kml.v_2_2_0.xal.AdministrativeArea
All Implemented Interfaces:
java.lang.Cloneable

public class AdministrativeArea
extends java.lang.Object
implements java.lang.Cloneable


Nested Class Summary
static class AdministrativeArea.AdministrativeAreaName
           
static class AdministrativeArea.SubAdministrativeArea
           
 
Field Summary
protected  java.util.List<AddressLine> addressLine
           
protected  java.util.List<AdministrativeArea.AdministrativeAreaName> administrativeAreaName
           
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String indicator
           
protected  Locality locality
           
protected  PostalCode postalCode
           
protected  PostOffice postOffice
           
protected  AdministrativeArea.SubAdministrativeArea subAdministrativeArea
           
protected  java.lang.String underscore
           
protected  java.lang.String usage
           
 
Constructor Summary
AdministrativeArea(Locality locality, PostOffice postOffice, PostalCode postalCode)
          Value constructor with only mandatory fields
 
Method Summary
 AdministrativeArea addToAddressLine(AddressLine addressLine)
          add a value to the addressLine property collection
 AdministrativeArea addToAdministrativeAreaName(AdministrativeArea.AdministrativeAreaName administrativeAreaName)
          add a value to the administrativeAreaName property collection
 AdministrativeArea addToAny(java.lang.Object any)
          add a value to the any property collection
 AdministrativeArea clone()
           
 AddressLine createAndAddAddressLine()
          Creates a new instance of AddressLine and adds it to addressLine.
 AdministrativeArea.AdministrativeAreaName createAndAddAdministrativeAreaName()
          Creates a new instance of AdministrativeArea.AdministrativeAreaName and adds it to administrativeAreaName.
 Locality createAndSetLocality(PostBox postBox, LargeMailUser largeMailUser, PostOffice postOffice, PostalRoute postalRoute)
          Creates a new instance of Locality and set it to locality.
 PostalCode createAndSetPostalCode()
          Creates a new instance of PostalCode and set it to postalCode.
 PostOffice createAndSetPostOffice()
          Creates a new instance of PostOffice and set it to postOffice.
 AdministrativeArea.SubAdministrativeArea createAndSetSubAdministrativeArea(Locality locality, PostOffice postOffice, PostalCode postalCode)
          Creates a new instance of AdministrativeArea.SubAdministrativeArea and set it to subAdministrativeArea.
 boolean equals(java.lang.Object obj)
           
 java.util.List<AddressLine> getAddressLine()
           
 java.util.List<AdministrativeArea.AdministrativeAreaName> getAdministrativeAreaName()
           
 java.util.List<java.lang.Object> getAny()
           
 java.lang.String getIndicator()
           
 Locality getLocality()
           
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
           
 PostalCode getPostalCode()
           
 PostOffice getPostOffice()
           
 AdministrativeArea.SubAdministrativeArea getSubAdministrativeArea()
           
 java.lang.String getUnderscore()
           
 java.lang.String getUsage()
           
 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 setAdministrativeAreaName(java.util.List<AdministrativeArea.AdministrativeAreaName> administrativeAreaName)
          Sets the value of the administrativeAreaName property Objects of the following type(s) are allowed in the list List.
 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 setIndicator(java.lang.String value)
           
 void setLocality(Locality value)
           
 void setPostalCode(PostalCode value)
           
 void setPostOffice(PostOffice value)
           
 void setSubAdministrativeArea(AdministrativeArea.SubAdministrativeArea value)
           
 void setUnderscore(java.lang.String value)
           
 void setUsage(java.lang.String value)
           
 AdministrativeArea withAddressLine(java.util.List<AddressLine> addressLine)
          fluent setter
 AdministrativeArea withAdministrativeAreaName(java.util.List<AdministrativeArea.AdministrativeAreaName> administrativeAreaName)
          fluent setter
 AdministrativeArea withAny(java.util.List<java.lang.Object> any)
          fluent setter
 AdministrativeArea withIndicator(java.lang.String indicator)
          fluent setter
 AdministrativeArea withSubAdministrativeArea(AdministrativeArea.SubAdministrativeArea subAdministrativeArea)
          fluent setter
 AdministrativeArea withUnderscore(java.lang.String underscore)
          fluent setter
 AdministrativeArea withUsage(java.lang.String usage)
          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

administrativeAreaName

protected java.util.List<AdministrativeArea.AdministrativeAreaName> administrativeAreaName

subAdministrativeArea

protected AdministrativeArea.SubAdministrativeArea subAdministrativeArea

locality

protected Locality locality

postOffice

protected PostOffice postOffice

postalCode

protected PostalCode postalCode

any

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

underscore

protected java.lang.String underscore

usage

protected java.lang.String usage

indicator

protected java.lang.String indicator
Constructor Detail

AdministrativeArea

public AdministrativeArea(Locality locality,
                          PostOffice postOffice,
                          PostalCode postalCode)
Value constructor with only mandatory fields

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

getAddressLine

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

getAdministrativeAreaName

public java.util.List<AdministrativeArea.AdministrativeAreaName> getAdministrativeAreaName()

getSubAdministrativeArea

public AdministrativeArea.SubAdministrativeArea getSubAdministrativeArea()
Returns:
possible object is AdministrativeArea.SubAdministrativeArea

setSubAdministrativeArea

public void setSubAdministrativeArea(AdministrativeArea.SubAdministrativeArea value)
Parameters:
value - allowed object is AdministrativeArea.SubAdministrativeArea

getLocality

public Locality getLocality()
Returns:
possible object is Locality

setLocality

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

getPostOffice

public PostOffice getPostOffice()
Returns:
possible object is PostOffice

setPostOffice

public void setPostOffice(PostOffice value)
Parameters:
value - allowed object is PostOffice

getPostalCode

public PostalCode getPostalCode()
Returns:
possible object is PostalCode

setPostalCode

public void setPostalCode(PostalCode value)
Parameters:
value - allowed object is PostalCode

getAny

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

getUnderscore

public java.lang.String getUnderscore()
Returns:
possible object is String

setUnderscore

public void setUnderscore(java.lang.String value)
Parameters:
value - allowed object is String

getUsage

public java.lang.String getUsage()
Returns:
possible object is String

setUsage

public void setUsage(java.lang.String value)
Parameters:
value - allowed object is String

getIndicator

public java.lang.String getIndicator()
Returns:
possible object is String

setIndicator

public void setIndicator(java.lang.String value)
Parameters:
value - allowed object is String

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);


createAndAddAdministrativeAreaName

public AdministrativeArea.AdministrativeAreaName createAndAddAdministrativeAreaName()
Creates a new instance of AdministrativeArea.AdministrativeAreaName and adds it to administrativeAreaName. This method is a short version for: AdministrativeAreaName administrativeAreaName = new AdministrativeAreaName(); this.getAdministrativeAreaName().add(administrativeAreaName);


createAndSetSubAdministrativeArea

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

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

createAndSetPostOffice

public PostOffice createAndSetPostOffice()
Creates a new instance of PostOffice and set it to postOffice. This method is a short version for: PostOffice postOffice = new PostOffice(); this.setPostOffice(postOffice);


createAndSetPostalCode

public PostalCode createAndSetPostalCode()
Creates a new instance of PostalCode and set it to postalCode. This method is a short version for: PostalCode postalCode = new PostalCode(); this.setPostalCode(postalCode);


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 AdministrativeArea 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).

setAdministrativeAreaName

public void setAdministrativeAreaName(java.util.List<AdministrativeArea.AdministrativeAreaName> administrativeAreaName)
Sets the value of the administrativeAreaName 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 withAdministrativeAreaName(java.util.List) instead.

Parameters:
administrativeAreaName -

addToAdministrativeAreaName

public AdministrativeArea addToAdministrativeAreaName(AdministrativeArea.AdministrativeAreaName administrativeAreaName)
add a value to the administrativeAreaName property collection

Parameters:
administrativeAreaName - Objects of the following type are allowed in the list: AdministrativeArea.AdministrativeAreaName
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 AdministrativeArea 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 AdministrativeArea withAddressLine(java.util.List<AddressLine> addressLine)
fluent setter

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

withAdministrativeAreaName

public AdministrativeArea withAdministrativeAreaName(java.util.List<AdministrativeArea.AdministrativeAreaName> administrativeAreaName)
fluent setter

Parameters:
administrativeAreaName - required parameter
See Also:
#setAdministrativeAreaName(List)

withSubAdministrativeArea

public AdministrativeArea withSubAdministrativeArea(AdministrativeArea.SubAdministrativeArea subAdministrativeArea)
fluent setter

Parameters:
subAdministrativeArea - required parameter
See Also:
setSubAdministrativeArea(SubAdministrativeArea)

withAny

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

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

withUnderscore

public AdministrativeArea withUnderscore(java.lang.String underscore)
fluent setter

Parameters:
underscore - required parameter
See Also:
setUnderscore(String)

withUsage

public AdministrativeArea withUsage(java.lang.String usage)
fluent setter

Parameters:
usage - required parameter
See Also:
setUsage(String)

withIndicator

public AdministrativeArea withIndicator(java.lang.String indicator)
fluent setter

Parameters:
indicator - required parameter
See Also:
setIndicator(String)

clone

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