All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hl7.v3.AD Maven / Gradle / Ivy

There is a newer version: 0.10.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2014.07.06 at 04:34:42 PM PDT 
//


package org.hl7.v3;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
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;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;


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

* 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 AdxpDeliveryAddressLine }{@code >} * {@link JAXBElement }{@code <}{@link AdxpHouseNumberNumeric }{@code >} * {@link JAXBElement }{@code <}{@link AdxpStreetName }{@code >} * {@link JAXBElement }{@code <}{@link AdxpPostBox }{@code >} * {@link JAXBElement }{@code <}{@link AdxpDirection }{@code >} * {@link String } * {@link JAXBElement }{@code <}{@link AdxpDelimiter }{@code >} * {@link JAXBElement }{@code <}{@link AdxpUnitType }{@code >} * {@link JAXBElement }{@code <}{@link AdxpAdditionalLocator }{@code >} * {@link JAXBElement }{@code <}{@link AdxpBuildingNumberSuffix }{@code >} * {@link JAXBElement }{@code <}{@link AdxpCounty }{@code >} * {@link JAXBElement }{@code <}{@link SXCMTS }{@code >} * {@link JAXBElement }{@code <}{@link AdxpPostalCode }{@code >} * {@link JAXBElement }{@code <}{@link AdxpCareOf }{@code >} * {@link JAXBElement }{@code <}{@link AdxpState }{@code >} * {@link JAXBElement }{@code <}{@link AdxpCensusTract }{@code >} * {@link JAXBElement }{@code <}{@link AdxpDeliveryMode }{@code >} * {@link JAXBElement }{@code <}{@link AdxpDeliveryInstallationQualifier }{@code >} * {@link JAXBElement }{@code <}{@link AdxpDeliveryModeIdentifier }{@code >} * {@link JAXBElement }{@code <}{@link AdxpStreetAddressLine }{@code >} * {@link JAXBElement }{@code <}{@link AdxpDeliveryInstallationArea }{@code >} * {@link JAXBElement }{@code <}{@link AdxpDeliveryInstallationType }{@code >} * {@link JAXBElement }{@code <}{@link AdxpHouseNumber }{@code >} * {@link JAXBElement }{@code <}{@link AdxpPrecinct }{@code >} * {@link JAXBElement }{@code <}{@link AdxpCountry }{@code >} * {@link JAXBElement }{@code <}{@link AdxpStreetNameBase }{@code >} * {@link JAXBElement }{@code <}{@link AdxpStreetNameType }{@code >} * {@link JAXBElement }{@code <}{@link AdxpCity }{@code >} * {@link JAXBElement }{@code <}{@link AdxpUnitID }{@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 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; } public AD withContent(Serializable... values) { if (values!= null) { for (Serializable value: values) { getContent().add(value); } } return this; } public AD withContent(Collection values) { if (values!= null) { getContent().addAll(values); } return this; } public AD withUse(String... values) { if (values!= null) { for (String value: values) { getUse().add(value); } } return this; } public AD withUse(Collection values) { if (values!= null) { getUse().addAll(values); } return this; } public AD withIsNotOrdered(Boolean value) { setIsNotOrdered(value); return this; } @Override public AD withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } @Override public AD withNullFlavor(Collection values) { if (values!= null) { getNullFlavor().addAll(values); } return this; } @Override public String toString() { return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE); } @Override public boolean equals(Object that) { return EqualsBuilder.reflectionEquals(this, that); } @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy