Class DependentLocalityType
- java.lang.Object
-
- org.hisrc.w3c.oasis.xal.v_2_0.DependentLocalityType
-
- 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 DependentLocalityType 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 DependentLocalityType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DependentLocalityType"> <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="DependentLocalityName" 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="DependentLocalityNumber" 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="NameNumberOccurrence"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Before"/> <enumeration value="After"/> </restriction> </simpleType> </attribute> <anyAttribute namespace='##other'/> </restriction> </complexContent> </complexType> </element> <choice minOccurs="0"> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostBox"/> <element name="LargeMailUser" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}LargeMailUserType"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostOffice"/> <element name="PostalRoute" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostalRouteType"/> </choice> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Thoroughfare" minOccurs="0"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Premise" minOccurs="0"/> <element name="DependentLocality" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}DependentLocalityType" 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="UsageType" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="Connector" 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 classDependentLocalityType.DependentLocalityNameJava class for anonymous complex type.static classDependentLocalityType.DependentLocalityNumberJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<AddressLine>addressLineprotected List<Object>anyprotected Stringconnectorprotected DependentLocalityTypedependentLocalityprotected List<DependentLocalityType.DependentLocalityName>dependentLocalityNameprotected DependentLocalityType.DependentLocalityNumberdependentLocalityNumberprotected Stringindicatorprotected LargeMailUserTypelargeMailUserprotected PostalCodepostalCodeprotected PostalRouteTypepostalRouteprotected PostBoxpostBoxprotected PostOfficepostOfficeprotected Premisepremiseprotected Thoroughfarethoroughfareprotected Stringtypeprotected StringusageType
-
Constructor Summary
Constructors Constructor Description DependentLocalityType()Default no-arg constructorDependentLocalityType(List<AddressLine> addressLine, List<DependentLocalityType.DependentLocalityName> dependentLocalityName, DependentLocalityType.DependentLocalityNumber dependentLocalityNumber, PostBox postBox, LargeMailUserType largeMailUser, PostOffice postOffice, PostalRouteType postalRoute, Thoroughfare thoroughfare, Premise premise, DependentLocalityType dependentLocality, PostalCode postalCode, List<Object> any, String type, String usageType, String connector, 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<Object>getAny()Gets the value of the any property.StringgetConnector()Gets the value of the connector property.DependentLocalityTypegetDependentLocality()Gets the value of the dependentLocality property.List<DependentLocalityType.DependentLocalityName>getDependentLocalityName()Gets the value of the dependentLocalityName property.DependentLocalityType.DependentLocalityNumbergetDependentLocalityNumber()Gets the value of the dependentLocalityNumber property.StringgetIndicator()Gets the value of the indicator property.LargeMailUserTypegetLargeMailUser()Gets the value of the largeMailUser 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.PostalRouteTypegetPostalRoute()Gets the value of the postalRoute property.PostBoxgetPostBox()Gets the value of the postBox property.PostOfficegetPostOffice()Gets the value of the postOffice property.PremisegetPremise()Gets the value of the premise property.ThoroughfaregetThoroughfare()Gets the value of the thoroughfare 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()booleanisSetAny()booleanisSetConnector()booleanisSetDependentLocality()booleanisSetDependentLocalityName()booleanisSetDependentLocalityNumber()booleanisSetIndicator()booleanisSetLargeMailUser()booleanisSetPostalCode()booleanisSetPostalRoute()booleanisSetPostBox()booleanisSetPostOffice()booleanisSetPremise()booleanisSetThoroughfare()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)voidsetAny(List<Object> value)voidsetConnector(String value)Sets the value of the connector property.voidsetDependentLocality(DependentLocalityType value)Sets the value of the dependentLocality property.voidsetDependentLocalityName(List<DependentLocalityType.DependentLocalityName> value)voidsetDependentLocalityNumber(DependentLocalityType.DependentLocalityNumber value)Sets the value of the dependentLocalityNumber property.voidsetIndicator(String value)Sets the value of the indicator property.voidsetLargeMailUser(LargeMailUserType value)Sets the value of the largeMailUser property.voidsetPostalCode(PostalCode value)Sets the value of the postalCode property.voidsetPostalRoute(PostalRouteType value)Sets the value of the postalRoute property.voidsetPostBox(PostBox value)Sets the value of the postBox property.voidsetPostOffice(PostOffice value)Sets the value of the postOffice property.voidsetPremise(Premise value)Sets the value of the premise property.voidsetThoroughfare(Thoroughfare value)Sets the value of the thoroughfare property.voidsetType(String value)Sets the value of the type property.voidsetUsageType(String value)Sets the value of the usageType property.StringtoString()voidunsetAddressLine()voidunsetAny()voidunsetDependentLocalityName()DependentLocalityTypewithAddressLine(Collection<AddressLine> values)DependentLocalityTypewithAddressLine(List<AddressLine> value)DependentLocalityTypewithAddressLine(AddressLine... values)DependentLocalityTypewithAny(Object... values)DependentLocalityTypewithAny(Collection<Object> values)DependentLocalityTypewithAny(List<Object> value)DependentLocalityTypewithConnector(String value)DependentLocalityTypewithDependentLocality(DependentLocalityType value)DependentLocalityTypewithDependentLocalityName(Collection<DependentLocalityType.DependentLocalityName> values)DependentLocalityTypewithDependentLocalityName(List<DependentLocalityType.DependentLocalityName> value)DependentLocalityTypewithDependentLocalityName(DependentLocalityType.DependentLocalityName... values)DependentLocalityTypewithDependentLocalityNumber(DependentLocalityType.DependentLocalityNumber value)DependentLocalityTypewithIndicator(String value)DependentLocalityTypewithLargeMailUser(LargeMailUserType value)DependentLocalityTypewithPostalCode(PostalCode value)DependentLocalityTypewithPostalRoute(PostalRouteType value)DependentLocalityTypewithPostBox(PostBox value)DependentLocalityTypewithPostOffice(PostOffice value)DependentLocalityTypewithPremise(Premise value)DependentLocalityTypewithThoroughfare(Thoroughfare value)DependentLocalityTypewithType(String value)DependentLocalityTypewithUsageType(String value)
-
-
-
Field Detail
-
addressLine
protected List<AddressLine> addressLine
-
dependentLocalityName
protected List<DependentLocalityType.DependentLocalityName> dependentLocalityName
-
dependentLocalityNumber
protected DependentLocalityType.DependentLocalityNumber dependentLocalityNumber
-
postBox
protected PostBox postBox
-
largeMailUser
protected LargeMailUserType largeMailUser
-
postOffice
protected PostOffice postOffice
-
postalRoute
protected PostalRouteType postalRoute
-
thoroughfare
protected Thoroughfare thoroughfare
-
premise
protected Premise premise
-
dependentLocality
protected DependentLocalityType dependentLocality
-
postalCode
protected PostalCode postalCode
-
type
protected String type
-
usageType
protected String usageType
-
connector
protected String connector
-
indicator
protected String indicator
-
-
Constructor Detail
-
DependentLocalityType
public DependentLocalityType()
Default no-arg constructor
-
DependentLocalityType
public DependentLocalityType(List<AddressLine> addressLine, List<DependentLocalityType.DependentLocalityName> dependentLocalityName, DependentLocalityType.DependentLocalityNumber dependentLocalityNumber, PostBox postBox, LargeMailUserType largeMailUser, PostOffice postOffice, PostalRouteType postalRoute, Thoroughfare thoroughfare, Premise premise, DependentLocalityType dependentLocality, PostalCode postalCode, List<Object> any, String type, String usageType, String connector, 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()
-
getDependentLocalityName
public List<DependentLocalityType.DependentLocalityName> getDependentLocalityName()
Gets the value of the dependentLocalityName 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 dependentLocalityName property.For example, to add a new item, do as follows:
getDependentLocalityName().add(newItem);Objects of the following type(s) are allowed in the list
DependentLocalityType.DependentLocalityName
-
isSetDependentLocalityName
public boolean isSetDependentLocalityName()
-
unsetDependentLocalityName
public void unsetDependentLocalityName()
-
getDependentLocalityNumber
public DependentLocalityType.DependentLocalityNumber getDependentLocalityNumber()
Gets the value of the dependentLocalityNumber property.- Returns:
- possible object is
DependentLocalityType.DependentLocalityNumber
-
setDependentLocalityNumber
public void setDependentLocalityNumber(DependentLocalityType.DependentLocalityNumber value)
Sets the value of the dependentLocalityNumber property.- Parameters:
value- allowed object isDependentLocalityType.DependentLocalityNumber
-
isSetDependentLocalityNumber
public boolean isSetDependentLocalityNumber()
-
getPostBox
public PostBox getPostBox()
Gets the value of the postBox property.- Returns:
- possible object is
PostBox
-
setPostBox
public void setPostBox(PostBox value)
Sets the value of the postBox property.- Parameters:
value- allowed object isPostBox
-
isSetPostBox
public boolean isSetPostBox()
-
getLargeMailUser
public LargeMailUserType getLargeMailUser()
Gets the value of the largeMailUser property.- Returns:
- possible object is
LargeMailUserType
-
setLargeMailUser
public void setLargeMailUser(LargeMailUserType value)
Sets the value of the largeMailUser property.- Parameters:
value- allowed object isLargeMailUserType
-
isSetLargeMailUser
public boolean isSetLargeMailUser()
-
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()
-
getPostalRoute
public PostalRouteType getPostalRoute()
Gets the value of the postalRoute property.- Returns:
- possible object is
PostalRouteType
-
setPostalRoute
public void setPostalRoute(PostalRouteType value)
Sets the value of the postalRoute property.- Parameters:
value- allowed object isPostalRouteType
-
isSetPostalRoute
public boolean isSetPostalRoute()
-
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()
-
getPremise
public Premise getPremise()
Gets the value of the premise property.- Returns:
- possible object is
Premise
-
setPremise
public void setPremise(Premise value)
Sets the value of the premise property.- Parameters:
value- allowed object isPremise
-
isSetPremise
public boolean isSetPremise()
-
getDependentLocality
public DependentLocalityType getDependentLocality()
Gets the value of the dependentLocality property.- Returns:
- possible object is
DependentLocalityType
-
setDependentLocality
public void setDependentLocality(DependentLocalityType value)
Sets the value of the dependentLocality property.- Parameters:
value- allowed object isDependentLocalityType
-
isSetDependentLocality
public boolean isSetDependentLocality()
-
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()
-
getConnector
public String getConnector()
Gets the value of the connector property.- Returns:
- possible object is
String
-
setConnector
public void setConnector(String value)
Sets the value of the connector property.- Parameters:
value- allowed object isString
-
isSetConnector
public boolean isSetConnector()
-
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)
-
setDependentLocalityName
public void setDependentLocalityName(List<DependentLocalityType.DependentLocalityName> value)
-
withAddressLine
public DependentLocalityType withAddressLine(AddressLine... values)
-
withAddressLine
public DependentLocalityType withAddressLine(Collection<AddressLine> values)
-
withDependentLocalityName
public DependentLocalityType withDependentLocalityName(DependentLocalityType.DependentLocalityName... values)
-
withDependentLocalityName
public DependentLocalityType withDependentLocalityName(Collection<DependentLocalityType.DependentLocalityName> values)
-
withDependentLocalityNumber
public DependentLocalityType withDependentLocalityNumber(DependentLocalityType.DependentLocalityNumber value)
-
withPostBox
public DependentLocalityType withPostBox(PostBox value)
-
withLargeMailUser
public DependentLocalityType withLargeMailUser(LargeMailUserType value)
-
withPostOffice
public DependentLocalityType withPostOffice(PostOffice value)
-
withPostalRoute
public DependentLocalityType withPostalRoute(PostalRouteType value)
-
withThoroughfare
public DependentLocalityType withThoroughfare(Thoroughfare value)
-
withPremise
public DependentLocalityType withPremise(Premise value)
-
withDependentLocality
public DependentLocalityType withDependentLocality(DependentLocalityType value)
-
withPostalCode
public DependentLocalityType withPostalCode(PostalCode value)
-
withAny
public DependentLocalityType withAny(Object... values)
-
withAny
public DependentLocalityType withAny(Collection<Object> values)
-
withType
public DependentLocalityType withType(String value)
-
withUsageType
public DependentLocalityType withUsageType(String value)
-
withConnector
public DependentLocalityType withConnector(String value)
-
withIndicator
public DependentLocalityType withIndicator(String value)
-
withAddressLine
public DependentLocalityType withAddressLine(List<AddressLine> value)
-
withDependentLocalityName
public DependentLocalityType withDependentLocalityName(List<DependentLocalityType.DependentLocalityName> value)
-
withAny
public DependentLocalityType withAny(List<Object> value)
-
-