public class PostBox
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
PostBox.PostBoxNumber |
static class |
PostBox.PostBoxNumberExtension |
static class |
PostBox.PostBoxNumberPrefix |
static class |
PostBox.PostBoxNumberSuffix |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<AddressLine> |
addressLine |
protected java.util.List<java.lang.Object> |
any |
protected Firm |
firm |
protected java.lang.String |
indicator |
protected PostalCode |
postalCode |
protected PostBox.PostBoxNumber |
postBoxNumber |
protected PostBox.PostBoxNumberExtension |
postBoxNumberExtension |
protected PostBox.PostBoxNumberPrefix |
postBoxNumberPrefix |
protected PostBox.PostBoxNumberSuffix |
postBoxNumberSuffix |
protected java.lang.String |
underscore |
| Constructor and Description |
|---|
PostBox(PostBox.PostBoxNumber postBoxNumber)
Value constructor with only mandatory fields
|
| Modifier and Type | Method and Description |
|---|---|
PostBox |
addToAddressLine(AddressLine addressLine)
add a value to the addressLine property collection
|
PostBox |
addToAny(java.lang.Object any)
add a value to the any property collection
|
PostBox |
clone() |
AddressLine |
createAndAddAddressLine()
Creates a new instance of
AddressLine and adds it to addressLine. |
Firm |
createAndSetFirm()
Creates a new instance of
Firm and set it to firm. |
PostalCode |
createAndSetPostalCode()
Creates a new instance of
PostalCode and set it to postalCode. |
PostBox.PostBoxNumber |
createAndSetPostBoxNumber()
Creates a new instance of
PostBox.PostBoxNumber and set it to postBoxNumber. |
PostBox.PostBoxNumberExtension |
createAndSetPostBoxNumberExtension()
Creates a new instance of
PostBox.PostBoxNumberExtension and set it to postBoxNumberExtension. |
PostBox.PostBoxNumberPrefix |
createAndSetPostBoxNumberPrefix()
Creates a new instance of
PostBox.PostBoxNumberPrefix and set it to postBoxNumberPrefix. |
PostBox.PostBoxNumberSuffix |
createAndSetPostBoxNumberSuffix()
Creates a new instance of
PostBox.PostBoxNumberSuffix and set it to postBoxNumberSuffix. |
boolean |
equals(java.lang.Object obj) |
java.util.List<AddressLine> |
getAddressLine() |
java.util.List<java.lang.Object> |
getAny() |
Firm |
getFirm() |
java.lang.String |
getIndicator() |
java.util.Map<javax.xml.namespace.QName,java.lang.String> |
getOtherAttributes() |
PostalCode |
getPostalCode() |
PostBox.PostBoxNumber |
getPostBoxNumber() |
PostBox.PostBoxNumberExtension |
getPostBoxNumberExtension() |
PostBox.PostBoxNumberPrefix |
getPostBoxNumberPrefix() |
PostBox.PostBoxNumberSuffix |
getPostBoxNumberSuffix() |
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 |
setFirm(Firm value) |
void |
setIndicator(java.lang.String value) |
void |
setPostalCode(PostalCode value) |
void |
setPostBoxNumber(PostBox.PostBoxNumber value) |
void |
setPostBoxNumberExtension(PostBox.PostBoxNumberExtension value) |
void |
setPostBoxNumberPrefix(PostBox.PostBoxNumberPrefix value) |
void |
setPostBoxNumberSuffix(PostBox.PostBoxNumberSuffix value) |
void |
setUnderscore(java.lang.String value) |
PostBox |
withAddressLine(java.util.List<AddressLine> addressLine)
fluent setter
|
PostBox |
withAny(java.util.List<java.lang.Object> any)
fluent setter
|
PostBox |
withFirm(Firm firm)
fluent setter
|
PostBox |
withIndicator(java.lang.String indicator)
fluent setter
|
PostBox |
withPostalCode(PostalCode postalCode)
fluent setter
|
PostBox |
withPostBoxNumberExtension(PostBox.PostBoxNumberExtension postBoxNumberExtension)
fluent setter
|
PostBox |
withPostBoxNumberPrefix(PostBox.PostBoxNumberPrefix postBoxNumberPrefix)
fluent setter
|
PostBox |
withPostBoxNumberSuffix(PostBox.PostBoxNumberSuffix postBoxNumberSuffix)
fluent setter
|
PostBox |
withUnderscore(java.lang.String underscore)
fluent setter
|
protected java.util.List<AddressLine> addressLine
protected PostBox.PostBoxNumber postBoxNumber
protected PostBox.PostBoxNumberPrefix postBoxNumberPrefix
protected PostBox.PostBoxNumberSuffix postBoxNumberSuffix
protected PostBox.PostBoxNumberExtension postBoxNumberExtension
protected Firm firm
protected PostalCode postalCode
protected java.util.List<java.lang.Object> any
protected java.lang.String underscore
protected java.lang.String indicator
public PostBox(PostBox.PostBoxNumber postBoxNumber)
postBoxNumber - required parameterpublic java.util.List<AddressLine> getAddressLine()
public PostBox.PostBoxNumber getPostBoxNumber()
PostBox.PostBoxNumberpublic void setPostBoxNumber(PostBox.PostBoxNumber value)
value - allowed object is
PostBox.PostBoxNumberpublic PostBox.PostBoxNumberPrefix getPostBoxNumberPrefix()
PostBox.PostBoxNumberPrefixpublic void setPostBoxNumberPrefix(PostBox.PostBoxNumberPrefix value)
value - allowed object is
PostBox.PostBoxNumberPrefixpublic PostBox.PostBoxNumberSuffix getPostBoxNumberSuffix()
PostBox.PostBoxNumberSuffixpublic void setPostBoxNumberSuffix(PostBox.PostBoxNumberSuffix value)
value - allowed object is
PostBox.PostBoxNumberSuffixpublic PostBox.PostBoxNumberExtension getPostBoxNumberExtension()
PostBox.PostBoxNumberExtensionpublic void setPostBoxNumberExtension(PostBox.PostBoxNumberExtension value)
value - allowed object is
PostBox.PostBoxNumberExtensionpublic 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 PostBox.PostBoxNumber createAndSetPostBoxNumber()
PostBox.PostBoxNumber and set it to postBoxNumber.
This method is a short version for:
PostBoxNumber postBoxNumber = new PostBoxNumber();
this.setPostBoxNumber(postBoxNumber); public PostBox.PostBoxNumberPrefix createAndSetPostBoxNumberPrefix()
PostBox.PostBoxNumberPrefix and set it to postBoxNumberPrefix.
This method is a short version for:
PostBoxNumberPrefix postBoxNumberPrefix = new PostBoxNumberPrefix();
this.setPostBoxNumberPrefix(postBoxNumberPrefix); public PostBox.PostBoxNumberSuffix createAndSetPostBoxNumberSuffix()
PostBox.PostBoxNumberSuffix and set it to postBoxNumberSuffix.
This method is a short version for:
PostBoxNumberSuffix postBoxNumberSuffix = new PostBoxNumberSuffix();
this.setPostBoxNumberSuffix(postBoxNumberSuffix); public PostBox.PostBoxNumberExtension createAndSetPostBoxNumberExtension()
PostBox.PostBoxNumberExtension and set it to postBoxNumberExtension.
This method is a short version for:
PostBoxNumberExtension postBoxNumberExtension = new PostBoxNumberExtension();
this.setPostBoxNumberExtension(postBoxNumberExtension); public Firm createAndSetFirm()
Firm and set it to firm.
This method is a short version for:
Firm firm = new Firm();
this.setFirm(firm); public 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 PostBox addToAddressLine(AddressLine addressLine)
addressLine - Objects of the following type are allowed in the list: AddressLinepublic void setAny(java.util.List<java.lang.Object> any)
any - public PostBox addToAny(java.lang.Object any)
any - Objects of the following type are allowed in the list: Objectpublic PostBox withAddressLine(java.util.List<AddressLine> addressLine)
addressLine - required parameter#setAddressLine(List) public PostBox withPostBoxNumberPrefix(PostBox.PostBoxNumberPrefix postBoxNumberPrefix)
postBoxNumberPrefix - required parametersetPostBoxNumberPrefix(PostBoxNumberPrefix)public PostBox withPostBoxNumberSuffix(PostBox.PostBoxNumberSuffix postBoxNumberSuffix)
postBoxNumberSuffix - required parametersetPostBoxNumberSuffix(PostBoxNumberSuffix)public PostBox withPostBoxNumberExtension(PostBox.PostBoxNumberExtension postBoxNumberExtension)
postBoxNumberExtension - required parametersetPostBoxNumberExtension(PostBoxNumberExtension)public PostBox withFirm(Firm firm)
firm - required parametersetFirm(Firm)public PostBox withPostalCode(PostalCode postalCode)
postalCode - required parametersetPostalCode(PostalCode)public PostBox withAny(java.util.List<java.lang.Object> any)
any - required parameter#setAny(Listpublic PostBox withUnderscore(java.lang.String underscore)
underscore - required parametersetUnderscore(String)public PostBox withIndicator(java.lang.String indicator)
indicator - required parametersetIndicator(String)public PostBox clone()
clone in class java.lang.ObjectCopyright © 2014 Micromata GmbH. All Rights Reserved.