Class SubPremiseType
- java.lang.Object
-
- org.hisrc.w3c.oasis.xal.v_2_0.SubPremiseType
-
- 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 SubPremiseType 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 SubPremiseType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SubPremiseType"> <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="SubPremiseName" 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="TypeOccurrence"> <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 name="SubPremiseLocation"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/> </restriction> </complexContent> </complexType> </element> <element name="SubPremiseNumber" 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="Indicator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="IndicatorOccurrence"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Before"/> <enumeration value="After"/> </restriction> </simpleType> </attribute> <attribute name="NumberTypeOccurrence"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Before"/> <enumeration value="After"/> </restriction> </simpleType> </attribute> <attribute name="PremiseNumberSeparator" 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> </choice> <element name="SubPremiseNumberPrefix" 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="NumberPrefixSeparator" 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="SubPremiseNumberSuffix" 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="NumberSuffixSeparator" 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="BuildingName" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}BuildingNameType" maxOccurs="unbounded" minOccurs="0"/> <element name="Firm" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}FirmType" minOccurs="0"/> <element name="MailStop" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}MailStopType" minOccurs="0"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostalCode" minOccurs="0"/> <element name="SubPremise" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}SubPremiseType" minOccurs="0"/> <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 classSubPremiseType.SubPremiseLocationJava class for anonymous complex type.static classSubPremiseType.SubPremiseNameJava class for anonymous complex type.static classSubPremiseType.SubPremiseNumberJava class for anonymous complex type.static classSubPremiseType.SubPremiseNumberPrefixJava class for anonymous complex type.static classSubPremiseType.SubPremiseNumberSuffixJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<AddressLine>addressLineprotected List<Object>anyprotected List<BuildingNameType>buildingNameprotected FirmTypefirmprotected MailStopTypemailStopprotected PostalCodepostalCodeprotected SubPremiseTypesubPremiseprotected SubPremiseType.SubPremiseLocationsubPremiseLocationprotected List<SubPremiseType.SubPremiseName>subPremiseNameprotected List<SubPremiseType.SubPremiseNumber>subPremiseNumberprotected List<SubPremiseType.SubPremiseNumberPrefix>subPremiseNumberPrefixprotected List<SubPremiseType.SubPremiseNumberSuffix>subPremiseNumberSuffixprotected Stringtype
-
Constructor Summary
Constructors Constructor Description SubPremiseType()Default no-arg constructorSubPremiseType(List<AddressLine> addressLine, List<SubPremiseType.SubPremiseName> subPremiseName, SubPremiseType.SubPremiseLocation subPremiseLocation, List<SubPremiseType.SubPremiseNumber> subPremiseNumber, List<SubPremiseType.SubPremiseNumberPrefix> subPremiseNumberPrefix, List<SubPremiseType.SubPremiseNumberSuffix> subPremiseNumberSuffix, List<BuildingNameType> buildingName, FirmType firm, MailStopType mailStop, PostalCode postalCode, SubPremiseType subPremise, List<Object> any, String type, Map<QName,String> otherAttributes)Fully-initialising value constructor
-
Method Summary
-
-
-
Field Detail
-
addressLine
protected List<AddressLine> addressLine
-
subPremiseName
protected List<SubPremiseType.SubPremiseName> subPremiseName
-
subPremiseLocation
protected SubPremiseType.SubPremiseLocation subPremiseLocation
-
subPremiseNumber
protected List<SubPremiseType.SubPremiseNumber> subPremiseNumber
-
subPremiseNumberPrefix
protected List<SubPremiseType.SubPremiseNumberPrefix> subPremiseNumberPrefix
-
subPremiseNumberSuffix
protected List<SubPremiseType.SubPremiseNumberSuffix> subPremiseNumberSuffix
-
buildingName
protected List<BuildingNameType> buildingName
-
firm
protected FirmType firm
-
mailStop
protected MailStopType mailStop
-
postalCode
protected PostalCode postalCode
-
subPremise
protected SubPremiseType subPremise
-
type
protected String type
-
-
Constructor Detail
-
SubPremiseType
public SubPremiseType()
Default no-arg constructor
-
SubPremiseType
public SubPremiseType(List<AddressLine> addressLine, List<SubPremiseType.SubPremiseName> subPremiseName, SubPremiseType.SubPremiseLocation subPremiseLocation, List<SubPremiseType.SubPremiseNumber> subPremiseNumber, List<SubPremiseType.SubPremiseNumberPrefix> subPremiseNumberPrefix, List<SubPremiseType.SubPremiseNumberSuffix> subPremiseNumberSuffix, List<BuildingNameType> buildingName, FirmType firm, MailStopType mailStop, PostalCode postalCode, SubPremiseType subPremise, 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()
-
getSubPremiseName
public List<SubPremiseType.SubPremiseName> getSubPremiseName()
Gets the value of the subPremiseName 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 subPremiseName property.For example, to add a new item, do as follows:
getSubPremiseName().add(newItem);Objects of the following type(s) are allowed in the list
SubPremiseType.SubPremiseName
-
isSetSubPremiseName
public boolean isSetSubPremiseName()
-
unsetSubPremiseName
public void unsetSubPremiseName()
-
getSubPremiseLocation
public SubPremiseType.SubPremiseLocation getSubPremiseLocation()
Gets the value of the subPremiseLocation property.- Returns:
- possible object is
SubPremiseType.SubPremiseLocation
-
setSubPremiseLocation
public void setSubPremiseLocation(SubPremiseType.SubPremiseLocation value)
Sets the value of the subPremiseLocation property.- Parameters:
value- allowed object isSubPremiseType.SubPremiseLocation
-
isSetSubPremiseLocation
public boolean isSetSubPremiseLocation()
-
getSubPremiseNumber
public List<SubPremiseType.SubPremiseNumber> getSubPremiseNumber()
Gets the value of the subPremiseNumber 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 subPremiseNumber property.For example, to add a new item, do as follows:
getSubPremiseNumber().add(newItem);Objects of the following type(s) are allowed in the list
SubPremiseType.SubPremiseNumber
-
isSetSubPremiseNumber
public boolean isSetSubPremiseNumber()
-
unsetSubPremiseNumber
public void unsetSubPremiseNumber()
-
getSubPremiseNumberPrefix
public List<SubPremiseType.SubPremiseNumberPrefix> getSubPremiseNumberPrefix()
Gets the value of the subPremiseNumberPrefix 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 subPremiseNumberPrefix property.For example, to add a new item, do as follows:
getSubPremiseNumberPrefix().add(newItem);Objects of the following type(s) are allowed in the list
SubPremiseType.SubPremiseNumberPrefix
-
isSetSubPremiseNumberPrefix
public boolean isSetSubPremiseNumberPrefix()
-
unsetSubPremiseNumberPrefix
public void unsetSubPremiseNumberPrefix()
-
getSubPremiseNumberSuffix
public List<SubPremiseType.SubPremiseNumberSuffix> getSubPremiseNumberSuffix()
Gets the value of the subPremiseNumberSuffix 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 subPremiseNumberSuffix property.For example, to add a new item, do as follows:
getSubPremiseNumberSuffix().add(newItem);Objects of the following type(s) are allowed in the list
SubPremiseType.SubPremiseNumberSuffix
-
isSetSubPremiseNumberSuffix
public boolean isSetSubPremiseNumberSuffix()
-
unsetSubPremiseNumberSuffix
public void unsetSubPremiseNumberSuffix()
-
getBuildingName
public List<BuildingNameType> getBuildingName()
Gets the value of the buildingName 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 buildingName property.For example, to add a new item, do as follows:
getBuildingName().add(newItem);Objects of the following type(s) are allowed in the list
BuildingNameType
-
isSetBuildingName
public boolean isSetBuildingName()
-
unsetBuildingName
public void unsetBuildingName()
-
getFirm
public FirmType getFirm()
Gets the value of the firm property.- Returns:
- possible object is
FirmType
-
setFirm
public void setFirm(FirmType value)
Sets the value of the firm property.- Parameters:
value- allowed object isFirmType
-
isSetFirm
public boolean isSetFirm()
-
getMailStop
public MailStopType getMailStop()
Gets the value of the mailStop property.- Returns:
- possible object is
MailStopType
-
setMailStop
public void setMailStop(MailStopType value)
Sets the value of the mailStop property.- Parameters:
value- allowed object isMailStopType
-
isSetMailStop
public boolean isSetMailStop()
-
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()
-
getSubPremise
public SubPremiseType getSubPremise()
Gets the value of the subPremise property.- Returns:
- possible object is
SubPremiseType
-
setSubPremise
public void setSubPremise(SubPremiseType value)
Sets the value of the subPremise property.- Parameters:
value- allowed object isSubPremiseType
-
isSetSubPremise
public boolean isSetSubPremise()
-
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)
-
setSubPremiseName
public void setSubPremiseName(List<SubPremiseType.SubPremiseName> value)
-
setSubPremiseNumber
public void setSubPremiseNumber(List<SubPremiseType.SubPremiseNumber> value)
-
setSubPremiseNumberPrefix
public void setSubPremiseNumberPrefix(List<SubPremiseType.SubPremiseNumberPrefix> value)
-
setSubPremiseNumberSuffix
public void setSubPremiseNumberSuffix(List<SubPremiseType.SubPremiseNumberSuffix> value)
-
setBuildingName
public void setBuildingName(List<BuildingNameType> value)
-
withAddressLine
public SubPremiseType withAddressLine(AddressLine... values)
-
withAddressLine
public SubPremiseType withAddressLine(Collection<AddressLine> values)
-
withSubPremiseName
public SubPremiseType withSubPremiseName(SubPremiseType.SubPremiseName... values)
-
withSubPremiseName
public SubPremiseType withSubPremiseName(Collection<SubPremiseType.SubPremiseName> values)
-
withSubPremiseLocation
public SubPremiseType withSubPremiseLocation(SubPremiseType.SubPremiseLocation value)
-
withSubPremiseNumber
public SubPremiseType withSubPremiseNumber(SubPremiseType.SubPremiseNumber... values)
-
withSubPremiseNumber
public SubPremiseType withSubPremiseNumber(Collection<SubPremiseType.SubPremiseNumber> values)
-
withSubPremiseNumberPrefix
public SubPremiseType withSubPremiseNumberPrefix(SubPremiseType.SubPremiseNumberPrefix... values)
-
withSubPremiseNumberPrefix
public SubPremiseType withSubPremiseNumberPrefix(Collection<SubPremiseType.SubPremiseNumberPrefix> values)
-
withSubPremiseNumberSuffix
public SubPremiseType withSubPremiseNumberSuffix(SubPremiseType.SubPremiseNumberSuffix... values)
-
withSubPremiseNumberSuffix
public SubPremiseType withSubPremiseNumberSuffix(Collection<SubPremiseType.SubPremiseNumberSuffix> values)
-
withBuildingName
public SubPremiseType withBuildingName(BuildingNameType... values)
-
withBuildingName
public SubPremiseType withBuildingName(Collection<BuildingNameType> values)
-
withFirm
public SubPremiseType withFirm(FirmType value)
-
withMailStop
public SubPremiseType withMailStop(MailStopType value)
-
withPostalCode
public SubPremiseType withPostalCode(PostalCode value)
-
withSubPremise
public SubPremiseType withSubPremise(SubPremiseType value)
-
withAny
public SubPremiseType withAny(Object... values)
-
withAny
public SubPremiseType withAny(Collection<Object> values)
-
withType
public SubPremiseType withType(String value)
-
withAddressLine
public SubPremiseType withAddressLine(List<AddressLine> value)
-
withSubPremiseName
public SubPremiseType withSubPremiseName(List<SubPremiseType.SubPremiseName> value)
-
withSubPremiseNumber
public SubPremiseType withSubPremiseNumber(List<SubPremiseType.SubPremiseNumber> value)
-
withSubPremiseNumberPrefix
public SubPremiseType withSubPremiseNumberPrefix(List<SubPremiseType.SubPremiseNumberPrefix> value)
-
withSubPremiseNumberSuffix
public SubPremiseType withSubPremiseNumberSuffix(List<SubPremiseType.SubPremiseNumberSuffix> value)
-
withBuildingName
public SubPremiseType withBuildingName(List<BuildingNameType> value)
-
withAny
public SubPremiseType withAny(List<Object> value)
-
-