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

org.hl7.v3.COCTMT080000UVManufactured 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_MT080000UV.Manufactured complex type. * *

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

 * <complexType name="COCT_MT080000UV.Manufactured">
 *   <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}CE"/>
 *         <element name="quantity" type="{urn:hl7-org:v3}PQ" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="desc" type="{urn:hl7-org:v3}ST" minOccurs="0"/>
 *         <element name="riskCode" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
 *         <element name="handlingCode" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
 *         <element name="lotNumberText" type="{urn:hl7-org:v3}ST" minOccurs="0"/>
 *         <element name="expirationTime" type="{urn:hl7-org:v3}IVL_TS" minOccurs="0"/>
 *         <element name="asSpecimenAlternateIdentifier" type="{urn:hl7-org:v3}COCT_MT080000UV.SpecimenAlternateIdentifier" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="asManufacturedProduct" type="{urn:hl7-org:v3}COCT_MT080000UV.ManufacturedProduct"/>
 *         <element name="asSpecimenStub" type="{urn:hl7-org:v3}COCT_MT080000UV.SpecimenStub" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="asContent" type="{urn:hl7-org:v3}COCT_MT080000UV.Content1" minOccurs="0"/>
 *         <element name="additive" type="{urn:hl7-org:v3}COCT_MT080000UV.Additive" 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}EntityClassManufacturedMaterial" />
 *       <attribute name="determinerCode" use="required" type="{urn:hl7-org:v3}EntityDeterminer" fixed="INSTANCE" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "COCT_MT080000UV.Manufactured", namespace = "urn:hl7-org:v3", propOrder = { "realmCode", "typeId", "templateId", "code", "quantity", "desc", "riskCode", "handlingCode", "lotNumberText", "expirationTime", "asSpecimenAlternateIdentifier", "asManufacturedProduct", "asSpecimenStub", "asContent", "additive" }) public class COCTMT080000UVManufactured { @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 CE code; @XmlElement(namespace = "urn:hl7-org:v3") protected List quantity; @XmlElement(namespace = "urn:hl7-org:v3") protected ST desc; @XmlElement(namespace = "urn:hl7-org:v3") protected CE riskCode; @XmlElement(namespace = "urn:hl7-org:v3") protected CE handlingCode; @XmlElement(namespace = "urn:hl7-org:v3") protected ST lotNumberText; @XmlElement(namespace = "urn:hl7-org:v3") protected IVLTS expirationTime; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected List asSpecimenAlternateIdentifier; @XmlElement(namespace = "urn:hl7-org:v3", required = true, nillable = true) protected COCTMT080000UVManufacturedProduct asManufacturedProduct; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected List asSpecimenStub; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected COCTMT080000UVContent1 asContent; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected List additive; @XmlAttribute(name = "nullFlavor") protected List nullFlavor; @XmlAttribute(name = "classCode", required = true) protected String classCode; @XmlAttribute(name = "determinerCode", required = true) protected String determinerCode; /** * 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 CE } * */ public CE getCode() { return code; } /** * Sets the value of the code property. * * @param value * allowed object is * {@link CE } * */ public void setCode(CE value) { this.code = value; } /** * Gets the value of the quantity 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 quantity property. * *

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

     *    getQuantity().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PQ } * * */ public List getQuantity() { if (quantity == null) { quantity = new ArrayList(); } return this.quantity; } /** * Gets the value of the desc property. * * @return * possible object is * {@link ST } * */ public ST getDesc() { return desc; } /** * Sets the value of the desc property. * * @param value * allowed object is * {@link ST } * */ public void setDesc(ST value) { this.desc = value; } /** * Gets the value of the riskCode property. * * @return * possible object is * {@link CE } * */ public CE getRiskCode() { return riskCode; } /** * Sets the value of the riskCode property. * * @param value * allowed object is * {@link CE } * */ public void setRiskCode(CE value) { this.riskCode = value; } /** * Gets the value of the handlingCode property. * * @return * possible object is * {@link CE } * */ public CE getHandlingCode() { return handlingCode; } /** * Sets the value of the handlingCode property. * * @param value * allowed object is * {@link CE } * */ public void setHandlingCode(CE value) { this.handlingCode = value; } /** * Gets the value of the lotNumberText property. * * @return * possible object is * {@link ST } * */ public ST getLotNumberText() { return lotNumberText; } /** * Sets the value of the lotNumberText property. * * @param value * allowed object is * {@link ST } * */ public void setLotNumberText(ST value) { this.lotNumberText = value; } /** * Gets the value of the expirationTime property. * * @return * possible object is * {@link IVLTS } * */ public IVLTS getExpirationTime() { return expirationTime; } /** * Sets the value of the expirationTime property. * * @param value * allowed object is * {@link IVLTS } * */ public void setExpirationTime(IVLTS value) { this.expirationTime = value; } /** * Gets the value of the asSpecimenAlternateIdentifier 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 asSpecimenAlternateIdentifier property. * *

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

     *    getAsSpecimenAlternateIdentifier().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link COCTMT080000UVSpecimenAlternateIdentifier } * * */ public List getAsSpecimenAlternateIdentifier() { if (asSpecimenAlternateIdentifier == null) { asSpecimenAlternateIdentifier = new ArrayList(); } return this.asSpecimenAlternateIdentifier; } /** * Gets the value of the asManufacturedProduct property. * * @return * possible object is * {@link COCTMT080000UVManufacturedProduct } * */ public COCTMT080000UVManufacturedProduct getAsManufacturedProduct() { return asManufacturedProduct; } /** * Sets the value of the asManufacturedProduct property. * * @param value * allowed object is * {@link COCTMT080000UVManufacturedProduct } * */ public void setAsManufacturedProduct(COCTMT080000UVManufacturedProduct value) { this.asManufacturedProduct = value; } /** * Gets the value of the asSpecimenStub 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 asSpecimenStub property. * *

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

     *    getAsSpecimenStub().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link COCTMT080000UVSpecimenStub } * * */ public List getAsSpecimenStub() { if (asSpecimenStub == null) { asSpecimenStub = new ArrayList(); } return this.asSpecimenStub; } /** * Gets the value of the asContent property. * * @return * possible object is * {@link COCTMT080000UVContent1 } * */ public COCTMT080000UVContent1 getAsContent() { return asContent; } /** * Sets the value of the asContent property. * * @param value * allowed object is * {@link COCTMT080000UVContent1 } * */ public void setAsContent(COCTMT080000UVContent1 value) { this.asContent = value; } /** * Gets the value of the additive 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 additive property. * *

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

     *    getAdditive().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link COCTMT080000UVAdditive } * * */ public List getAdditive() { if (additive == null) { additive = new ArrayList(); } return this.additive; } /** * 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 String } * */ public String getClassCode() { return classCode; } /** * Sets the value of the classCode property. * * @param value * allowed object is * {@link String } * */ public void setClassCode(String value) { this.classCode = value; } /** * Gets the value of the determinerCode property. * * @return * possible object is * {@link String } * */ public String getDeterminerCode() { if (determinerCode == null) { return "INSTANCE"; } else { return determinerCode; } } /** * Sets the value of the determinerCode property. * * @param value * allowed object is * {@link String } * */ public void setDeterminerCode(String value) { this.determinerCode = value; } public COCTMT080000UVManufactured withRealmCode(CS... values) { if (values!= null) { for (CS value: values) { getRealmCode().add(value); } } return this; } public COCTMT080000UVManufactured withRealmCode(Collection values) { if (values!= null) { getRealmCode().addAll(values); } return this; } public COCTMT080000UVManufactured withTypeId(II value) { setTypeId(value); return this; } public COCTMT080000UVManufactured withTemplateId(II... values) { if (values!= null) { for (II value: values) { getTemplateId().add(value); } } return this; } public COCTMT080000UVManufactured withTemplateId(Collection values) { if (values!= null) { getTemplateId().addAll(values); } return this; } public COCTMT080000UVManufactured withCode(CE value) { setCode(value); return this; } public COCTMT080000UVManufactured withQuantity(PQ... values) { if (values!= null) { for (PQ value: values) { getQuantity().add(value); } } return this; } public COCTMT080000UVManufactured withQuantity(Collection values) { if (values!= null) { getQuantity().addAll(values); } return this; } public COCTMT080000UVManufactured withDesc(ST value) { setDesc(value); return this; } public COCTMT080000UVManufactured withRiskCode(CE value) { setRiskCode(value); return this; } public COCTMT080000UVManufactured withHandlingCode(CE value) { setHandlingCode(value); return this; } public COCTMT080000UVManufactured withLotNumberText(ST value) { setLotNumberText(value); return this; } public COCTMT080000UVManufactured withExpirationTime(IVLTS value) { setExpirationTime(value); return this; } public COCTMT080000UVManufactured withAsSpecimenAlternateIdentifier(COCTMT080000UVSpecimenAlternateIdentifier... values) { if (values!= null) { for (COCTMT080000UVSpecimenAlternateIdentifier value: values) { getAsSpecimenAlternateIdentifier().add(value); } } return this; } public COCTMT080000UVManufactured withAsSpecimenAlternateIdentifier(Collection values) { if (values!= null) { getAsSpecimenAlternateIdentifier().addAll(values); } return this; } public COCTMT080000UVManufactured withAsManufacturedProduct(COCTMT080000UVManufacturedProduct value) { setAsManufacturedProduct(value); return this; } public COCTMT080000UVManufactured withAsSpecimenStub(COCTMT080000UVSpecimenStub... values) { if (values!= null) { for (COCTMT080000UVSpecimenStub value: values) { getAsSpecimenStub().add(value); } } return this; } public COCTMT080000UVManufactured withAsSpecimenStub(Collection values) { if (values!= null) { getAsSpecimenStub().addAll(values); } return this; } public COCTMT080000UVManufactured withAsContent(COCTMT080000UVContent1 value) { setAsContent(value); return this; } public COCTMT080000UVManufactured withAdditive(COCTMT080000UVAdditive... values) { if (values!= null) { for (COCTMT080000UVAdditive value: values) { getAdditive().add(value); } } return this; } public COCTMT080000UVManufactured withAdditive(Collection values) { if (values!= null) { getAdditive().addAll(values); } return this; } public COCTMT080000UVManufactured withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } public COCTMT080000UVManufactured withNullFlavor(Collection values) { if (values!= null) { getNullFlavor().addAll(values); } return this; } public COCTMT080000UVManufactured withClassCode(String value) { setClassCode(value); return this; } public COCTMT080000UVManufactured withDeterminerCode(String value) { setDeterminerCode(value); 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