public class PostBox
extends java.lang.Object
implements java.lang.Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}AddressLine" maxOccurs="unbounded" minOccurs="0"/>
<element name="PostBoxNumber">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/>
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
</element>
<element name="PostBoxNumberPrefix" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/>
<attribute name="NumberPrefixSeparator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
</element>
<element name="PostBoxNumberSuffix" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/>
<attribute name="NumberSuffixSeparator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
</element>
<element name="PostBoxNumberExtension" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="NumberExtensionSeparator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
</element>
<element name="Firm" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}FirmType" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostalCode" minOccurs="0"/>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="Indicator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
PostBox.PostBoxNumber
Java class for anonymous complex type.
|
static class |
PostBox.PostBoxNumberExtension
Java class for anonymous complex type.
|
static class |
PostBox.PostBoxNumberPrefix
Java class for anonymous complex type.
|
static class |
PostBox.PostBoxNumberSuffix
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<AddressLine> |
addressLine |
protected java.util.List<java.lang.Object> |
any |
protected FirmType |
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 |
type |
| Constructor and Description |
|---|
PostBox() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
java.lang.Object |
clone() |
java.lang.Object |
copyTo(java.lang.Object target) |
java.lang.Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy) |
java.lang.Object |
createNewInstance() |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) |
java.util.List<AddressLine> |
getAddressLine()
Gets the value of the addressLine property.
|
java.util.List<java.lang.Object> |
getAny()
Gets the value of the any property.
|
FirmType |
getFirm()
Gets the value of the firm property.
|
java.lang.String |
getIndicator()
Gets the value of the indicator property.
|
java.util.Map<javax.xml.namespace.QName,java.lang.String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
PostalCode |
getPostalCode()
Gets the value of the postalCode property.
|
PostBox.PostBoxNumber |
getPostBoxNumber()
Gets the value of the postBoxNumber property.
|
PostBox.PostBoxNumberExtension |
getPostBoxNumberExtension()
Gets the value of the postBoxNumberExtension property.
|
PostBox.PostBoxNumberPrefix |
getPostBoxNumberPrefix()
Gets the value of the postBoxNumberPrefix property.
|
PostBox.PostBoxNumberSuffix |
getPostBoxNumberSuffix()
Gets the value of the postBoxNumberSuffix property.
|
java.lang.String |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
boolean |
isSetAddressLine() |
boolean |
isSetAny() |
boolean |
isSetFirm() |
boolean |
isSetIndicator() |
boolean |
isSetPostalCode() |
boolean |
isSetPostBoxNumber() |
boolean |
isSetPostBoxNumberExtension() |
boolean |
isSetPostBoxNumberPrefix() |
boolean |
isSetPostBoxNumberSuffix() |
boolean |
isSetType() |
void |
mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
java.lang.Object left,
java.lang.Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy) |
void |
mergeFrom(java.lang.Object left,
java.lang.Object right) |
void |
setAddressLine(java.util.List<AddressLine> value) |
void |
setAny(java.util.List<java.lang.Object> value) |
void |
setFirm(FirmType value)
Sets the value of the firm property.
|
void |
setIndicator(java.lang.String value)
Sets the value of the indicator property.
|
void |
setPostalCode(PostalCode value)
Sets the value of the postalCode property.
|
void |
setPostBoxNumber(PostBox.PostBoxNumber value)
Sets the value of the postBoxNumber property.
|
void |
setPostBoxNumberExtension(PostBox.PostBoxNumberExtension value)
Sets the value of the postBoxNumberExtension property.
|
void |
setPostBoxNumberPrefix(PostBox.PostBoxNumberPrefix value)
Sets the value of the postBoxNumberPrefix property.
|
void |
setPostBoxNumberSuffix(PostBox.PostBoxNumberSuffix value)
Sets the value of the postBoxNumberSuffix property.
|
void |
setType(java.lang.String value)
Sets the value of the type property.
|
java.lang.String |
toString() |
void |
unsetAddressLine() |
void |
unsetAny() |
PostBox |
withAddressLine(AddressLine... values) |
PostBox |
withAddressLine(java.util.Collection<AddressLine> values) |
PostBox |
withAddressLine(java.util.List<AddressLine> value) |
PostBox |
withAny(java.util.Collection<java.lang.Object> values) |
PostBox |
withAny(java.util.List<java.lang.Object> value) |
PostBox |
withAny(java.lang.Object... values) |
PostBox |
withFirm(FirmType value) |
PostBox |
withIndicator(java.lang.String value) |
PostBox |
withPostalCode(PostalCode value) |
PostBox |
withPostBoxNumber(PostBox.PostBoxNumber value) |
PostBox |
withPostBoxNumberExtension(PostBox.PostBoxNumberExtension value) |
PostBox |
withPostBoxNumberPrefix(PostBox.PostBoxNumberPrefix value) |
PostBox |
withPostBoxNumberSuffix(PostBox.PostBoxNumberSuffix value) |
PostBox |
withType(java.lang.String value) |
protected java.util.List<AddressLine> addressLine
protected PostBox.PostBoxNumber postBoxNumber
protected PostBox.PostBoxNumberPrefix postBoxNumberPrefix
protected PostBox.PostBoxNumberSuffix postBoxNumberSuffix
protected PostBox.PostBoxNumberExtension postBoxNumberExtension
protected FirmType firm
protected PostalCode postalCode
protected java.util.List<java.lang.Object> any
protected java.lang.String type
protected java.lang.String indicator
public java.util.List<AddressLine> getAddressLine()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the addressLine property.
For example, to add a new item, do as follows:
getAddressLine().add(newItem);
Objects of the following type(s) are allowed in the list
AddressLine
public boolean isSetAddressLine()
public void unsetAddressLine()
public PostBox.PostBoxNumber getPostBoxNumber()
PostBox.PostBoxNumberpublic void setPostBoxNumber(PostBox.PostBoxNumber value)
value - allowed object is
PostBox.PostBoxNumberpublic boolean isSetPostBoxNumber()
public PostBox.PostBoxNumberPrefix getPostBoxNumberPrefix()
PostBox.PostBoxNumberPrefixpublic void setPostBoxNumberPrefix(PostBox.PostBoxNumberPrefix value)
value - allowed object is
PostBox.PostBoxNumberPrefixpublic boolean isSetPostBoxNumberPrefix()
public PostBox.PostBoxNumberSuffix getPostBoxNumberSuffix()
PostBox.PostBoxNumberSuffixpublic void setPostBoxNumberSuffix(PostBox.PostBoxNumberSuffix value)
value - allowed object is
PostBox.PostBoxNumberSuffixpublic boolean isSetPostBoxNumberSuffix()
public PostBox.PostBoxNumberExtension getPostBoxNumberExtension()
PostBox.PostBoxNumberExtensionpublic void setPostBoxNumberExtension(PostBox.PostBoxNumberExtension value)
value - allowed object is
PostBox.PostBoxNumberExtensionpublic boolean isSetPostBoxNumberExtension()
public FirmType getFirm()
FirmTypepublic void setFirm(FirmType value)
value - allowed object is
FirmTypepublic boolean isSetFirm()
public PostalCode getPostalCode()
PostalCodepublic void setPostalCode(PostalCode value)
value - allowed object is
PostalCodepublic boolean isSetPostalCode()
public java.util.List<java.lang.Object> getAny()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
public boolean isSetAny()
public void unsetAny()
public java.lang.String getType()
Stringpublic void setType(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetType()
public java.lang.String getIndicator()
Stringpublic void setIndicator(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetIndicator()
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.Object copyTo(java.lang.Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public java.lang.Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public java.lang.Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void mergeFrom(java.lang.Object left,
java.lang.Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
java.lang.Object left,
java.lang.Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void setAddressLine(java.util.List<AddressLine> value)
public void setAny(java.util.List<java.lang.Object> value)
public PostBox withAddressLine(AddressLine... values)
public PostBox withAddressLine(java.util.Collection<AddressLine> values)
public PostBox withPostBoxNumber(PostBox.PostBoxNumber value)
public PostBox withPostBoxNumberPrefix(PostBox.PostBoxNumberPrefix value)
public PostBox withPostBoxNumberSuffix(PostBox.PostBoxNumberSuffix value)
public PostBox withPostBoxNumberExtension(PostBox.PostBoxNumberExtension value)
public PostBox withPostalCode(PostalCode value)
public PostBox withAny(java.lang.Object... values)
public PostBox withAny(java.util.Collection<java.lang.Object> values)
public PostBox withType(java.lang.String value)
public PostBox withIndicator(java.lang.String value)
public PostBox withAddressLine(java.util.List<AddressLine> value)
public PostBox withAny(java.util.List<java.lang.Object> value)
Copyright © 2008-2021. All Rights Reserved.