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

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

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


Nested Class Summary
static class AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName
           
 
Field Summary
protected  java.util.List<AddressLine> addressLine
           
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String indicator
           
protected  Locality locality
           
protected  PostalCode postalCode
           
protected  PostOffice postOffice
           
protected  java.util.List<AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName> subAdministrativeAreaName
           
protected  java.lang.String underscore
           
protected  java.lang.String usage
           
 
Constructor Summary
AdministrativeArea.SubAdministrativeArea(Locality locality, PostOffice postOffice, PostalCode postalCode)
          Value constructor with only mandatory fields
 
Method Summary
 AdministrativeArea.SubAdministrativeArea addToAddressLine(AddressLine addressLine)
          add a value to the addressLine property collection
 AdministrativeArea.SubAdministrativeArea addToAny(java.lang.Object any)
          add a value to the any property collection
 AdministrativeArea.SubAdministrativeArea addToSubAdministrativeAreaName(AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName subAdministrativeAreaName)
          add a value to the subAdministrativeAreaName property collection
 AdministrativeArea.SubAdministrativeArea clone()
           
 AddressLine createAndAddAddressLine()
          Creates a new instance of AddressLine and adds it to addressLine.
 AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName createAndAddSubAdministrativeAreaName()
          Creates a new instance of AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName and adds it to subAdministrativeAreaName.
 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.
 boolean equals(java.lang.Object obj)
           
 java.util.List<AddressLine> getAddressLine()
           
 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()
           
 java.util.List<AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName> getSubAdministrativeAreaName()
           
 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 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 setSubAdministrativeAreaName(java.util.List<AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName> subAdministrativeAreaName)
          Sets the value of the subAdministrativeAreaName property Objects of the following type(s) are allowed in the list List.
 void setUnderscore(java.lang.String value)
           
 void setUsage(java.lang.String value)
           
 AdministrativeArea.SubAdministrativeArea withAddressLine(java.util.List<AddressLine> addressLine)
          fluent setter
 AdministrativeArea.SubAdministrativeArea withAny(java.util.List<java.lang.Object> any)
          fluent setter
 AdministrativeArea.SubAdministrativeArea withIndicator(java.lang.String indicator)
          fluent setter
 AdministrativeArea.SubAdministrativeArea withSubAdministrativeAreaName(java.util.List<AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName> subAdministrativeAreaName)
          fluent setter
 AdministrativeArea.SubAdministrativeArea withUnderscore(java.lang.String underscore)
          fluent setter
 AdministrativeArea.SubAdministrativeArea 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

subAdministrativeAreaName

protected java.util.List<AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName> subAdministrativeAreaName

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

public AdministrativeArea.SubAdministrativeArea(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()

getSubAdministrativeAreaName

public java.util.List<AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName> getSubAdministrativeAreaName()

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


createAndAddSubAdministrativeAreaName

public AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName createAndAddSubAdministrativeAreaName()
Creates a new instance of AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName and adds it to subAdministrativeAreaName. This method is a short version for: SubAdministrativeAreaName subAdministrativeAreaName = new SubAdministrativeAreaName(); this.getSubAdministrativeAreaName().add(subAdministrativeAreaName);


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

setSubAdministrativeAreaName

public void setSubAdministrativeAreaName(java.util.List<AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName> subAdministrativeAreaName)
Sets the value of the subAdministrativeAreaName 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 withSubAdministrativeAreaName(java.util.List) instead.

Parameters:
subAdministrativeAreaName -

addToSubAdministrativeAreaName

public AdministrativeArea.SubAdministrativeArea addToSubAdministrativeAreaName(AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName subAdministrativeAreaName)
add a value to the subAdministrativeAreaName property collection

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

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

withSubAdministrativeAreaName

public AdministrativeArea.SubAdministrativeArea withSubAdministrativeAreaName(java.util.List<AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName> subAdministrativeAreaName)
fluent setter

Parameters:
subAdministrativeAreaName - required parameter
See Also:
#setSubAdministrativeAreaName(List)

withAny

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

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

withUnderscore

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

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

withUsage

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

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

withIndicator

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

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

clone

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