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

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

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


Nested Class Summary
static class DependentLocality.DependentLocalityName
           
static class DependentLocality.DependentLocalityNumber
           
 
Field Summary
protected  java.util.List<AddressLine> addressLine
           
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String connector
           
protected  DependentLocality dependentLocality
           
protected  java.util.List<DependentLocality.DependentLocalityName> dependentLocalityName
           
protected  DependentLocality.DependentLocalityNumber dependentLocalityNumber
           
protected  java.lang.String indicator
           
protected  LargeMailUser largeMailUser
           
protected  PostalCode postalCode
           
protected  PostalRoute postalRoute
           
protected  PostBox postBox
           
protected  PostOffice postOffice
           
protected  Premise premise
           
protected  Thoroughfare thoroughfare
           
protected  java.lang.String underscore
           
protected  java.lang.String usage
           
 
Constructor Summary
DependentLocality(PostBox postBox, LargeMailUser largeMailUser, PostOffice postOffice, PostalRoute postalRoute)
          Value constructor with only mandatory fields
 
Method Summary
 DependentLocality addToAddressLine(AddressLine addressLine)
          add a value to the addressLine property collection
 DependentLocality addToAny(java.lang.Object any)
          add a value to the any property collection
 DependentLocality addToDependentLocalityName(DependentLocality.DependentLocalityName dependentLocalityName)
          add a value to the dependentLocalityName property collection
 DependentLocality clone()
           
 AddressLine createAndAddAddressLine()
          Creates a new instance of AddressLine and adds it to addressLine.
 DependentLocality.DependentLocalityName createAndAddDependentLocalityName()
          Creates a new instance of DependentLocality.DependentLocalityName and adds it to dependentLocalityName.
 DependentLocality createAndSetDependentLocality(PostBox postBox, LargeMailUser largeMailUser, PostOffice postOffice, PostalRoute postalRoute)
          Creates a new instance of DependentLocality and set it to dependentLocality.
 DependentLocality.DependentLocalityNumber createAndSetDependentLocalityNumber()
          Creates a new instance of DependentLocality.DependentLocalityNumber and set it to dependentLocalityNumber.
 LargeMailUser createAndSetLargeMailUser()
          Creates a new instance of LargeMailUser and set it to largeMailUser.
 PostalCode createAndSetPostalCode()
          Creates a new instance of PostalCode and set it to postalCode.
 PostalRoute createAndSetPostalRoute(java.util.List<PostalRoute.PostalRouteName> postalRouteName, PostalRoute.PostalRouteNumber postalRouteNumber)
          Creates a new instance of PostalRoute and set it to postalRoute.
 PostBox createAndSetPostBox(PostBox.PostBoxNumber postBoxNumber)
          Creates a new instance of PostBox and set it to postBox.
 PostOffice createAndSetPostOffice()
          Creates a new instance of PostOffice and set it to postOffice.
 Premise createAndSetPremise(Premise.PremiseLocation premiseLocation, java.util.List<PremiseNumber> premiseNumber, Premise.PremiseNumberRange premiseNumberRange)
          Creates a new instance of Premise and set it to premise.
 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()
           
 java.util.List<java.lang.Object> getAny()
           
 java.lang.String getConnector()
           
 DependentLocality getDependentLocality()
           
 java.util.List<DependentLocality.DependentLocalityName> getDependentLocalityName()
           
 DependentLocality.DependentLocalityNumber getDependentLocalityNumber()
           
 java.lang.String getIndicator()
           
 LargeMailUser getLargeMailUser()
           
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
           
 PostalCode getPostalCode()
           
 PostalRoute getPostalRoute()
           
 PostBox getPostBox()
           
 PostOffice getPostOffice()
           
 Premise getPremise()
           
 Thoroughfare getThoroughfare()
           
 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 setConnector(java.lang.String value)
           
 void setDependentLocality(DependentLocality value)
           
 void setDependentLocalityName(java.util.List<DependentLocality.DependentLocalityName> dependentLocalityName)
          Sets the value of the dependentLocalityName property Objects of the following type(s) are allowed in the list List.
 void setDependentLocalityNumber(DependentLocality.DependentLocalityNumber value)
           
 void setIndicator(java.lang.String value)
           
 void setLargeMailUser(LargeMailUser value)
           
 void setPostalCode(PostalCode value)
           
 void setPostalRoute(PostalRoute value)
           
 void setPostBox(PostBox value)
           
 void setPostOffice(PostOffice value)
           
 void setPremise(Premise value)
           
 void setThoroughfare(Thoroughfare value)
           
 void setUnderscore(java.lang.String value)
           
 void setUsage(java.lang.String value)
           
 DependentLocality withAddressLine(java.util.List<AddressLine> addressLine)
          fluent setter
 DependentLocality withAny(java.util.List<java.lang.Object> any)
          fluent setter
 DependentLocality withConnector(java.lang.String connector)
          fluent setter
 DependentLocality withDependentLocality(DependentLocality dependentLocality)
          fluent setter
 DependentLocality withDependentLocalityName(java.util.List<DependentLocality.DependentLocalityName> dependentLocalityName)
          fluent setter
 DependentLocality withDependentLocalityNumber(DependentLocality.DependentLocalityNumber dependentLocalityNumber)
          fluent setter
 DependentLocality withIndicator(java.lang.String indicator)
          fluent setter
 DependentLocality withPostalCode(PostalCode postalCode)
          fluent setter
 DependentLocality withPremise(Premise premise)
          fluent setter
 DependentLocality withThoroughfare(Thoroughfare thoroughfare)
          fluent setter
 DependentLocality withUnderscore(java.lang.String underscore)
          fluent setter
 DependentLocality 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

dependentLocalityName

protected java.util.List<DependentLocality.DependentLocalityName> dependentLocalityName

dependentLocalityNumber

protected DependentLocality.DependentLocalityNumber dependentLocalityNumber

postBox

protected PostBox postBox

largeMailUser

protected LargeMailUser largeMailUser

postOffice

protected PostOffice postOffice

postalRoute

protected PostalRoute postalRoute

thoroughfare

protected Thoroughfare thoroughfare

premise

protected Premise premise

dependentLocality

protected DependentLocality dependentLocality

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

connector

protected java.lang.String connector

indicator

protected java.lang.String indicator
Constructor Detail

DependentLocality

public DependentLocality(PostBox postBox,
                         LargeMailUser largeMailUser,
                         PostOffice postOffice,
                         PostalRoute postalRoute)
Value constructor with only mandatory fields

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

getAddressLine

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

getDependentLocalityName

public java.util.List<DependentLocality.DependentLocalityName> getDependentLocalityName()

getDependentLocalityNumber

public DependentLocality.DependentLocalityNumber getDependentLocalityNumber()
Returns:
possible object is DependentLocality.DependentLocalityNumber

setDependentLocalityNumber

public void setDependentLocalityNumber(DependentLocality.DependentLocalityNumber value)
Parameters:
value - allowed object is DependentLocality.DependentLocalityNumber

getPostBox

public PostBox getPostBox()
Returns:
possible object is PostBox

setPostBox

public void setPostBox(PostBox value)
Parameters:
value - allowed object is PostBox

getLargeMailUser

public LargeMailUser getLargeMailUser()
Returns:
possible object is LargeMailUser

setLargeMailUser

public void setLargeMailUser(LargeMailUser value)
Parameters:
value - allowed object is LargeMailUser

getPostOffice

public PostOffice getPostOffice()
Returns:
possible object is PostOffice

setPostOffice

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

getPostalRoute

public PostalRoute getPostalRoute()
Returns:
possible object is PostalRoute

setPostalRoute

public void setPostalRoute(PostalRoute value)
Parameters:
value - allowed object is PostalRoute

getThoroughfare

public Thoroughfare getThoroughfare()
Returns:
possible object is Thoroughfare

setThoroughfare

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

getPremise

public Premise getPremise()
Returns:
possible object is Premise

setPremise

public void setPremise(Premise value)
Parameters:
value - allowed object is Premise

getDependentLocality

public DependentLocality getDependentLocality()
Returns:
possible object is DependentLocality

setDependentLocality

public void setDependentLocality(DependentLocality value)
Parameters:
value - allowed object is DependentLocality

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

getConnector

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

setConnector

public void setConnector(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);


createAndAddDependentLocalityName

public DependentLocality.DependentLocalityName createAndAddDependentLocalityName()
Creates a new instance of DependentLocality.DependentLocalityName and adds it to dependentLocalityName. This method is a short version for: DependentLocalityName dependentLocalityName = new DependentLocalityName(); this.getDependentLocalityName().add(dependentLocalityName);


createAndSetDependentLocalityNumber

public DependentLocality.DependentLocalityNumber createAndSetDependentLocalityNumber()
Creates a new instance of DependentLocality.DependentLocalityNumber and set it to dependentLocalityNumber. This method is a short version for: DependentLocalityNumber dependentLocalityNumber = new DependentLocalityNumber(); this.setDependentLocalityNumber(dependentLocalityNumber);


createAndSetPostBox

public PostBox createAndSetPostBox(PostBox.PostBoxNumber postBoxNumber)
Creates a new instance of PostBox and set it to postBox. This method is a short version for: PostBox postBox = new PostBox(); this.setPostBox(postBox);

Parameters:
postBoxNumber - required parameter

createAndSetLargeMailUser

public LargeMailUser createAndSetLargeMailUser()
Creates a new instance of LargeMailUser and set it to largeMailUser. This method is a short version for: LargeMailUser largeMailUser = new LargeMailUser(); this.setLargeMailUser(largeMailUser);


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


createAndSetPostalRoute

public PostalRoute createAndSetPostalRoute(java.util.List<PostalRoute.PostalRouteName> postalRouteName,
                                           PostalRoute.PostalRouteNumber postalRouteNumber)
Creates a new instance of PostalRoute and set it to postalRoute. This method is a short version for: PostalRoute postalRoute = new PostalRoute(); this.setPostalRoute(postalRoute);

Parameters:
postalRouteName - required parameter
postalRouteNumber - 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

createAndSetPremise

public Premise createAndSetPremise(Premise.PremiseLocation premiseLocation,
                                   java.util.List<PremiseNumber> premiseNumber,
                                   Premise.PremiseNumberRange premiseNumberRange)
Creates a new instance of Premise and set it to premise. This method is a short version for: Premise premise = new Premise(); this.setPremise(premise);

Parameters:
premiseNumberRange - required parameter
premiseLocation - required parameter
premiseNumber - required parameter

createAndSetDependentLocality

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

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

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

setDependentLocalityName

public void setDependentLocalityName(java.util.List<DependentLocality.DependentLocalityName> dependentLocalityName)
Sets the value of the dependentLocalityName 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 withDependentLocalityName(java.util.List) instead.

Parameters:
dependentLocalityName -

addToDependentLocalityName

public DependentLocality addToDependentLocalityName(DependentLocality.DependentLocalityName dependentLocalityName)
add a value to the dependentLocalityName property collection

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

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

withDependentLocalityName

public DependentLocality withDependentLocalityName(java.util.List<DependentLocality.DependentLocalityName> dependentLocalityName)
fluent setter

Parameters:
dependentLocalityName - required parameter
See Also:
#setDependentLocalityName(List)

withDependentLocalityNumber

public DependentLocality withDependentLocalityNumber(DependentLocality.DependentLocalityNumber dependentLocalityNumber)
fluent setter

Parameters:
dependentLocalityNumber - required parameter
See Also:
setDependentLocalityNumber(DependentLocalityNumber)

withThoroughfare

public DependentLocality withThoroughfare(Thoroughfare thoroughfare)
fluent setter

Parameters:
thoroughfare - required parameter
See Also:
setThoroughfare(Thoroughfare)

withPremise

public DependentLocality withPremise(Premise premise)
fluent setter

Parameters:
premise - required parameter
See Also:
setPremise(Premise)

withDependentLocality

public DependentLocality withDependentLocality(DependentLocality dependentLocality)
fluent setter

Parameters:
dependentLocality - required parameter
See Also:
setDependentLocality(DependentLocality)

withPostalCode

public DependentLocality withPostalCode(PostalCode postalCode)
fluent setter

Parameters:
postalCode - required parameter
See Also:
setPostalCode(PostalCode)

withAny

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

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

withUnderscore

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

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

withUsage

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

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

withConnector

public DependentLocality withConnector(java.lang.String connector)
fluent setter

Parameters:
connector - required parameter
See Also:
setConnector(String)

withIndicator

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

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

clone

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