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

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

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


Nested Class Summary
static class PostOffice.PostOfficeName
           
static class PostOffice.PostOfficeNumber
           
 
Field Summary
protected  java.util.List<AddressLine> addressLine
           
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String indicator
           
protected  PostalCode postalCode
           
protected  PostalRoute postalRoute
           
protected  PostBox postBox
           
protected  java.util.List<PostOffice.PostOfficeName> postOfficeName
           
protected  PostOffice.PostOfficeNumber postOfficeNumber
           
protected  java.lang.String underscore
           
 
Constructor Summary
PostOffice()
           
 
Method Summary
 PostOffice addToAddressLine(AddressLine addressLine)
          add a value to the addressLine property collection
 PostOffice addToAny(java.lang.Object any)
          add a value to the any property collection
 PostOffice addToPostOfficeName(PostOffice.PostOfficeName postOfficeName)
          add a value to the postOfficeName property collection
 PostOffice clone()
           
 AddressLine createAndAddAddressLine()
          Creates a new instance of AddressLine and adds it to addressLine.
 PostOffice.PostOfficeName createAndAddPostOfficeName()
          Creates a new instance of PostOffice.PostOfficeName and adds it to postOfficeName.
 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.PostOfficeNumber createAndSetPostOfficeNumber()
          Creates a new instance of PostOffice.PostOfficeNumber and set it to postOfficeNumber.
 boolean equals(java.lang.Object obj)
           
 java.util.List<AddressLine> getAddressLine()
           
 java.util.List<java.lang.Object> getAny()
           
 java.lang.String getIndicator()
           
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
           
 PostalCode getPostalCode()
           
 PostalRoute getPostalRoute()
           
 PostBox getPostBox()
           
 java.util.List<PostOffice.PostOfficeName> getPostOfficeName()
           
 PostOffice.PostOfficeNumber getPostOfficeNumber()
           
 java.lang.String getUnderscore()
           
 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 setPostalCode(PostalCode value)
           
 void setPostalRoute(PostalRoute value)
           
 void setPostBox(PostBox value)
           
 void setPostOfficeName(java.util.List<PostOffice.PostOfficeName> postOfficeName)
          Sets the value of the postOfficeName property Objects of the following type(s) are allowed in the list List.
 void setPostOfficeNumber(PostOffice.PostOfficeNumber value)
           
 void setUnderscore(java.lang.String value)
           
 PostOffice withAddressLine(java.util.List<AddressLine> addressLine)
          fluent setter
 PostOffice withAny(java.util.List<java.lang.Object> any)
          fluent setter
 PostOffice withIndicator(java.lang.String indicator)
          fluent setter
 PostOffice withPostalCode(PostalCode postalCode)
          fluent setter
 PostOffice withPostalRoute(PostalRoute postalRoute)
          fluent setter
 PostOffice withPostBox(PostBox postBox)
          fluent setter
 PostOffice withPostOfficeName(java.util.List<PostOffice.PostOfficeName> postOfficeName)
          fluent setter
 PostOffice withPostOfficeNumber(PostOffice.PostOfficeNumber postOfficeNumber)
          fluent setter
 PostOffice withUnderscore(java.lang.String underscore)
          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

postOfficeName

protected java.util.List<PostOffice.PostOfficeName> postOfficeName

postOfficeNumber

protected PostOffice.PostOfficeNumber postOfficeNumber

postalRoute

protected PostalRoute postalRoute

postBox

protected PostBox postBox

postalCode

protected PostalCode postalCode

any

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

underscore

protected java.lang.String underscore

indicator

protected java.lang.String indicator
Constructor Detail

PostOffice

public PostOffice()
Method Detail

getAddressLine

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

getPostOfficeName

public java.util.List<PostOffice.PostOfficeName> getPostOfficeName()

getPostOfficeNumber

public PostOffice.PostOfficeNumber getPostOfficeNumber()
Returns:
possible object is PostOffice.PostOfficeNumber

setPostOfficeNumber

public void setPostOfficeNumber(PostOffice.PostOfficeNumber value)
Parameters:
value - allowed object is PostOffice.PostOfficeNumber

getPostalRoute

public PostalRoute getPostalRoute()
Returns:
possible object is PostalRoute

setPostalRoute

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

getPostBox

public PostBox getPostBox()
Returns:
possible object is PostBox

setPostBox

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

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

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


createAndAddPostOfficeName

public PostOffice.PostOfficeName createAndAddPostOfficeName()
Creates a new instance of PostOffice.PostOfficeName and adds it to postOfficeName. This method is a short version for: PostOfficeName postOfficeName = new PostOfficeName(); this.getPostOfficeName().add(postOfficeName);


createAndSetPostOfficeNumber

public PostOffice.PostOfficeNumber createAndSetPostOfficeNumber()
Creates a new instance of PostOffice.PostOfficeNumber and set it to postOfficeNumber. This method is a short version for: PostOfficeNumber postOfficeNumber = new PostOfficeNumber(); this.setPostOfficeNumber(postOfficeNumber);


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

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

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

setPostOfficeName

public void setPostOfficeName(java.util.List<PostOffice.PostOfficeName> postOfficeName)
Sets the value of the postOfficeName 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 withPostOfficeName(java.util.List) instead.

Parameters:
postOfficeName -

addToPostOfficeName

public PostOffice addToPostOfficeName(PostOffice.PostOfficeName postOfficeName)
add a value to the postOfficeName property collection

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

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

withPostOfficeName

public PostOffice withPostOfficeName(java.util.List<PostOffice.PostOfficeName> postOfficeName)
fluent setter

Parameters:
postOfficeName - required parameter
See Also:
#setPostOfficeName(List)

withPostOfficeNumber

public PostOffice withPostOfficeNumber(PostOffice.PostOfficeNumber postOfficeNumber)
fluent setter

Parameters:
postOfficeNumber - required parameter
See Also:
setPostOfficeNumber(PostOfficeNumber)

withPostalRoute

public PostOffice withPostalRoute(PostalRoute postalRoute)
fluent setter

Parameters:
postalRoute - required parameter
See Also:
setPostalRoute(PostalRoute)

withPostBox

public PostOffice withPostBox(PostBox postBox)
fluent setter

Parameters:
postBox - required parameter
See Also:
setPostBox(PostBox)

withPostalCode

public PostOffice withPostalCode(PostalCode postalCode)
fluent setter

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

withAny

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

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

withUnderscore

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

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

withIndicator

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

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

clone

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