package org.hl7.v3;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlType;
/**
*
* Mailing and home or office addresses. A sequence of address parts, such as street or post office
* Box, city, postal code, country, etc.
*
*
* <p>
* Java class for AD complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="AD">
* <complexContent>
* <extension base="{urn:hl7-org:v3}ANY">
* <sequence>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="delimiter" type="{urn:hl7-org:v3}adxp.delimiter"/>
* <element name="country" type="{urn:hl7-org:v3}adxp.country"/>
* <element name="state" type="{urn:hl7-org:v3}adxp.state"/>
* <element name="county" type="{urn:hl7-org:v3}adxp.county"/>
* <element name="city" type="{urn:hl7-org:v3}adxp.city"/>
* <element name="postalCode" type="{urn:hl7-org:v3}adxp.postalCode"/>
* <element name="streetAddressLine" type="{urn:hl7-org:v3}adxp.streetAddressLine"/>
* <element name="houseNumber" type="{urn:hl7-org:v3}adxp.houseNumber"/>
* <element name="houseNumberNumeric" type="{urn:hl7-org:v3}adxp.houseNumberNumeric"/>
* <element name="direction" type="{urn:hl7-org:v3}adxp.direction"/>
* <element name="streetName" type="{urn:hl7-org:v3}adxp.streetName"/>
* <element name="streetNameBase" type="{urn:hl7-org:v3}adxp.streetNameBase"/>
* <element name="streetNameType" type="{urn:hl7-org:v3}adxp.streetNameType"/>
* <element name="additionalLocator" type="{urn:hl7-org:v3}adxp.additionalLocator"/>
* <element name="unitID" type="{urn:hl7-org:v3}adxp.unitID"/>
* <element name="unitType" type="{urn:hl7-org:v3}adxp.unitType"/>
* <element name="careOf" type="{urn:hl7-org:v3}adxp.careOf"/>
* <element name="censusTract" type="{urn:hl7-org:v3}adxp.censusTract"/>
* <element name="deliveryAddressLine" type="{urn:hl7-org:v3}adxp.deliveryAddressLine"/>
* <element name="deliveryInstallationType" type="{urn:hl7-org:v3}adxp.deliveryInstallationType"/>
* <element name="deliveryInstallationArea" type="{urn:hl7-org:v3}adxp.deliveryInstallationArea"/>
* <element name="deliveryInstallationQualifier" type="{urn:hl7-org:v3}adxp.deliveryInstallationQualifier"/>
* <element name="deliveryMode" type="{urn:hl7-org:v3}adxp.deliveryMode"/>
* <element name="deliveryModeIdentifier" type="{urn:hl7-org:v3}adxp.deliveryModeIdentifier"/>
* <element name="buildingNumberSuffix" type="{urn:hl7-org:v3}adxp.buildingNumberSuffix"/>
* <element name="postBox" type="{urn:hl7-org:v3}adxp.postBox"/>
* <element name="precinct" type="{urn:hl7-org:v3}adxp.precinct"/>
* </choice>
* <element name="useablePeriod" type="{urn:hl7-org:v3}SXCM_TS" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="use" type="{urn:hl7-org:v3}set_PostalAddressUse" />
* <attribute name="isNotOrdered" type="{urn:hl7-org:v3}bl" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AD", propOrder = {
"content"
})
public class AD {
@XmlElementRefs({
@XmlElementRef(name = "additionalLocator", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "postBox", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "houseNumber", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "streetNameType", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "deliveryAddressLine", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "county", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "direction", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "precinct", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "delimiter", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "state", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "deliveryInstallationQualifier", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "city", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "buildingNumberSuffix", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "deliveryInstallationType", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "unitID", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "postalCode", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "deliveryMode", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "streetNameBase", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "deliveryInstallationArea", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "deliveryModeIdentifier", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "censusTract", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "streetAddressLine", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "careOf", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "houseNumberNumeric", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "streetName", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "useablePeriod", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "unitType", namespace = "urn:hl7-org:v3", type = JAXBElement.class),
@XmlElementRef(name = "country", namespace = "urn:hl7-org:v3", type = JAXBElement.class)
})
@XmlMixed
protected List<Serializable> content;
@XmlAttribute
protected List<String> use;
@XmlAttribute
protected Boolean isNotOrdered;
/**
*
* Mailing and home or office addresses. A sequence of address parts, such as street or post
* office Box, city, postal code, country, etc. Gets the value of the content property.
*
* <p>
* 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 <CODE>set</CODE> method for the content property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getContent().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link JAXBElement }{@code <}
* {@link AdxpAdditionalLocator }{@code >} {@link JAXBElement }{@code <}{@link AdxpPostBox }
* {@code >} {@link JAXBElement }{@code <}{@link AdxpHouseNumber }{@code >} {@link JAXBElement }
* {@code <}{@link AdxpStreetNameType }{@code >} {@link JAXBElement }{@code <}
* {@link AdxpDeliveryAddressLine }{@code >} {@link JAXBElement }{@code <}{@link AdxpCounty }
* {@code >} {@link JAXBElement }{@code <}{@link AdxpDirection }{@code >} {@link JAXBElement }
* {@code <}{@link AdxpPrecinct }{@code >} {@link JAXBElement }{@code <}{@link AdxpDelimiter }
* {@code >} {@link JAXBElement }{@code <}{@link AdxpState }{@code >} {@link JAXBElement }{@code <}
* {@link AdxpDeliveryInstallationQualifier }{@code >} {@link JAXBElement }{@code <}
* {@link AdxpCity }{@code >} {@link JAXBElement }{@code <}{@link AdxpBuildingNumberSuffix }
* {@code >} {@link JAXBElement }{@code <}{@link AdxpDeliveryInstallationType }{@code >}
* {@link JAXBElement }{@code <}{@link AdxpUnitID }{@code >} {@link JAXBElement }{@code <}
* {@link AdxpPostalCode }{@code >} {@link JAXBElement }{@code <}{@link AdxpDeliveryMode }{@code >}
* {@link JAXBElement }{@code <}{@link AdxpStreetNameBase }{@code >} {@link JAXBElement }{@code <}
* {@link AdxpDeliveryInstallationArea }{@code >} {@link JAXBElement }{@code <}
* {@link AdxpDeliveryModeIdentifier }{@code >} {@link JAXBElement }{@code <}
* {@link AdxpCensusTract }{@code >} {@link JAXBElement }{@code <}{@link AdxpStreetAddressLine }
* {@code >} {@link JAXBElement }{@code <}{@link AdxpCareOf }{@code >} {@link JAXBElement }{@code <}
* {@link SXCMTS }{@code >} {@link JAXBElement }{@code <}{@link AdxpHouseNumberNumeric }{@code >}
* {@link JAXBElement }{@code <}{@link AdxpStreetName }{@code >} {@link JAXBElement }{@code <}
* {@link AdxpUnitType }{@code >} {@link String } {@link JAXBElement }{@code <}{@link AdxpCountry }
* {@code >}
*
*
*/
public List<Serializable> getContent(){
if (content == null) {
content = new ArrayList<Serializable>();
}
return this.content;
}
/**
* Gets the value of the use property.
*
* <p>
* 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 <CODE>set</CODE> method for the use property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getUse().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getUse(){
if (use == null) {
use = new ArrayList<String>();
}
return this.use;
}
/**
* Gets the value of the isNotOrdered property.
*
* @return possible object is {@link Boolean }
*
*/
public Boolean isIsNotOrdered(){
return isNotOrdered;
}
/**
* Sets the value of the isNotOrdered property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setIsNotOrdered(Boolean value){
this.isNotOrdered = value;
}
}