public class PostalCode extends Object implements 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="PostalCodeNumber" maxOccurs="unbounded" 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="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
</element>
<element name="PostalCodeNumberExtension" maxOccurs="unbounded" 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="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="NumberExtensionSeparator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
</element>
<element name="PostTown" minOccurs="0">
<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="PostTownName" maxOccurs="unbounded" 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="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
</element>
<element name="PostTownSuffix" 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"/>
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
</element>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
PostalCode.PostalCodeNumber
Java class for anonymous complex type.
|
static class |
PostalCode.PostalCodeNumberExtension
Java class for anonymous complex type.
|
static class |
PostalCode.PostTown
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<AddressLine> |
addressLine |
protected List<Object> |
any |
protected List<PostalCode.PostalCodeNumber> |
postalCodeNumber |
protected List<PostalCode.PostalCodeNumberExtension> |
postalCodeNumberExtension |
protected PostalCode.PostTown |
postTown |
protected String |
type |
| Constructor and Description |
|---|
PostalCode() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy) |
Object |
createNewInstance() |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) |
List<AddressLine> |
getAddressLine()
Gets the value of the addressLine property.
|
List<Object> |
getAny()
Gets the value of the any property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
List<PostalCode.PostalCodeNumber> |
getPostalCodeNumber()
Gets the value of the postalCodeNumber property.
|
List<PostalCode.PostalCodeNumberExtension> |
getPostalCodeNumberExtension()
Gets the value of the postalCodeNumberExtension property.
|
PostalCode.PostTown |
getPostTown()
Gets the value of the postTown property.
|
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 |
isSetPostalCodeNumber() |
boolean |
isSetPostalCodeNumberExtension() |
boolean |
isSetPostTown() |
boolean |
isSetType() |
void |
mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy) |
void |
mergeFrom(Object left,
Object right) |
void |
setAddressLine(List<AddressLine> value) |
void |
setAny(List<Object> value) |
void |
setPostalCodeNumber(List<PostalCode.PostalCodeNumber> value) |
void |
setPostalCodeNumberExtension(List<PostalCode.PostalCodeNumberExtension> value) |
void |
setPostTown(PostalCode.PostTown value)
Sets the value of the postTown property.
|
void |
setType(String value)
Sets the value of the type property.
|
String |
toString() |
void |
unsetAddressLine() |
void |
unsetAny() |
void |
unsetPostalCodeNumber() |
void |
unsetPostalCodeNumberExtension() |
PostalCode |
withAddressLine(AddressLine... values) |
PostalCode |
withAddressLine(Collection<AddressLine> values) |
PostalCode |
withAddressLine(List<AddressLine> value) |
PostalCode |
withAny(Collection<Object> values) |
PostalCode |
withAny(List<Object> value) |
PostalCode |
withAny(Object... values) |
PostalCode |
withPostalCodeNumber(Collection<PostalCode.PostalCodeNumber> values) |
PostalCode |
withPostalCodeNumber(List<PostalCode.PostalCodeNumber> value) |
PostalCode |
withPostalCodeNumber(PostalCode.PostalCodeNumber... values) |
PostalCode |
withPostalCodeNumberExtension(Collection<PostalCode.PostalCodeNumberExtension> values) |
PostalCode |
withPostalCodeNumberExtension(List<PostalCode.PostalCodeNumberExtension> value) |
PostalCode |
withPostalCodeNumberExtension(PostalCode.PostalCodeNumberExtension... values) |
PostalCode |
withPostTown(PostalCode.PostTown value) |
PostalCode |
withType(String value) |
protected List<AddressLine> addressLine
protected List<PostalCode.PostalCodeNumber> postalCodeNumber
protected List<PostalCode.PostalCodeNumberExtension> postalCodeNumberExtension
protected PostalCode.PostTown postTown
protected String type
public 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 List<PostalCode.PostalCodeNumber> getPostalCodeNumber()
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 postalCodeNumber property.
For example, to add a new item, do as follows:
getPostalCodeNumber().add(newItem);
Objects of the following type(s) are allowed in the list
PostalCode.PostalCodeNumber
public boolean isSetPostalCodeNumber()
public void unsetPostalCodeNumber()
public List<PostalCode.PostalCodeNumberExtension> getPostalCodeNumberExtension()
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 postalCodeNumberExtension property.
For example, to add a new item, do as follows:
getPostalCodeNumberExtension().add(newItem);
Objects of the following type(s) are allowed in the list
PostalCode.PostalCodeNumberExtension
public boolean isSetPostalCodeNumberExtension()
public void unsetPostalCodeNumberExtension()
public PostalCode.PostTown getPostTown()
PostalCode.PostTownpublic void setPostTown(PostalCode.PostTown value)
value - allowed object is
PostalCode.PostTownpublic boolean isSetPostTown()
public List<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 String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic boolean isSetType()
public Map<QName,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 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, 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,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2public 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 Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void mergeFrom(Object left, 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,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void setAddressLine(List<AddressLine> value)
public void setPostalCodeNumber(List<PostalCode.PostalCodeNumber> value)
public void setPostalCodeNumberExtension(List<PostalCode.PostalCodeNumberExtension> value)
public PostalCode withAddressLine(AddressLine... values)
public PostalCode withAddressLine(Collection<AddressLine> values)
public PostalCode withPostalCodeNumber(PostalCode.PostalCodeNumber... values)
public PostalCode withPostalCodeNumber(Collection<PostalCode.PostalCodeNumber> values)
public PostalCode withPostalCodeNumberExtension(PostalCode.PostalCodeNumberExtension... values)
public PostalCode withPostalCodeNumberExtension(Collection<PostalCode.PostalCodeNumberExtension> values)
public PostalCode withPostTown(PostalCode.PostTown value)
public PostalCode withAny(Object... values)
public PostalCode withAny(Collection<Object> values)
public PostalCode withType(String value)
public PostalCode withAddressLine(List<AddressLine> value)
public PostalCode withPostalCodeNumber(List<PostalCode.PostalCodeNumber> value)
public PostalCode withPostalCodeNumberExtension(List<PostalCode.PostalCodeNumberExtension> value)
public PostalCode withAny(List<Object> value)
Copyright © 2008–2023. All rights reserved.