public class PostalRoute
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
PostalRoute.PostalRouteName |
static class |
PostalRoute.PostalRouteNumber |
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
PostalRoute(java.util.List<PostalRoute.PostalRouteName> postalRouteName,
PostalRoute.PostalRouteNumber postalRouteNumber)
Value constructor with only mandatory fields
|
| Modifier and Type | Method and Description |
|---|---|
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
|
protected java.util.List<AddressLine> addressLine
protected java.util.List<PostalRoute.PostalRouteName> postalRouteName
protected PostalRoute.PostalRouteNumber postalRouteNumber
protected PostBox postBox
protected java.util.List<java.lang.Object> any
protected java.lang.String underscore
public PostalRoute(java.util.List<PostalRoute.PostalRouteName> postalRouteName, PostalRoute.PostalRouteNumber postalRouteNumber)
postalRouteName - required parameterpostalRouteNumber - required parameterpublic java.util.List<AddressLine> getAddressLine()
public java.util.List<PostalRoute.PostalRouteName> getPostalRouteName()
public PostalRoute.PostalRouteNumber getPostalRouteNumber()
PostalRoute.PostalRouteNumberpublic void setPostalRouteNumber(PostalRoute.PostalRouteNumber value)
value - allowed object is
PostalRoute.PostalRouteNumberpublic java.util.List<java.lang.Object> getAny()
public java.lang.String getUnderscore()
Stringpublic void setUnderscore(java.lang.String value)
value - allowed object is
Stringpublic java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic AddressLine createAndAddAddressLine()
AddressLine and adds it to addressLine.
This method is a short version for:
AddressLine addressLine = new AddressLine();
this.getAddressLine().add(addressLine); public PostalRoute.PostalRouteName createAndAddPostalRouteName()
PostalRoute.PostalRouteName and adds it to postalRouteName.
This method is a short version for:
PostalRouteName postalRouteName = new PostalRouteName();
this.getPostalRouteName().add(postalRouteName); public PostalRoute.PostalRouteNumber createAndSetPostalRouteNumber()
PostalRoute.PostalRouteNumber and set it to postalRouteNumber.
This method is a short version for:
PostalRouteNumber postalRouteNumber = new PostalRouteNumber();
this.setPostalRouteNumber(postalRouteNumber); public PostBox createAndSetPostBox(PostBox.PostBoxNumber postBoxNumber)
PostBox and set it to postBox.
This method is a short version for:
PostBox postBox = new PostBox();
this.setPostBox(postBox); postBoxNumber - required parameterpublic void setAddressLine(java.util.List<AddressLine> addressLine)
Note:
This method does not make use of the fluent pattern.If you would like to make it fluent, use withAddressLine(java.util.List<de.micromata.opengis.kml.v_2_2_0.xal.AddressLine>) instead.
addressLine - public PostalRoute addToAddressLine(AddressLine addressLine)
addressLine - Objects of the following type are allowed in the list: AddressLinepublic void setPostalRouteName(java.util.List<PostalRoute.PostalRouteName> postalRouteName)
Note:
This method does not make use of the fluent pattern.If you would like to make it fluent, use #withPostalRouteName instead.
postalRouteName - public PostalRoute addToPostalRouteName(PostalRoute.PostalRouteName postalRouteName)
postalRouteName - Objects of the following type are allowed in the list: PostalRoute.PostalRouteNamepublic void setAny(java.util.List<java.lang.Object> any)
any - public PostalRoute addToAny(java.lang.Object any)
any - Objects of the following type are allowed in the list: Objectpublic PostalRoute withAddressLine(java.util.List<AddressLine> addressLine)
addressLine - required parameter#setAddressLine(List) public PostalRoute withPostBox(PostBox postBox)
postBox - required parametersetPostBox(PostBox)public PostalRoute withAny(java.util.List<java.lang.Object> any)
any - required parameter#setAny(Listpublic PostalRoute withUnderscore(java.lang.String underscore)
underscore - required parametersetUnderscore(String)public PostalRoute clone()
clone in class java.lang.ObjectCopyright © 2014 Micromata GmbH. All Rights Reserved.