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

org.hl7.v3.COCTMT600000UV06SupplyEvent 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: 2013.12.15 at 11:19:24 AM PST 
//


package org.hl7.v3;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
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;


/**
 * 

Java class for COCT_MT600000UV06.SupplyEvent complex type. * *

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

 * <complexType name="COCT_MT600000UV06.SupplyEvent">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <group ref="{urn:hl7-org:v3}InfrastructureRootElements"/>
 *         <element name="code" type="{urn:hl7-org:v3}CD"/>
 *         <element name="effectiveTime" type="{urn:hl7-org:v3}IVL_TS" minOccurs="0"/>
 *         <element name="priorityCode" type="{urn:hl7-org:v3}CE" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="product" type="{urn:hl7-org:v3}COCT_MT600000UV06.Product" maxOccurs="2"/>
 *         <element name="performer" type="{urn:hl7-org:v3}COCT_MT600000UV06.Performer" minOccurs="0"/>
 *         <element name="origin" type="{urn:hl7-org:v3}COCT_MT600000UV06.Origin" minOccurs="0"/>
 *         <element name="destination" type="{urn:hl7-org:v3}COCT_MT600000UV06.Destination" minOccurs="0"/>
 *         <element name="location" type="{urn:hl7-org:v3}COCT_MT600000UV06.Location"/>
 *         <element name="pertinentInformation1" type="{urn:hl7-org:v3}COCT_MT600000UV06.PertinentInformation1" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="pertinentInformation2" type="{urn:hl7-org:v3}COCT_MT600000UV06.PertinentInformation2"/>
 *         <element name="pertinentInformation3" type="{urn:hl7-org:v3}COCT_MT600000UV06.PertinentInformation" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attGroup ref="{urn:hl7-org:v3}InfrastructureRootAttributes"/>
 *       <attribute name="nullFlavor" type="{urn:hl7-org:v3}NullFlavor" />
 *       <attribute name="classCode" use="required" type="{urn:hl7-org:v3}ActClassSupply" />
 *       <attribute name="moodCode" use="required" type="{urn:hl7-org:v3}ActMood" fixed="EVN" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "COCT_MT600000UV06.SupplyEvent", namespace = "urn:hl7-org:v3", propOrder = { "realmCode", "typeId", "templateId", "code", "effectiveTime", "priorityCode", "product", "performer", "origin", "destination", "location", "pertinentInformation1", "pertinentInformation2", "pertinentInformation3" }) public class COCTMT600000UV06SupplyEvent { @XmlElement(namespace = "urn:hl7-org:v3") protected List realmCode; @XmlElement(namespace = "urn:hl7-org:v3") protected II typeId; @XmlElement(namespace = "urn:hl7-org:v3") protected List templateId; @XmlElement(namespace = "urn:hl7-org:v3", required = true) protected CD code; @XmlElement(namespace = "urn:hl7-org:v3") protected IVLTS effectiveTime; @XmlElement(namespace = "urn:hl7-org:v3") protected List priorityCode; @XmlElement(namespace = "urn:hl7-org:v3", required = true) protected List product; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected COCTMT600000UV06Performer performer; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected COCTMT600000UV06Origin origin; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected COCTMT600000UV06Destination destination; @XmlElement(namespace = "urn:hl7-org:v3", required = true) protected COCTMT600000UV06Location location; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected List pertinentInformation1; @XmlElement(namespace = "urn:hl7-org:v3", required = true, nillable = true) protected COCTMT600000UV06PertinentInformation2 pertinentInformation2; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected List pertinentInformation3; @XmlAttribute(name = "nullFlavor") protected List nullFlavor; @XmlAttribute(name = "classCode", required = true) protected ActClassSupply classCode; @XmlAttribute(name = "moodCode", required = true) protected List moodCode; /** * Gets the value of the realmCode 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 realmCode property. * *

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

     *    getRealmCode().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CS } * * */ public List getRealmCode() { if (realmCode == null) { realmCode = new ArrayList(); } return this.realmCode; } /** * Gets the value of the typeId property. * * @return * possible object is * {@link II } * */ public II getTypeId() { return typeId; } /** * Sets the value of the typeId property. * * @param value * allowed object is * {@link II } * */ public void setTypeId(II value) { this.typeId = value; } /** * Gets the value of the templateId 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 templateId property. * *

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

     *    getTemplateId().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link II } * * */ public List getTemplateId() { if (templateId == null) { templateId = new ArrayList(); } return this.templateId; } /** * Gets the value of the code property. * * @return * possible object is * {@link CD } * */ public CD getCode() { return code; } /** * Sets the value of the code property. * * @param value * allowed object is * {@link CD } * */ public void setCode(CD value) { this.code = value; } /** * Gets the value of the effectiveTime property. * * @return * possible object is * {@link IVLTS } * */ public IVLTS getEffectiveTime() { return effectiveTime; } /** * Sets the value of the effectiveTime property. * * @param value * allowed object is * {@link IVLTS } * */ public void setEffectiveTime(IVLTS value) { this.effectiveTime = value; } /** * Gets the value of the priorityCode 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 priorityCode property. * *

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

     *    getPriorityCode().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CE } * * */ public List getPriorityCode() { if (priorityCode == null) { priorityCode = new ArrayList(); } return this.priorityCode; } /** * Gets the value of the product 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 product property. * *

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

     *    getProduct().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link COCTMT600000UV06Product } * * */ public List getProduct() { if (product == null) { product = new ArrayList(); } return this.product; } /** * Gets the value of the performer property. * * @return * possible object is * {@link COCTMT600000UV06Performer } * */ public COCTMT600000UV06Performer getPerformer() { return performer; } /** * Sets the value of the performer property. * * @param value * allowed object is * {@link COCTMT600000UV06Performer } * */ public void setPerformer(COCTMT600000UV06Performer value) { this.performer = value; } /** * Gets the value of the origin property. * * @return * possible object is * {@link COCTMT600000UV06Origin } * */ public COCTMT600000UV06Origin getOrigin() { return origin; } /** * Sets the value of the origin property. * * @param value * allowed object is * {@link COCTMT600000UV06Origin } * */ public void setOrigin(COCTMT600000UV06Origin value) { this.origin = value; } /** * Gets the value of the destination property. * * @return * possible object is * {@link COCTMT600000UV06Destination } * */ public COCTMT600000UV06Destination getDestination() { return destination; } /** * Sets the value of the destination property. * * @param value * allowed object is * {@link COCTMT600000UV06Destination } * */ public void setDestination(COCTMT600000UV06Destination value) { this.destination = value; } /** * Gets the value of the location property. * * @return * possible object is * {@link COCTMT600000UV06Location } * */ public COCTMT600000UV06Location getLocation() { return location; } /** * Sets the value of the location property. * * @param value * allowed object is * {@link COCTMT600000UV06Location } * */ public void setLocation(COCTMT600000UV06Location value) { this.location = value; } /** * Gets the value of the pertinentInformation1 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 pertinentInformation1 property. * *

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

     *    getPertinentInformation1().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link COCTMT600000UV06PertinentInformation1 } * * */ public List getPertinentInformation1() { if (pertinentInformation1 == null) { pertinentInformation1 = new ArrayList(); } return this.pertinentInformation1; } /** * Gets the value of the pertinentInformation2 property. * * @return * possible object is * {@link COCTMT600000UV06PertinentInformation2 } * */ public COCTMT600000UV06PertinentInformation2 getPertinentInformation2() { return pertinentInformation2; } /** * Sets the value of the pertinentInformation2 property. * * @param value * allowed object is * {@link COCTMT600000UV06PertinentInformation2 } * */ public void setPertinentInformation2(COCTMT600000UV06PertinentInformation2 value) { this.pertinentInformation2 = value; } /** * Gets the value of the pertinentInformation3 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 pertinentInformation3 property. * *

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

     *    getPertinentInformation3().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link COCTMT600000UV06PertinentInformation } * * */ public List getPertinentInformation3() { if (pertinentInformation3 == null) { pertinentInformation3 = new ArrayList(); } return this.pertinentInformation3; } /** * Gets the value of the nullFlavor 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 nullFlavor property. * *

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

     *    getNullFlavor().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getNullFlavor() { if (nullFlavor == null) { nullFlavor = new ArrayList(); } return this.nullFlavor; } /** * Gets the value of the classCode property. * * @return * possible object is * {@link ActClassSupply } * */ public ActClassSupply getClassCode() { return classCode; } /** * Sets the value of the classCode property. * * @param value * allowed object is * {@link ActClassSupply } * */ public void setClassCode(ActClassSupply value) { this.classCode = value; } /** * Gets the value of the moodCode 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 moodCode property. * *

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

     *    getMoodCode().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getMoodCode() { if (moodCode == null) { moodCode = new ArrayList(); } return this.moodCode; } public COCTMT600000UV06SupplyEvent withRealmCode(CS... values) { if (values!= null) { for (CS value: values) { getRealmCode().add(value); } } return this; } public COCTMT600000UV06SupplyEvent withRealmCode(Collection values) { if (values!= null) { getRealmCode().addAll(values); } return this; } public COCTMT600000UV06SupplyEvent withTypeId(II value) { setTypeId(value); return this; } public COCTMT600000UV06SupplyEvent withTemplateId(II... values) { if (values!= null) { for (II value: values) { getTemplateId().add(value); } } return this; } public COCTMT600000UV06SupplyEvent withTemplateId(Collection values) { if (values!= null) { getTemplateId().addAll(values); } return this; } public COCTMT600000UV06SupplyEvent withCode(CD value) { setCode(value); return this; } public COCTMT600000UV06SupplyEvent withEffectiveTime(IVLTS value) { setEffectiveTime(value); return this; } public COCTMT600000UV06SupplyEvent withPriorityCode(CE... values) { if (values!= null) { for (CE value: values) { getPriorityCode().add(value); } } return this; } public COCTMT600000UV06SupplyEvent withPriorityCode(Collection values) { if (values!= null) { getPriorityCode().addAll(values); } return this; } public COCTMT600000UV06SupplyEvent withProduct(COCTMT600000UV06Product... values) { if (values!= null) { for (COCTMT600000UV06Product value: values) { getProduct().add(value); } } return this; } public COCTMT600000UV06SupplyEvent withProduct(Collection values) { if (values!= null) { getProduct().addAll(values); } return this; } public COCTMT600000UV06SupplyEvent withPerformer(COCTMT600000UV06Performer value) { setPerformer(value); return this; } public COCTMT600000UV06SupplyEvent withOrigin(COCTMT600000UV06Origin value) { setOrigin(value); return this; } public COCTMT600000UV06SupplyEvent withDestination(COCTMT600000UV06Destination value) { setDestination(value); return this; } public COCTMT600000UV06SupplyEvent withLocation(COCTMT600000UV06Location value) { setLocation(value); return this; } public COCTMT600000UV06SupplyEvent withPertinentInformation1(COCTMT600000UV06PertinentInformation1 ... values) { if (values!= null) { for (COCTMT600000UV06PertinentInformation1 value: values) { getPertinentInformation1().add(value); } } return this; } public COCTMT600000UV06SupplyEvent withPertinentInformation1(Collection values) { if (values!= null) { getPertinentInformation1().addAll(values); } return this; } public COCTMT600000UV06SupplyEvent withPertinentInformation2(COCTMT600000UV06PertinentInformation2 value) { setPertinentInformation2(value); return this; } public COCTMT600000UV06SupplyEvent withPertinentInformation3(COCTMT600000UV06PertinentInformation... values) { if (values!= null) { for (COCTMT600000UV06PertinentInformation value: values) { getPertinentInformation3().add(value); } } return this; } public COCTMT600000UV06SupplyEvent withPertinentInformation3(Collection values) { if (values!= null) { getPertinentInformation3().addAll(values); } return this; } public COCTMT600000UV06SupplyEvent withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } public COCTMT600000UV06SupplyEvent withNullFlavor(Collection values) { if (values!= null) { getNullFlavor().addAll(values); } return this; } public COCTMT600000UV06SupplyEvent withClassCode(ActClassSupply value) { setClassCode(value); return this; } public COCTMT600000UV06SupplyEvent withMoodCode(String... values) { if (values!= null) { for (String value: values) { getMoodCode().add(value); } } return this; } public COCTMT600000UV06SupplyEvent withMoodCode(Collection values) { if (values!= null) { getMoodCode().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