Class AdministrativeArea
- java.lang.Object
-
- org.hisrc.w3c.oasis.xal.v_2_0.AdministrativeArea
-
- 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
public class AdministrativeArea 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="AdministrativeAreaName" 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="SubAdministrativeArea" 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="SubAdministrativeAreaName" 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> <choice minOccurs="0"> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Locality"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostOffice"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostalCode"/> </choice> <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="UsageType" 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> </element> <choice minOccurs="0"> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Locality"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostOffice"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostalCode"/> </choice> <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="UsageType" 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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdministrativeArea.AdministrativeAreaNameJava class for anonymous complex type.static classAdministrativeArea.SubAdministrativeAreaJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<AddressLine>addressLineprotected List<AdministrativeArea.AdministrativeAreaName>administrativeAreaNameprotected List<Object>anyprotected Stringindicatorprotected Localitylocalityprotected PostalCodepostalCodeprotected PostOfficepostOfficeprotected AdministrativeArea.SubAdministrativeAreasubAdministrativeAreaprotected Stringtypeprotected StringusageType
-
Constructor Summary
Constructors Constructor Description AdministrativeArea()Default no-arg constructorAdministrativeArea(List<AddressLine> addressLine, List<AdministrativeArea.AdministrativeAreaName> administrativeAreaName, AdministrativeArea.SubAdministrativeArea subAdministrativeArea, Locality locality, PostOffice postOffice, PostalCode postalCode, List<Object> any, String type, String usageType, String indicator, 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.List<AdministrativeArea.AdministrativeAreaName>getAdministrativeAreaName()Gets the value of the administrativeAreaName property.List<Object>getAny()Gets the value of the any property.StringgetIndicator()Gets the value of the indicator 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.PostalCodegetPostalCode()Gets the value of the postalCode property.PostOfficegetPostOffice()Gets the value of the postOffice property.AdministrativeArea.SubAdministrativeAreagetSubAdministrativeArea()Gets the value of the subAdministrativeArea property.StringgetType()Gets the value of the type property.StringgetUsageType()Gets the value of the usageType property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetAddressLine()booleanisSetAdministrativeAreaName()booleanisSetAny()booleanisSetIndicator()booleanisSetLocality()booleanisSetPostalCode()booleanisSetPostOffice()booleanisSetSubAdministrativeArea()booleanisSetType()booleanisSetUsageType()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)voidsetAdministrativeAreaName(List<AdministrativeArea.AdministrativeAreaName> value)voidsetAny(List<Object> value)voidsetIndicator(String value)Sets the value of the indicator property.voidsetLocality(Locality value)Sets the value of the locality property.voidsetPostalCode(PostalCode value)Sets the value of the postalCode property.voidsetPostOffice(PostOffice value)Sets the value of the postOffice property.voidsetSubAdministrativeArea(AdministrativeArea.SubAdministrativeArea value)Sets the value of the subAdministrativeArea property.voidsetType(String value)Sets the value of the type property.voidsetUsageType(String value)Sets the value of the usageType property.StringtoString()voidunsetAddressLine()voidunsetAdministrativeAreaName()voidunsetAny()AdministrativeAreawithAddressLine(Collection<AddressLine> values)AdministrativeAreawithAddressLine(List<AddressLine> value)AdministrativeAreawithAddressLine(AddressLine... values)AdministrativeAreawithAdministrativeAreaName(Collection<AdministrativeArea.AdministrativeAreaName> values)AdministrativeAreawithAdministrativeAreaName(List<AdministrativeArea.AdministrativeAreaName> value)AdministrativeAreawithAdministrativeAreaName(AdministrativeArea.AdministrativeAreaName... values)AdministrativeAreawithAny(Object... values)AdministrativeAreawithAny(Collection<Object> values)AdministrativeAreawithAny(List<Object> value)AdministrativeAreawithIndicator(String value)AdministrativeAreawithLocality(Locality value)AdministrativeAreawithPostalCode(PostalCode value)AdministrativeAreawithPostOffice(PostOffice value)AdministrativeAreawithSubAdministrativeArea(AdministrativeArea.SubAdministrativeArea value)AdministrativeAreawithType(String value)AdministrativeAreawithUsageType(String value)
-
-
-
Field Detail
-
addressLine
protected List<AddressLine> addressLine
-
administrativeAreaName
protected List<AdministrativeArea.AdministrativeAreaName> administrativeAreaName
-
subAdministrativeArea
protected AdministrativeArea.SubAdministrativeArea subAdministrativeArea
-
locality
protected Locality locality
-
postOffice
protected PostOffice postOffice
-
postalCode
protected PostalCode postalCode
-
type
protected String type
-
usageType
protected String usageType
-
indicator
protected String indicator
-
-
Constructor Detail
-
AdministrativeArea
public AdministrativeArea()
Default no-arg constructor
-
AdministrativeArea
public AdministrativeArea(List<AddressLine> addressLine, List<AdministrativeArea.AdministrativeAreaName> administrativeAreaName, AdministrativeArea.SubAdministrativeArea subAdministrativeArea, Locality locality, PostOffice postOffice, PostalCode postalCode, List<Object> any, String type, String usageType, String indicator, 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()
-
getAdministrativeAreaName
public List<AdministrativeArea.AdministrativeAreaName> getAdministrativeAreaName()
Gets the value of the administrativeAreaName 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 administrativeAreaName property.For example, to add a new item, do as follows:
getAdministrativeAreaName().add(newItem);Objects of the following type(s) are allowed in the list
AdministrativeArea.AdministrativeAreaName
-
isSetAdministrativeAreaName
public boolean isSetAdministrativeAreaName()
-
unsetAdministrativeAreaName
public void unsetAdministrativeAreaName()
-
getSubAdministrativeArea
public AdministrativeArea.SubAdministrativeArea getSubAdministrativeArea()
Gets the value of the subAdministrativeArea property.- Returns:
- possible object is
AdministrativeArea.SubAdministrativeArea
-
setSubAdministrativeArea
public void setSubAdministrativeArea(AdministrativeArea.SubAdministrativeArea value)
Sets the value of the subAdministrativeArea property.- Parameters:
value- allowed object isAdministrativeArea.SubAdministrativeArea
-
isSetSubAdministrativeArea
public boolean isSetSubAdministrativeArea()
-
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()
-
getPostOffice
public PostOffice getPostOffice()
Gets the value of the postOffice property.- Returns:
- possible object is
PostOffice
-
setPostOffice
public void setPostOffice(PostOffice value)
Sets the value of the postOffice property.- Parameters:
value- allowed object isPostOffice
-
isSetPostOffice
public boolean isSetPostOffice()
-
getPostalCode
public PostalCode getPostalCode()
Gets the value of the postalCode property.- Returns:
- possible object is
PostalCode
-
setPostalCode
public void setPostalCode(PostalCode value)
Sets the value of the postalCode property.- Parameters:
value- allowed object isPostalCode
-
isSetPostalCode
public boolean isSetPostalCode()
-
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()
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(String value)
Sets the value of the type property.- Parameters:
value- allowed object isString
-
isSetType
public boolean isSetType()
-
getUsageType
public String getUsageType()
Gets the value of the usageType property.- Returns:
- possible object is
String
-
setUsageType
public void setUsageType(String value)
Sets the value of the usageType property.- Parameters:
value- allowed object isString
-
isSetUsageType
public boolean isSetUsageType()
-
getIndicator
public String getIndicator()
Gets the value of the indicator property.- Returns:
- possible object is
String
-
setIndicator
public void setIndicator(String value)
Sets the value of the indicator property.- Parameters:
value- allowed object isString
-
isSetIndicator
public boolean isSetIndicator()
-
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)
-
setAdministrativeAreaName
public void setAdministrativeAreaName(List<AdministrativeArea.AdministrativeAreaName> value)
-
withAddressLine
public AdministrativeArea withAddressLine(AddressLine... values)
-
withAddressLine
public AdministrativeArea withAddressLine(Collection<AddressLine> values)
-
withAdministrativeAreaName
public AdministrativeArea withAdministrativeAreaName(AdministrativeArea.AdministrativeAreaName... values)
-
withAdministrativeAreaName
public AdministrativeArea withAdministrativeAreaName(Collection<AdministrativeArea.AdministrativeAreaName> values)
-
withSubAdministrativeArea
public AdministrativeArea withSubAdministrativeArea(AdministrativeArea.SubAdministrativeArea value)
-
withLocality
public AdministrativeArea withLocality(Locality value)
-
withPostOffice
public AdministrativeArea withPostOffice(PostOffice value)
-
withPostalCode
public AdministrativeArea withPostalCode(PostalCode value)
-
withAny
public AdministrativeArea withAny(Object... values)
-
withAny
public AdministrativeArea withAny(Collection<Object> values)
-
withType
public AdministrativeArea withType(String value)
-
withUsageType
public AdministrativeArea withUsageType(String value)
-
withIndicator
public AdministrativeArea withIndicator(String value)
-
withAddressLine
public AdministrativeArea withAddressLine(List<AddressLine> value)
-
withAdministrativeAreaName
public AdministrativeArea withAdministrativeAreaName(List<AdministrativeArea.AdministrativeAreaName> value)
-
withAny
public AdministrativeArea withAny(List<Object> value)
-
-