public class AddressDetails
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 AddressDetails complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AddressDetails">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="PostalServiceElements" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="AddressIdentifier" 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="IdentifierType" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
</element>
<element name="EndorsementLineCode" 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="KeyLineCode" 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="Barcode" 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="SortingCode" 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" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="AddressLatitude" 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="AddressLatitudeDirection" 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="AddressLongitude" 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="AddressLongitudeDirection" 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="SupplementaryPostalServiceData" 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>
<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>
</element>
<choice minOccurs="0">
<element name="Address">
<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="AddressLines" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}AddressLinesType"/>
<element name="Country">
<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="CountryNameCode" 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="Scheme" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
</element>
<element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}CountryName" maxOccurs="unbounded" minOccurs="0"/>
<choice minOccurs="0">
<element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}AdministrativeArea"/>
<element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Locality"/>
<element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Thoroughfare"/>
</choice>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
</element>
<element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}AdministrativeArea"/>
<element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Locality"/>
<element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Thoroughfare"/>
</choice>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/>
<attribute name="AddressType" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="CurrentStatus" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="ValidFromDate" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="ValidToDate" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="Usage" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="AddressDetailsKey" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
AddressDetails.Address
Java class for anonymous complex type.
|
static class |
AddressDetails.Country
Java class for anonymous complex type.
|
static class |
AddressDetails.PostalServiceElements
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected AddressDetails.Address |
address |
protected java.lang.String |
addressDetailsKey |
protected AddressLinesType |
addressLines |
protected java.lang.String |
addressType |
protected AdministrativeArea |
administrativeArea |
protected java.util.List<java.lang.Object> |
any |
protected java.lang.String |
code |
protected AddressDetails.Country |
country |
protected java.lang.String |
currentStatus |
protected Locality |
locality |
protected AddressDetails.PostalServiceElements |
postalServiceElements |
protected Thoroughfare |
thoroughfare |
protected java.lang.String |
usage |
protected java.lang.String |
validFromDate |
protected java.lang.String |
validToDate |
| Constructor and Description |
|---|
AddressDetails() |
| 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) |
AddressDetails.Address |
getAddress()
Gets the value of the address property.
|
java.lang.String |
getAddressDetailsKey()
Gets the value of the addressDetailsKey property.
|
AddressLinesType |
getAddressLines()
Gets the value of the addressLines property.
|
java.lang.String |
getAddressType()
Gets the value of the addressType property.
|
AdministrativeArea |
getAdministrativeArea()
Gets the value of the administrativeArea property.
|
java.util.List<java.lang.Object> |
getAny()
Gets the value of the any property.
|
java.lang.String |
getCode()
Gets the value of the code property.
|
AddressDetails.Country |
getCountry()
Gets the value of the country property.
|
java.lang.String |
getCurrentStatus()
Gets the value of the currentStatus property.
|
Locality |
getLocality()
Gets the value of the locality 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.
|
AddressDetails.PostalServiceElements |
getPostalServiceElements()
Gets the value of the postalServiceElements property.
|
Thoroughfare |
getThoroughfare()
Gets the value of the thoroughfare property.
|
java.lang.String |
getUsage()
Gets the value of the usage property.
|
java.lang.String |
getValidFromDate()
Gets the value of the validFromDate property.
|
java.lang.String |
getValidToDate()
Gets the value of the validToDate property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
boolean |
isSetAddress() |
boolean |
isSetAddressDetailsKey() |
boolean |
isSetAddressLines() |
boolean |
isSetAddressType() |
boolean |
isSetAdministrativeArea() |
boolean |
isSetAny() |
boolean |
isSetCode() |
boolean |
isSetCountry() |
boolean |
isSetCurrentStatus() |
boolean |
isSetLocality() |
boolean |
isSetPostalServiceElements() |
boolean |
isSetThoroughfare() |
boolean |
isSetUsage() |
boolean |
isSetValidFromDate() |
boolean |
isSetValidToDate() |
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 |
setAddress(AddressDetails.Address value)
Sets the value of the address property.
|
void |
setAddressDetailsKey(java.lang.String value)
Sets the value of the addressDetailsKey property.
|
void |
setAddressLines(AddressLinesType value)
Sets the value of the addressLines property.
|
void |
setAddressType(java.lang.String value)
Sets the value of the addressType property.
|
void |
setAdministrativeArea(AdministrativeArea value)
Sets the value of the administrativeArea property.
|
void |
setAny(java.util.List<java.lang.Object> value) |
void |
setCode(java.lang.String value)
Sets the value of the code property.
|
void |
setCountry(AddressDetails.Country value)
Sets the value of the country property.
|
void |
setCurrentStatus(java.lang.String value)
Sets the value of the currentStatus property.
|
void |
setLocality(Locality value)
Sets the value of the locality property.
|
void |
setPostalServiceElements(AddressDetails.PostalServiceElements value)
Sets the value of the postalServiceElements property.
|
void |
setThoroughfare(Thoroughfare value)
Sets the value of the thoroughfare property.
|
void |
setUsage(java.lang.String value)
Sets the value of the usage property.
|
void |
setValidFromDate(java.lang.String value)
Sets the value of the validFromDate property.
|
void |
setValidToDate(java.lang.String value)
Sets the value of the validToDate property.
|
java.lang.String |
toString() |
void |
unsetAny() |
AddressDetails |
withAddress(AddressDetails.Address value) |
AddressDetails |
withAddressDetailsKey(java.lang.String value) |
AddressDetails |
withAddressLines(AddressLinesType value) |
AddressDetails |
withAddressType(java.lang.String value) |
AddressDetails |
withAdministrativeArea(AdministrativeArea value) |
AddressDetails |
withAny(java.util.Collection<java.lang.Object> values) |
AddressDetails |
withAny(java.util.List<java.lang.Object> value) |
AddressDetails |
withAny(java.lang.Object... values) |
AddressDetails |
withCode(java.lang.String value) |
AddressDetails |
withCountry(AddressDetails.Country value) |
AddressDetails |
withCurrentStatus(java.lang.String value) |
AddressDetails |
withLocality(Locality value) |
AddressDetails |
withPostalServiceElements(AddressDetails.PostalServiceElements value) |
AddressDetails |
withThoroughfare(Thoroughfare value) |
AddressDetails |
withUsage(java.lang.String value) |
AddressDetails |
withValidFromDate(java.lang.String value) |
AddressDetails |
withValidToDate(java.lang.String value) |
protected AddressDetails.PostalServiceElements postalServiceElements
protected AddressDetails.Address address
protected AddressLinesType addressLines
protected AddressDetails.Country country
protected AdministrativeArea administrativeArea
protected Locality locality
protected Thoroughfare thoroughfare
protected java.util.List<java.lang.Object> any
protected java.lang.String addressType
protected java.lang.String currentStatus
protected java.lang.String validFromDate
protected java.lang.String validToDate
protected java.lang.String usage
protected java.lang.String addressDetailsKey
protected java.lang.String code
public AddressDetails.PostalServiceElements getPostalServiceElements()
AddressDetails.PostalServiceElementspublic void setPostalServiceElements(AddressDetails.PostalServiceElements value)
value - allowed object is
AddressDetails.PostalServiceElementspublic boolean isSetPostalServiceElements()
public AddressDetails.Address getAddress()
AddressDetails.Addresspublic void setAddress(AddressDetails.Address value)
value - allowed object is
AddressDetails.Addresspublic boolean isSetAddress()
public AddressLinesType getAddressLines()
AddressLinesTypepublic void setAddressLines(AddressLinesType value)
value - allowed object is
AddressLinesTypepublic boolean isSetAddressLines()
public AddressDetails.Country getCountry()
AddressDetails.Countrypublic void setCountry(AddressDetails.Country value)
value - allowed object is
AddressDetails.Countrypublic boolean isSetCountry()
public AdministrativeArea getAdministrativeArea()
AdministrativeAreapublic void setAdministrativeArea(AdministrativeArea value)
value - allowed object is
AdministrativeAreapublic boolean isSetAdministrativeArea()
public Locality getLocality()
Localitypublic void setLocality(Locality value)
value - allowed object is
Localitypublic boolean isSetLocality()
public Thoroughfare getThoroughfare()
Thoroughfarepublic void setThoroughfare(Thoroughfare value)
value - allowed object is
Thoroughfarepublic boolean isSetThoroughfare()
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 getAddressType()
Stringpublic void setAddressType(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetAddressType()
public java.lang.String getCurrentStatus()
Stringpublic void setCurrentStatus(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetCurrentStatus()
public java.lang.String getValidFromDate()
Stringpublic void setValidFromDate(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetValidFromDate()
public java.lang.String getValidToDate()
Stringpublic void setValidToDate(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetValidToDate()
public java.lang.String getUsage()
Stringpublic void setUsage(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetUsage()
public java.lang.String getAddressDetailsKey()
Stringpublic void setAddressDetailsKey(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetAddressDetailsKey()
public java.lang.String getCode()
Stringpublic void setCode(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetCode()
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 setAny(java.util.List<java.lang.Object> value)
public AddressDetails withPostalServiceElements(AddressDetails.PostalServiceElements value)
public AddressDetails withAddress(AddressDetails.Address value)
public AddressDetails withAddressLines(AddressLinesType value)
public AddressDetails withCountry(AddressDetails.Country value)
public AddressDetails withAdministrativeArea(AdministrativeArea value)
public AddressDetails withLocality(Locality value)
public AddressDetails withThoroughfare(Thoroughfare value)
public AddressDetails withAny(java.lang.Object... values)
public AddressDetails withAny(java.util.Collection<java.lang.Object> values)
public AddressDetails withAddressType(java.lang.String value)
public AddressDetails withCurrentStatus(java.lang.String value)
public AddressDetails withValidFromDate(java.lang.String value)
public AddressDetails withValidToDate(java.lang.String value)
public AddressDetails withUsage(java.lang.String value)
public AddressDetails withAddressDetailsKey(java.lang.String value)
public AddressDetails withCode(java.lang.String value)
public AddressDetails withAny(java.util.List<java.lang.Object> value)
Copyright © 2008-2022. All Rights Reserved.