Class AddressDetails.Country
- java.lang.Object
-
- org.hisrc.w3c.oasis.xal.v_2_0.AddressDetails.Country
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
- Enclosing class:
- AddressDetails
public static class AddressDetails.Country extends Object implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
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="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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddressDetails.Country.CountryNameCodeJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<AddressLine>addressLineprotected AdministrativeAreaadministrativeAreaprotected List<Object>anyprotected List<CountryName>countryNameprotected List<AddressDetails.Country.CountryNameCode>countryNameCodeprotected Localitylocalityprotected Thoroughfarethoroughfare
-
Constructor Summary
Constructors Constructor Description Country()Default no-arg constructorCountry(List<AddressLine> addressLine, List<AddressDetails.Country.CountryNameCode> countryNameCode, List<CountryName> countryName, AdministrativeArea administrativeArea, Locality locality, Thoroughfare thoroughfare, List<Object> any, Map<QName,String> otherAttributes)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)StringBuilderappendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)List<AddressLine>getAddressLine()Gets the value of the addressLine property.AdministrativeAreagetAdministrativeArea()Gets the value of the administrativeArea property.List<Object>getAny()Gets the value of the any property.List<CountryName>getCountryName()Gets the value of the countryName property.List<AddressDetails.Country.CountryNameCode>getCountryNameCode()Gets the value of the countryNameCode property.LocalitygetLocality()Gets the value of the locality property.Map<QName,String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.ThoroughfaregetThoroughfare()Gets the value of the thoroughfare property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetAddressLine()booleanisSetAdministrativeArea()booleanisSetAny()booleanisSetCountryName()booleanisSetCountryNameCode()booleanisSetLocality()booleanisSetThoroughfare()voidmergeFrom(Object left, Object right)voidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)voidsetAddressLine(List<AddressLine> value)voidsetAdministrativeArea(AdministrativeArea value)Sets the value of the administrativeArea property.voidsetAny(List<Object> value)voidsetCountryName(List<CountryName> value)voidsetCountryNameCode(List<AddressDetails.Country.CountryNameCode> value)voidsetLocality(Locality value)Sets the value of the locality property.voidsetThoroughfare(Thoroughfare value)Sets the value of the thoroughfare property.StringtoString()voidunsetAddressLine()voidunsetAny()voidunsetCountryName()voidunsetCountryNameCode()AddressDetails.CountrywithAddressLine(Collection<AddressLine> values)AddressDetails.CountrywithAddressLine(List<AddressLine> value)AddressDetails.CountrywithAddressLine(AddressLine... values)AddressDetails.CountrywithAdministrativeArea(AdministrativeArea value)AddressDetails.CountrywithAny(Object... values)AddressDetails.CountrywithAny(Collection<Object> values)AddressDetails.CountrywithAny(List<Object> value)AddressDetails.CountrywithCountryName(Collection<CountryName> values)AddressDetails.CountrywithCountryName(List<CountryName> value)AddressDetails.CountrywithCountryName(CountryName... values)AddressDetails.CountrywithCountryNameCode(Collection<AddressDetails.Country.CountryNameCode> values)AddressDetails.CountrywithCountryNameCode(List<AddressDetails.Country.CountryNameCode> value)AddressDetails.CountrywithCountryNameCode(AddressDetails.Country.CountryNameCode... values)AddressDetails.CountrywithLocality(Locality value)AddressDetails.CountrywithThoroughfare(Thoroughfare value)
-
-
-
Field Detail
-
addressLine
protected List<AddressLine> addressLine
-
countryNameCode
protected List<AddressDetails.Country.CountryNameCode> countryNameCode
-
countryName
protected List<CountryName> countryName
-
administrativeArea
protected AdministrativeArea administrativeArea
-
locality
protected Locality locality
-
thoroughfare
protected Thoroughfare thoroughfare
-
-
Constructor Detail
-
Country
public Country()
Default no-arg constructor
-
Country
public Country(List<AddressLine> addressLine, List<AddressDetails.Country.CountryNameCode> countryNameCode, List<CountryName> countryName, AdministrativeArea administrativeArea, Locality locality, Thoroughfare thoroughfare, List<Object> any, Map<QName,String> otherAttributes)
Fully-initialising value constructor
-
-
Method Detail
-
getAddressLine
public List<AddressLine> getAddressLine()
Gets the value of the addressLine property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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
-
isSetAddressLine
public boolean isSetAddressLine()
-
unsetAddressLine
public void unsetAddressLine()
-
getCountryNameCode
public List<AddressDetails.Country.CountryNameCode> getCountryNameCode()
Gets the value of the countryNameCode property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the countryNameCode property.For example, to add a new item, do as follows:
getCountryNameCode().add(newItem);Objects of the following type(s) are allowed in the list
AddressDetails.Country.CountryNameCode
-
isSetCountryNameCode
public boolean isSetCountryNameCode()
-
unsetCountryNameCode
public void unsetCountryNameCode()
-
getCountryName
public List<CountryName> getCountryName()
Gets the value of the countryName property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the countryName property.For example, to add a new item, do as follows:
getCountryName().add(newItem);Objects of the following type(s) are allowed in the list
CountryName
-
isSetCountryName
public boolean isSetCountryName()
-
unsetCountryName
public void unsetCountryName()
-
getAdministrativeArea
public AdministrativeArea getAdministrativeArea()
Gets the value of the administrativeArea property.- Returns:
- possible object is
AdministrativeArea
-
setAdministrativeArea
public void setAdministrativeArea(AdministrativeArea value)
Sets the value of the administrativeArea property.- Parameters:
value- allowed object isAdministrativeArea
-
isSetAdministrativeArea
public boolean isSetAdministrativeArea()
-
getLocality
public Locality getLocality()
Gets the value of the locality property.- Returns:
- possible object is
Locality
-
setLocality
public void setLocality(Locality value)
Sets the value of the locality property.- Parameters:
value- allowed object isLocality
-
isSetLocality
public boolean isSetLocality()
-
getThoroughfare
public Thoroughfare getThoroughfare()
Gets the value of the thoroughfare property.- Returns:
- possible object is
Thoroughfare
-
setThoroughfare
public void setThoroughfare(Thoroughfare value)
Sets the value of the thoroughfare property.- Parameters:
value- allowed object isThoroughfare
-
isSetThoroughfare
public boolean isSetThoroughfare()
-
getAny
public List<Object> getAny()
Gets the value of the any property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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
-
isSetAny
public boolean isSetAny()
-
unsetAny
public void unsetAny()
-
getOtherAttributes
public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.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.
- Returns:
- always non-null
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
setAddressLine
public void setAddressLine(List<AddressLine> value)
-
setCountryNameCode
public void setCountryNameCode(List<AddressDetails.Country.CountryNameCode> value)
-
setCountryName
public void setCountryName(List<CountryName> value)
-
withAddressLine
public AddressDetails.Country withAddressLine(AddressLine... values)
-
withAddressLine
public AddressDetails.Country withAddressLine(Collection<AddressLine> values)
-
withCountryNameCode
public AddressDetails.Country withCountryNameCode(AddressDetails.Country.CountryNameCode... values)
-
withCountryNameCode
public AddressDetails.Country withCountryNameCode(Collection<AddressDetails.Country.CountryNameCode> values)
-
withCountryName
public AddressDetails.Country withCountryName(CountryName... values)
-
withCountryName
public AddressDetails.Country withCountryName(Collection<CountryName> values)
-
withAdministrativeArea
public AddressDetails.Country withAdministrativeArea(AdministrativeArea value)
-
withLocality
public AddressDetails.Country withLocality(Locality value)
-
withThoroughfare
public AddressDetails.Country withThoroughfare(Thoroughfare value)
-
withAny
public AddressDetails.Country withAny(Object... values)
-
withAny
public AddressDetails.Country withAny(Collection<Object> values)
-
withAddressLine
public AddressDetails.Country withAddressLine(List<AddressLine> value)
-
withCountryNameCode
public AddressDetails.Country withCountryNameCode(List<AddressDetails.Country.CountryNameCode> value)
-
withCountryName
public AddressDetails.Country withCountryName(List<CountryName> value)
-
withAny
public AddressDetails.Country withAny(List<Object> value)
-
-