Class PostalCode
- java.lang.Object
-
- org.hisrc.w3c.oasis.xal.v_2_0.PostalCode
-
- 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 PostalCode 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="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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostalCode.PostalCodeNumberJava class for anonymous complex type.static classPostalCode.PostalCodeNumberExtensionJava class for anonymous complex type.static classPostalCode.PostTownJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<AddressLine>addressLineprotected List<Object>anyprotected List<PostalCode.PostalCodeNumber>postalCodeNumberprotected List<PostalCode.PostalCodeNumberExtension>postalCodeNumberExtensionprotected PostalCode.PostTownpostTownprotected Stringtype
-
Constructor Summary
Constructors Constructor Description PostalCode()Default no-arg constructorPostalCode(List<AddressLine> addressLine, List<PostalCode.PostalCodeNumber> postalCodeNumber, List<PostalCode.PostalCodeNumberExtension> postalCodeNumberExtension, PostalCode.PostTown postTown, List<Object> any, String type, 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.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.PostTowngetPostTown()Gets the value of the postTown property.StringgetType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetAddressLine()booleanisSetAny()booleanisSetPostalCodeNumber()booleanisSetPostalCodeNumberExtension()booleanisSetPostTown()booleanisSetType()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)voidsetPostalCodeNumber(List<PostalCode.PostalCodeNumber> value)voidsetPostalCodeNumberExtension(List<PostalCode.PostalCodeNumberExtension> value)voidsetPostTown(PostalCode.PostTown value)Sets the value of the postTown property.voidsetType(String value)Sets the value of the type property.StringtoString()voidunsetAddressLine()voidunsetAny()voidunsetPostalCodeNumber()voidunsetPostalCodeNumberExtension()PostalCodewithAddressLine(Collection<AddressLine> values)PostalCodewithAddressLine(List<AddressLine> value)PostalCodewithAddressLine(AddressLine... values)PostalCodewithAny(Object... values)PostalCodewithAny(Collection<Object> values)PostalCodewithAny(List<Object> value)PostalCodewithPostalCodeNumber(Collection<PostalCode.PostalCodeNumber> values)PostalCodewithPostalCodeNumber(List<PostalCode.PostalCodeNumber> value)PostalCodewithPostalCodeNumber(PostalCode.PostalCodeNumber... values)PostalCodewithPostalCodeNumberExtension(Collection<PostalCode.PostalCodeNumberExtension> values)PostalCodewithPostalCodeNumberExtension(List<PostalCode.PostalCodeNumberExtension> value)PostalCodewithPostalCodeNumberExtension(PostalCode.PostalCodeNumberExtension... values)PostalCodewithPostTown(PostalCode.PostTown value)PostalCodewithType(String value)
-
-
-
Field Detail
-
addressLine
protected List<AddressLine> addressLine
-
postalCodeNumber
protected List<PostalCode.PostalCodeNumber> postalCodeNumber
-
postalCodeNumberExtension
protected List<PostalCode.PostalCodeNumberExtension> postalCodeNumberExtension
-
postTown
protected PostalCode.PostTown postTown
-
type
protected String type
-
-
Constructor Detail
-
PostalCode
public PostalCode()
Default no-arg constructor
-
PostalCode
public PostalCode(List<AddressLine> addressLine, List<PostalCode.PostalCodeNumber> postalCodeNumber, List<PostalCode.PostalCodeNumberExtension> postalCodeNumberExtension, PostalCode.PostTown postTown, List<Object> any, String type, 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()
-
getPostalCodeNumber
public List<PostalCode.PostalCodeNumber> getPostalCodeNumber()
Gets the value of the postalCodeNumber 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 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
-
isSetPostalCodeNumber
public boolean isSetPostalCodeNumber()
-
unsetPostalCodeNumber
public void unsetPostalCodeNumber()
-
getPostalCodeNumberExtension
public List<PostalCode.PostalCodeNumberExtension> getPostalCodeNumberExtension()
Gets the value of the postalCodeNumberExtension 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 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
-
isSetPostalCodeNumberExtension
public boolean isSetPostalCodeNumberExtension()
-
unsetPostalCodeNumberExtension
public void unsetPostalCodeNumberExtension()
-
getPostTown
public PostalCode.PostTown getPostTown()
Gets the value of the postTown property.- Returns:
- possible object is
PostalCode.PostTown
-
setPostTown
public void setPostTown(PostalCode.PostTown value)
Sets the value of the postTown property.- Parameters:
value- allowed object isPostalCode.PostTown
-
isSetPostTown
public boolean isSetPostTown()
-
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()
-
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)
-
setPostalCodeNumber
public void setPostalCodeNumber(List<PostalCode.PostalCodeNumber> value)
-
setPostalCodeNumberExtension
public void setPostalCodeNumberExtension(List<PostalCode.PostalCodeNumberExtension> value)
-
withAddressLine
public PostalCode withAddressLine(AddressLine... values)
-
withAddressLine
public PostalCode withAddressLine(Collection<AddressLine> values)
-
withPostalCodeNumber
public PostalCode withPostalCodeNumber(PostalCode.PostalCodeNumber... values)
-
withPostalCodeNumber
public PostalCode withPostalCodeNumber(Collection<PostalCode.PostalCodeNumber> values)
-
withPostalCodeNumberExtension
public PostalCode withPostalCodeNumberExtension(PostalCode.PostalCodeNumberExtension... values)
-
withPostalCodeNumberExtension
public PostalCode withPostalCodeNumberExtension(Collection<PostalCode.PostalCodeNumberExtension> values)
-
withPostTown
public PostalCode withPostTown(PostalCode.PostTown value)
-
withAny
public PostalCode withAny(Object... values)
-
withAny
public PostalCode withAny(Collection<Object> values)
-
withType
public PostalCode withType(String value)
-
withAddressLine
public PostalCode withAddressLine(List<AddressLine> value)
-
withPostalCodeNumber
public PostalCode withPostalCodeNumber(List<PostalCode.PostalCodeNumber> value)
-
withPostalCodeNumberExtension
public PostalCode withPostalCodeNumberExtension(List<PostalCode.PostalCodeNumberExtension> value)
-
withAny
public PostalCode withAny(List<Object> value)
-
-