public class PostOffice
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
PostOffice.PostOfficeName |
static class |
PostOffice.PostOfficeNumber |
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
PostOffice() |
| Modifier and Type | Method and Description |
|---|---|
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
|
protected java.util.List<AddressLine> addressLine
protected java.util.List<PostOffice.PostOfficeName> postOfficeName
protected PostOffice.PostOfficeNumber postOfficeNumber
protected PostalRoute postalRoute
protected PostBox postBox
protected PostalCode postalCode
protected java.util.List<java.lang.Object> any
protected java.lang.String underscore
protected java.lang.String indicator
public java.util.List<AddressLine> getAddressLine()
public java.util.List<PostOffice.PostOfficeName> getPostOfficeName()
public PostOffice.PostOfficeNumber getPostOfficeNumber()
PostOffice.PostOfficeNumberpublic void setPostOfficeNumber(PostOffice.PostOfficeNumber value)
value - allowed object is
PostOffice.PostOfficeNumberpublic PostalRoute getPostalRoute()
PostalRoutepublic void setPostalRoute(PostalRoute value)
value - allowed object is
PostalRoutepublic PostalCode getPostalCode()
PostalCodepublic void setPostalCode(PostalCode value)
value - allowed object is
PostalCodepublic 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.lang.String getIndicator()
Stringpublic void setIndicator(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 PostOffice.PostOfficeName createAndAddPostOfficeName()
PostOffice.PostOfficeName and adds it to postOfficeName.
This method is a short version for:
PostOfficeName postOfficeName = new PostOfficeName();
this.getPostOfficeName().add(postOfficeName); public PostOffice.PostOfficeNumber createAndSetPostOfficeNumber()
PostOffice.PostOfficeNumber and set it to postOfficeNumber.
This method is a short version for:
PostOfficeNumber postOfficeNumber = new PostOfficeNumber();
this.setPostOfficeNumber(postOfficeNumber); public PostalRoute createAndSetPostalRoute(java.util.List<PostalRoute.PostalRouteName> postalRouteName, PostalRoute.PostalRouteNumber postalRouteNumber)
PostalRoute and set it to postalRoute.
This method is a short version for:
PostalRoute postalRoute = new PostalRoute();
this.setPostalRoute(postalRoute); postalRouteName - required parameterpostalRouteNumber - required parameterpublic 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 PostalCode createAndSetPostalCode()
PostalCode and set it to postalCode.
This method is a short version for:
PostalCode postalCode = new PostalCode();
this.setPostalCode(postalCode); public 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 PostOffice addToAddressLine(AddressLine addressLine)
addressLine - Objects of the following type are allowed in the list: AddressLinepublic void setPostOfficeName(java.util.List<PostOffice.PostOfficeName> postOfficeName)
Note:
This method does not make use of the fluent pattern.If you would like to make it fluent, use withPostOfficeName(java.util.List<de.micromata.opengis.kml.v_2_2_0.xal.PostOffice.PostOfficeName>) instead.
postOfficeName - public PostOffice addToPostOfficeName(PostOffice.PostOfficeName postOfficeName)
postOfficeName - Objects of the following type are allowed in the list: PostOffice.PostOfficeNamepublic void setAny(java.util.List<java.lang.Object> any)
any - public PostOffice addToAny(java.lang.Object any)
any - Objects of the following type are allowed in the list: Objectpublic PostOffice withAddressLine(java.util.List<AddressLine> addressLine)
addressLine - required parameter#setAddressLine(List) public PostOffice withPostOfficeName(java.util.List<PostOffice.PostOfficeName> postOfficeName)
postOfficeName - required parameter#setPostOfficeName(List) public PostOffice withPostOfficeNumber(PostOffice.PostOfficeNumber postOfficeNumber)
postOfficeNumber - required parametersetPostOfficeNumber(PostOfficeNumber)public PostOffice withPostalRoute(PostalRoute postalRoute)
postalRoute - required parametersetPostalRoute(PostalRoute)public PostOffice withPostBox(PostBox postBox)
postBox - required parametersetPostBox(PostBox)public PostOffice withPostalCode(PostalCode postalCode)
postalCode - required parametersetPostalCode(PostalCode)public PostOffice withAny(java.util.List<java.lang.Object> any)
any - required parameter#setAny(Listpublic PostOffice withUnderscore(java.lang.String underscore)
underscore - required parametersetUnderscore(String)public PostOffice withIndicator(java.lang.String indicator)
indicator - required parametersetIndicator(String)public PostOffice clone()
clone in class java.lang.ObjectCopyright © 2014 Micromata GmbH. All Rights Reserved.