public class SubPremiseType extends Object implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2
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>
| Modifier and Type | Class and Description |
|---|---|
static class |
SubPremiseType.SubPremiseLocation
Java class for anonymous complex type.
|
static class |
SubPremiseType.SubPremiseName
Java class for anonymous complex type.
|
static class |
SubPremiseType.SubPremiseNumber
Java class for anonymous complex type.
|
static class |
SubPremiseType.SubPremiseNumberPrefix
Java class for anonymous complex type.
|
static class |
SubPremiseType.SubPremiseNumberSuffix
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<AddressLine> |
addressLine |
protected List<Object> |
any |
protected List<BuildingNameType> |
buildingName |
protected FirmType |
firm |
protected MailStopType |
mailStop |
protected PostalCode |
postalCode |
protected SubPremiseType |
subPremise |
protected SubPremiseType.SubPremiseLocation |
subPremiseLocation |
protected List<SubPremiseType.SubPremiseName> |
subPremiseName |
protected List<SubPremiseType.SubPremiseNumber> |
subPremiseNumber |
protected List<SubPremiseType.SubPremiseNumberPrefix> |
subPremiseNumberPrefix |
protected List<SubPremiseType.SubPremiseNumberSuffix> |
subPremiseNumberSuffix |
protected String |
type |
| Constructor and Description |
|---|
SubPremiseType() |
protected List<AddressLine> addressLine
protected List<SubPremiseType.SubPremiseName> subPremiseName
protected SubPremiseType.SubPremiseLocation subPremiseLocation
protected List<SubPremiseType.SubPremiseNumber> subPremiseNumber
protected List<SubPremiseType.SubPremiseNumberPrefix> subPremiseNumberPrefix
protected List<SubPremiseType.SubPremiseNumberSuffix> subPremiseNumberSuffix
protected List<BuildingNameType> buildingName
protected FirmType firm
protected MailStopType mailStop
protected PostalCode postalCode
protected SubPremiseType subPremise
protected String type
public List<AddressLine> getAddressLine()
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 JAXB object.
This is why there is not a set method 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
public boolean isSetAddressLine()
public void unsetAddressLine()
public List<SubPremiseType.SubPremiseName> getSubPremiseName()
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 JAXB object.
This is why there is not a set method 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
public boolean isSetSubPremiseName()
public void unsetSubPremiseName()
public SubPremiseType.SubPremiseLocation getSubPremiseLocation()
SubPremiseType.SubPremiseLocationpublic void setSubPremiseLocation(SubPremiseType.SubPremiseLocation value)
value - allowed object is
SubPremiseType.SubPremiseLocationpublic boolean isSetSubPremiseLocation()
public List<SubPremiseType.SubPremiseNumber> getSubPremiseNumber()
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 JAXB object.
This is why there is not a set method 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
public boolean isSetSubPremiseNumber()
public void unsetSubPremiseNumber()
public List<SubPremiseType.SubPremiseNumberPrefix> getSubPremiseNumberPrefix()
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 JAXB object.
This is why there is not a set method 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
public boolean isSetSubPremiseNumberPrefix()
public void unsetSubPremiseNumberPrefix()
public List<SubPremiseType.SubPremiseNumberSuffix> getSubPremiseNumberSuffix()
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 JAXB object.
This is why there is not a set method 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
public boolean isSetSubPremiseNumberSuffix()
public void unsetSubPremiseNumberSuffix()
public List<BuildingNameType> getBuildingName()
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 JAXB object.
This is why there is not a set method 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
public boolean isSetBuildingName()
public void unsetBuildingName()
public FirmType getFirm()
FirmTypepublic void setFirm(FirmType value)
value - allowed object is
FirmTypepublic boolean isSetFirm()
public MailStopType getMailStop()
MailStopTypepublic void setMailStop(MailStopType value)
value - allowed object is
MailStopTypepublic boolean isSetMailStop()
public PostalCode getPostalCode()
PostalCodepublic void setPostalCode(PostalCode value)
value - allowed object is
PostalCodepublic boolean isSetPostalCode()
public SubPremiseType getSubPremise()
SubPremiseTypepublic void setSubPremise(SubPremiseType value)
value - allowed object is
SubPremiseTypepublic boolean isSetSubPremise()
public List<Object> getAny()
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 JAXB object.
This is why there is not a set method 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
public boolean isSetAny()
public void unsetAny()
public String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic boolean isSetType()
public Map<QName,String> getOtherAttributes()
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.
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void mergeFrom(Object left, Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void setAddressLine(List<AddressLine> value)
public void setSubPremiseName(List<SubPremiseType.SubPremiseName> value)
public void setSubPremiseNumber(List<SubPremiseType.SubPremiseNumber> value)
public void setSubPremiseNumberPrefix(List<SubPremiseType.SubPremiseNumberPrefix> value)
public void setSubPremiseNumberSuffix(List<SubPremiseType.SubPremiseNumberSuffix> value)
public void setBuildingName(List<BuildingNameType> value)
public SubPremiseType withAddressLine(AddressLine... values)
public SubPremiseType withAddressLine(Collection<AddressLine> values)
public SubPremiseType withSubPremiseName(SubPremiseType.SubPremiseName... values)
public SubPremiseType withSubPremiseName(Collection<SubPremiseType.SubPremiseName> values)
public SubPremiseType withSubPremiseLocation(SubPremiseType.SubPremiseLocation value)
public SubPremiseType withSubPremiseNumber(SubPremiseType.SubPremiseNumber... values)
public SubPremiseType withSubPremiseNumber(Collection<SubPremiseType.SubPremiseNumber> values)
public SubPremiseType withSubPremiseNumberPrefix(SubPremiseType.SubPremiseNumberPrefix... values)
public SubPremiseType withSubPremiseNumberPrefix(Collection<SubPremiseType.SubPremiseNumberPrefix> values)
public SubPremiseType withSubPremiseNumberSuffix(SubPremiseType.SubPremiseNumberSuffix... values)
public SubPremiseType withSubPremiseNumberSuffix(Collection<SubPremiseType.SubPremiseNumberSuffix> values)
public SubPremiseType withBuildingName(BuildingNameType... values)
public SubPremiseType withBuildingName(Collection<BuildingNameType> values)
public SubPremiseType withFirm(FirmType value)
public SubPremiseType withMailStop(MailStopType value)
public SubPremiseType withPostalCode(PostalCode value)
public SubPremiseType withSubPremise(SubPremiseType value)
public SubPremiseType withAny(Object... values)
public SubPremiseType withAny(Collection<Object> values)
public SubPremiseType withType(String value)
public SubPremiseType withAddressLine(List<AddressLine> value)
public SubPremiseType withSubPremiseName(List<SubPremiseType.SubPremiseName> value)
public SubPremiseType withSubPremiseNumber(List<SubPremiseType.SubPremiseNumber> value)
public SubPremiseType withSubPremiseNumberPrefix(List<SubPremiseType.SubPremiseNumberPrefix> value)
public SubPremiseType withSubPremiseNumberSuffix(List<SubPremiseType.SubPremiseNumberSuffix> value)
public SubPremiseType withBuildingName(List<BuildingNameType> value)
public SubPremiseType withAny(List<Object> value)
Copyright © 2008–2023. All rights reserved.