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

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

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


Nested Class Summary
static class PostalRoute.PostalRouteName
           
static class PostalRoute.PostalRouteNumber
           
 
Field Summary
protected  java.util.List<AddressLine> addressLine
           
protected  java.util.List<java.lang.Object> any
           
protected  java.util.List<PostalRoute.PostalRouteName> postalRouteName
           
protected  PostalRoute.PostalRouteNumber postalRouteNumber
           
protected  PostBox postBox
           
protected  java.lang.String underscore
           
 
Constructor Summary
PostalRoute(java.util.List<PostalRoute.PostalRouteName> postalRouteName, PostalRoute.PostalRouteNumber postalRouteNumber)
          Value constructor with only mandatory fields
 
Method Summary
 PostalRoute addToAddressLine(AddressLine addressLine)
          add a value to the addressLine property collection
 PostalRoute addToAny(java.lang.Object any)
          add a value to the any property collection
 PostalRoute addToPostalRouteName(PostalRoute.PostalRouteName postalRouteName)
          add a value to the postalRouteName property collection
 PostalRoute clone()
           
 AddressLine createAndAddAddressLine()
          Creates a new instance of AddressLine and adds it to addressLine.
 PostalRoute.PostalRouteName createAndAddPostalRouteName()
          Creates a new instance of PostalRoute.PostalRouteName and adds it to postalRouteName.
 PostalRoute.PostalRouteNumber createAndSetPostalRouteNumber()
          Creates a new instance of PostalRoute.PostalRouteNumber and set it to postalRouteNumber.
 PostBox createAndSetPostBox(PostBox.PostBoxNumber postBoxNumber)
          Creates a new instance of PostBox and set it to postBox.
 boolean equals(java.lang.Object obj)
           
 java.util.List<AddressLine> getAddressLine()
           
 java.util.List<java.lang.Object> getAny()
           
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
           
 java.util.List<PostalRoute.PostalRouteName> getPostalRouteName()
           
 PostalRoute.PostalRouteNumber getPostalRouteNumber()
           
 PostBox getPostBox()
           
 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 setPostalRouteName(java.util.List<PostalRoute.PostalRouteName> postalRouteName)
          Sets the value of the postalRouteName property Objects of the following type(s) are allowed in the list List.
 void setPostalRouteNumber(PostalRoute.PostalRouteNumber value)
           
 void setPostBox(PostBox value)
           
 void setUnderscore(java.lang.String value)
           
 PostalRoute withAddressLine(java.util.List<AddressLine> addressLine)
          fluent setter
 PostalRoute withAny(java.util.List<java.lang.Object> any)
          fluent setter
 PostalRoute withPostBox(PostBox postBox)
          fluent setter
 PostalRoute 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

postalRouteName

protected java.util.List<PostalRoute.PostalRouteName> postalRouteName

postalRouteNumber

protected PostalRoute.PostalRouteNumber postalRouteNumber

postBox

protected PostBox postBox

any

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

underscore

protected java.lang.String underscore
Constructor Detail

PostalRoute

public PostalRoute(java.util.List<PostalRoute.PostalRouteName> postalRouteName,
                   PostalRoute.PostalRouteNumber postalRouteNumber)
Value constructor with only mandatory fields

Parameters:
postalRouteName - required parameter
postalRouteNumber - required parameter
Method Detail

getAddressLine

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

getPostalRouteName

public java.util.List<PostalRoute.PostalRouteName> getPostalRouteName()

getPostalRouteNumber

public PostalRoute.PostalRouteNumber getPostalRouteNumber()
Returns:
possible object is PostalRoute.PostalRouteNumber

setPostalRouteNumber

public void setPostalRouteNumber(PostalRoute.PostalRouteNumber value)
Parameters:
value - allowed object is PostalRoute.PostalRouteNumber

getPostBox

public PostBox getPostBox()
Returns:
possible object is PostBox

setPostBox

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

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

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


createAndAddPostalRouteName

public PostalRoute.PostalRouteName createAndAddPostalRouteName()
Creates a new instance of PostalRoute.PostalRouteName and adds it to postalRouteName. This method is a short version for: PostalRouteName postalRouteName = new PostalRouteName(); this.getPostalRouteName().add(postalRouteName);


createAndSetPostalRouteNumber

public PostalRoute.PostalRouteNumber createAndSetPostalRouteNumber()
Creates a new instance of PostalRoute.PostalRouteNumber and set it to postalRouteNumber. This method is a short version for: PostalRouteNumber postalRouteNumber = new PostalRouteNumber(); this.setPostalRouteNumber(postalRouteNumber);


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

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

setPostalRouteName

public void setPostalRouteName(java.util.List<PostalRoute.PostalRouteName> postalRouteName)
Sets the value of the postalRouteName 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 #withPostalRouteName instead.

Parameters:
postalRouteName -

addToPostalRouteName

public PostalRoute addToPostalRouteName(PostalRoute.PostalRouteName postalRouteName)
add a value to the postalRouteName property collection

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

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

withPostBox

public PostalRoute withPostBox(PostBox postBox)
fluent setter

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

withAny

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

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

withUnderscore

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

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

clone

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