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. * * *

Java class for AD complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AD", propOrder = { "content" }) public class AD { @XmlElementRefs({ @XmlElementRef(name = "streetNameBase", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "precinct", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "country", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "county", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "buildingNumberSuffix", 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 = "state", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "deliveryInstallationQualifier", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "unitID", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "streetAddressLine", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "postBox", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "additionalLocator", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "streetName", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "deliveryInstallationType", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "direction", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "deliveryInstallationArea", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "city", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "deliveryModeIdentifier", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "careOf", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "unitType", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "useablePeriod", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "deliveryMode", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "houseNumber", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "postalCode", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "censusTract", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "houseNumberNumeric", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "delimiter", namespace = "urn:hl7-org:v3", type = JAXBElement.class) }) @XmlMixed protected List content; @XmlAttribute protected List use; @XmlAttribute(name = "isNotOrdered") protected Boolean ?sNotOrdered; /** * * 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. * *

* 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 content property. * *

* For example, to add a new item, do as follows: *

     *    getContent().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link AdxpStreetNameBase }{@code >} * {@link JAXBElement }{@code <}{@link AdxpPrecinct }{@code >} * {@link JAXBElement }{@code <}{@link AdxpCountry }{@code >} * {@link JAXBElement }{@code <}{@link AdxpCounty }{@code >} * {@link JAXBElement }{@code <}{@link AdxpBuildingNumberSuffix }{@code >} * {@link JAXBElement }{@code <}{@link AdxpStreetNameType }{@code >} * {@link JAXBElement }{@code <}{@link AdxpDeliveryAddressLine }{@code >} * {@link JAXBElement }{@code <}{@link AdxpState }{@code >} * {@link JAXBElement }{@code <}{@link AdxpDeliveryInstallationQualifier }{@code >} * {@link JAXBElement }{@code <}{@link AdxpUnitID }{@code >} * {@link JAXBElement }{@code <}{@link AdxpStreetAddressLine }{@code >} * {@link JAXBElement }{@code <}{@link AdxpPostBox }{@code >} * {@link JAXBElement }{@code <}{@link AdxpAdditionalLocator }{@code >} * {@link JAXBElement }{@code <}{@link AdxpStreetName }{@code >} * {@link JAXBElement }{@code <}{@link AdxpDeliveryInstallationType }{@code >} * {@link JAXBElement }{@code <}{@link AdxpDirection }{@code >} * {@link JAXBElement }{@code <}{@link AdxpDeliveryInstallationArea }{@code >} * {@link JAXBElement }{@code <}{@link AdxpCity }{@code >} * {@link JAXBElement }{@code <}{@link AdxpDeliveryModeIdentifier }{@code >} * {@link JAXBElement }{@code <}{@link AdxpCareOf }{@code >} * {@link String } * {@link JAXBElement }{@code <}{@link AdxpUnitType }{@code >} * {@link JAXBElement }{@code <}{@link SXCMTS }{@code >} * {@link JAXBElement }{@code <}{@link AdxpDeliveryMode }{@code >} * {@link JAXBElement }{@code <}{@link AdxpHouseNumber }{@code >} * {@link JAXBElement }{@code <}{@link AdxpPostalCode }{@code >} * {@link JAXBElement }{@code <}{@link AdxpCensusTract }{@code >} * {@link JAXBElement }{@code <}{@link AdxpHouseNumberNumeric }{@code >} * {@link JAXBElement }{@code <}{@link AdxpDelimiter }{@code >} * * */ public List getContent() { if (content == null) { content = new ArrayList(); } return this.content; } /** * Gets the value of the use 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 JAXB object. * This is why there is not a set method for the use property. * *

* For example, to add a new item, do as follows: *

     *    getUse().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getUse() { if (use == null) { use = new ArrayList(); } return this.use; } /** * Gets the value of the ?sNotOrdered property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIsNotOrdered() { return ?sNotOrdered; } /** * Sets the value of the ?sNotOrdered property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsNotOrdered(Boolean value) { this.?sNotOrdered = value; } }