
org.hl7.v3.COCTMT080000UVContainer Maven / Gradle / Ivy
Show all versions of ihe-iti Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.06.09 at 07:53:44 PM PDT
//
package org.hl7.v3;
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.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
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.Container complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="COCT_MT080000UV.Container">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <group ref="{urn:hl7-org:v3}InfrastructureRootElements"/>
* <element name="id" type="{urn:hl7-org:v3}II" minOccurs="0"/>
* <element name="code" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
* <element name="desc" type="{urn:hl7-org:v3}ED" 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="capacityQuantity" type="{urn:hl7-org:v3}PQ" minOccurs="0"/>
* <element name="heightQuantity" type="{urn:hl7-org:v3}PQ" minOccurs="0"/>
* <element name="diameterQuantity" type="{urn:hl7-org:v3}PQ" minOccurs="0"/>
* <element name="capTypeCode" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
* <element name="separatorTypeCode" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
* <element name="barrierDeltaQuantity" type="{urn:hl7-org:v3}PQ" minOccurs="0"/>
* <element name="bottomDeltaQuantity" type="{urn:hl7-org:v3}PQ" minOccurs="0"/>
* <element name="asIdentifiedContainer" type="{urn:hl7-org:v3}COCT_MT080000UV.IdentifiedContainer" minOccurs="0"/>
* <element name="asContent" type="{urn:hl7-org:v3}COCT_MT080000UV.Content3" minOccurs="0"/>
* <element name="asLocatedEntity" type="{urn:hl7-org:v3}COCT_MT070000UV01.LocatedEntity" minOccurs="0"/>
* <element name="additive" type="{urn:hl7-org:v3}COCT_MT080000UV.Additive2" 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}EntityClassContainer" />
* <attribute name="determinerCode" use="required" type="{urn:hl7-org:v3}EntityDeterminer" fixed="INSTANCE" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "COCT_MT080000UV.Container", namespace = "urn:hl7-org:v3", propOrder = {
"realmCode",
"typeId",
"templateId",
"id",
"code",
"desc",
"riskCode",
"handlingCode",
"capacityQuantity",
"heightQuantity",
"diameterQuantity",
"capTypeCode",
"separatorTypeCode",
"barrierDeltaQuantity",
"bottomDeltaQuantity",
"asIdentifiedContainer",
"asContent",
"asLocatedEntity",
"additive"
})
public class COCTMT080000UVContainer {
@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")
protected II id;
@XmlElement(namespace = "urn:hl7-org:v3")
protected CE code;
@XmlElement(namespace = "urn:hl7-org:v3")
protected ED 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 PQ capacityQuantity;
@XmlElement(namespace = "urn:hl7-org:v3")
protected PQ heightQuantity;
@XmlElement(namespace = "urn:hl7-org:v3")
protected PQ diameterQuantity;
@XmlElement(namespace = "urn:hl7-org:v3")
protected CE capTypeCode;
@XmlElement(namespace = "urn:hl7-org:v3")
protected CE separatorTypeCode;
@XmlElement(namespace = "urn:hl7-org:v3")
protected PQ barrierDeltaQuantity;
@XmlElement(namespace = "urn:hl7-org:v3")
protected PQ bottomDeltaQuantity;
@XmlElementRef(name = "asIdentifiedContainer", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false)
protected JAXBElement asIdentifiedContainer;
@XmlElementRef(name = "asContent", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false)
protected JAXBElement asContent;
@XmlElementRef(name = "asLocatedEntity", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false)
protected JAXBElement asLocatedEntity;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List additive;
@XmlAttribute(name = "nullFlavor")
protected List nullFlavor;
@XmlAttribute(name = "classCode", required = true)
protected EntityClassContainer 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 id property.
*
* @return
* possible object is
* {@link II }
*
*/
public II getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link II }
*
*/
public void setId(II value) {
this.id = value;
}
/**
* 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 desc property.
*
* @return
* possible object is
* {@link ED }
*
*/
public ED getDesc() {
return desc;
}
/**
* Sets the value of the desc property.
*
* @param value
* allowed object is
* {@link ED }
*
*/
public void setDesc(ED 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 capacityQuantity property.
*
* @return
* possible object is
* {@link PQ }
*
*/
public PQ getCapacityQuantity() {
return capacityQuantity;
}
/**
* Sets the value of the capacityQuantity property.
*
* @param value
* allowed object is
* {@link PQ }
*
*/
public void setCapacityQuantity(PQ value) {
this.capacityQuantity = value;
}
/**
* Gets the value of the heightQuantity property.
*
* @return
* possible object is
* {@link PQ }
*
*/
public PQ getHeightQuantity() {
return heightQuantity;
}
/**
* Sets the value of the heightQuantity property.
*
* @param value
* allowed object is
* {@link PQ }
*
*/
public void setHeightQuantity(PQ value) {
this.heightQuantity = value;
}
/**
* Gets the value of the diameterQuantity property.
*
* @return
* possible object is
* {@link PQ }
*
*/
public PQ getDiameterQuantity() {
return diameterQuantity;
}
/**
* Sets the value of the diameterQuantity property.
*
* @param value
* allowed object is
* {@link PQ }
*
*/
public void setDiameterQuantity(PQ value) {
this.diameterQuantity = value;
}
/**
* Gets the value of the capTypeCode property.
*
* @return
* possible object is
* {@link CE }
*
*/
public CE getCapTypeCode() {
return capTypeCode;
}
/**
* Sets the value of the capTypeCode property.
*
* @param value
* allowed object is
* {@link CE }
*
*/
public void setCapTypeCode(CE value) {
this.capTypeCode = value;
}
/**
* Gets the value of the separatorTypeCode property.
*
* @return
* possible object is
* {@link CE }
*
*/
public CE getSeparatorTypeCode() {
return separatorTypeCode;
}
/**
* Sets the value of the separatorTypeCode property.
*
* @param value
* allowed object is
* {@link CE }
*
*/
public void setSeparatorTypeCode(CE value) {
this.separatorTypeCode = value;
}
/**
* Gets the value of the barrierDeltaQuantity property.
*
* @return
* possible object is
* {@link PQ }
*
*/
public PQ getBarrierDeltaQuantity() {
return barrierDeltaQuantity;
}
/**
* Sets the value of the barrierDeltaQuantity property.
*
* @param value
* allowed object is
* {@link PQ }
*
*/
public void setBarrierDeltaQuantity(PQ value) {
this.barrierDeltaQuantity = value;
}
/**
* Gets the value of the bottomDeltaQuantity property.
*
* @return
* possible object is
* {@link PQ }
*
*/
public PQ getBottomDeltaQuantity() {
return bottomDeltaQuantity;
}
/**
* Sets the value of the bottomDeltaQuantity property.
*
* @param value
* allowed object is
* {@link PQ }
*
*/
public void setBottomDeltaQuantity(PQ value) {
this.bottomDeltaQuantity = value;
}
/**
* Gets the value of the asIdentifiedContainer property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link COCTMT080000UVIdentifiedContainer }{@code >}
*
*/
public JAXBElement getAsIdentifiedContainer() {
return asIdentifiedContainer;
}
/**
* Sets the value of the asIdentifiedContainer property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link COCTMT080000UVIdentifiedContainer }{@code >}
*
*/
public void setAsIdentifiedContainer(JAXBElement value) {
this.asIdentifiedContainer = value;
}
/**
* Gets the value of the asContent property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link COCTMT080000UVContent3 }{@code >}
*
*/
public JAXBElement getAsContent() {
return asContent;
}
/**
* Sets the value of the asContent property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link COCTMT080000UVContent3 }{@code >}
*
*/
public void setAsContent(JAXBElement value) {
this.asContent = value;
}
/**
* Gets the value of the asLocatedEntity property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link COCTMT070000UV01LocatedEntity }{@code >}
*
*/
public JAXBElement getAsLocatedEntity() {
return asLocatedEntity;
}
/**
* Sets the value of the asLocatedEntity property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link COCTMT070000UV01LocatedEntity }{@code >}
*
*/
public void setAsLocatedEntity(JAXBElement value) {
this.asLocatedEntity = 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 COCTMT080000UVAdditive2 }
*
*
*/
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 EntityClassContainer }
*
*/
public EntityClassContainer getClassCode() {
return classCode;
}
/**
* Sets the value of the classCode property.
*
* @param value
* allowed object is
* {@link EntityClassContainer }
*
*/
public void setClassCode(EntityClassContainer 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 COCTMT080000UVContainer withRealmCode(CS... values) {
if (values!= null) {
for (CS value: values) {
getRealmCode().add(value);
}
}
return this;
}
public COCTMT080000UVContainer withRealmCode(Collection values) {
if (values!= null) {
getRealmCode().addAll(values);
}
return this;
}
public COCTMT080000UVContainer withTypeId(II value) {
setTypeId(value);
return this;
}
public COCTMT080000UVContainer withTemplateId(II... values) {
if (values!= null) {
for (II value: values) {
getTemplateId().add(value);
}
}
return this;
}
public COCTMT080000UVContainer withTemplateId(Collection values) {
if (values!= null) {
getTemplateId().addAll(values);
}
return this;
}
public COCTMT080000UVContainer withId(II value) {
setId(value);
return this;
}
public COCTMT080000UVContainer withCode(CE value) {
setCode(value);
return this;
}
public COCTMT080000UVContainer withDesc(ED value) {
setDesc(value);
return this;
}
public COCTMT080000UVContainer withRiskCode(CE value) {
setRiskCode(value);
return this;
}
public COCTMT080000UVContainer withHandlingCode(CE value) {
setHandlingCode(value);
return this;
}
public COCTMT080000UVContainer withCapacityQuantity(PQ value) {
setCapacityQuantity(value);
return this;
}
public COCTMT080000UVContainer withHeightQuantity(PQ value) {
setHeightQuantity(value);
return this;
}
public COCTMT080000UVContainer withDiameterQuantity(PQ value) {
setDiameterQuantity(value);
return this;
}
public COCTMT080000UVContainer withCapTypeCode(CE value) {
setCapTypeCode(value);
return this;
}
public COCTMT080000UVContainer withSeparatorTypeCode(CE value) {
setSeparatorTypeCode(value);
return this;
}
public COCTMT080000UVContainer withBarrierDeltaQuantity(PQ value) {
setBarrierDeltaQuantity(value);
return this;
}
public COCTMT080000UVContainer withBottomDeltaQuantity(PQ value) {
setBottomDeltaQuantity(value);
return this;
}
public COCTMT080000UVContainer withAsIdentifiedContainer(JAXBElement value) {
setAsIdentifiedContainer(value);
return this;
}
public COCTMT080000UVContainer withAsContent(JAXBElement value) {
setAsContent(value);
return this;
}
public COCTMT080000UVContainer withAsLocatedEntity(JAXBElement value) {
setAsLocatedEntity(value);
return this;
}
public COCTMT080000UVContainer withAdditive(COCTMT080000UVAdditive2 ... values) {
if (values!= null) {
for (COCTMT080000UVAdditive2 value: values) {
getAdditive().add(value);
}
}
return this;
}
public COCTMT080000UVContainer withAdditive(Collection values) {
if (values!= null) {
getAdditive().addAll(values);
}
return this;
}
public COCTMT080000UVContainer withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
public COCTMT080000UVContainer withNullFlavor(Collection values) {
if (values!= null) {
getNullFlavor().addAll(values);
}
return this;
}
public COCTMT080000UVContainer withClassCode(EntityClassContainer value) {
setClassCode(value);
return this;
}
public COCTMT080000UVContainer 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);
}
}