
org.hl7.v3.COCTMT510000UV06Benefit 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.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.03.10 at 07:30:12 PM PDT
//
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_MT510000UV06.Benefit complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="COCT_MT510000UV06.Benefit">
* <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" maxOccurs="unbounded" minOccurs="0"/>
* <element name="code" type="{urn:hl7-org:v3}CD" minOccurs="0"/>
* <element name="effectiveTime" type="{urn:hl7-org:v3}IVL_TS" minOccurs="0"/>
* <element name="confidentialityCode" type="{urn:hl7-org:v3}CE" maxOccurs="unbounded" minOccurs="0"/>
* <element name="reasonCode" type="{urn:hl7-org:v3}CE" maxOccurs="unbounded" minOccurs="0"/>
* <element name="definition" type="{urn:hl7-org:v3}COCT_MT510000UV06.Definition" maxOccurs="unbounded" minOccurs="0"/>
* <element name="precondition" type="{urn:hl7-org:v3}COCT_MT510000UV06.Precondition" maxOccurs="unbounded" minOccurs="0"/>
* <element name="reference" type="{urn:hl7-org:v3}COCT_MT510000UV06.Reference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="limitation" type="{urn:hl7-org:v3}COCT_MT510000UV06.Limitation2" 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}ActClassCareProvision" />
* <attribute name="moodCode" use="required" type="{urn:hl7-org:v3}ActMoodCompletionTrack" />
* <attribute name="negationInd" type="{urn:hl7-org:v3}bl" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "COCT_MT510000UV06.Benefit", namespace = "urn:hl7-org:v3", propOrder = {
"realmCode",
"typeId",
"templateId",
"id",
"code",
"effectiveTime",
"confidentialityCode",
"reasonCode",
"definition",
"precondition",
"reference",
"limitation"
})
public class COCTMT510000UV06Benefit {
@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 List id;
@XmlElement(namespace = "urn:hl7-org:v3")
protected CD code;
@XmlElement(namespace = "urn:hl7-org:v3")
protected IVLTS effectiveTime;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List confidentialityCode;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List reasonCode;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List definition;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List precondition;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List reference;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List limitation;
@XmlAttribute(name = "nullFlavor")
protected List nullFlavor;
@XmlAttribute(name = "classCode", required = true)
protected ActClassCareProvision classCode;
@XmlAttribute(name = "moodCode", required = true)
protected List moodCode;
@XmlAttribute(name = "negationInd")
protected Boolean negationInd;
/**
* 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.
*
*
* 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 id property.
*
*
* For example, to add a new item, do as follows:
*
* getId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link II }
*
*
*/
public List getId() {
if (id == null) {
id = new ArrayList();
}
return this.id;
}
/**
* 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 confidentialityCode 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 confidentialityCode property.
*
*
* For example, to add a new item, do as follows:
*
* getConfidentialityCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CE }
*
*
*/
public List getConfidentialityCode() {
if (confidentialityCode == null) {
confidentialityCode = new ArrayList();
}
return this.confidentialityCode;
}
/**
* Gets the value of the reasonCode 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 reasonCode property.
*
*
* For example, to add a new item, do as follows:
*
* getReasonCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CE }
*
*
*/
public List getReasonCode() {
if (reasonCode == null) {
reasonCode = new ArrayList();
}
return this.reasonCode;
}
/**
* Gets the value of the definition 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 definition property.
*
*
* For example, to add a new item, do as follows:
*
* getDefinition().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT510000UV06Definition }
*
*
*/
public List getDefinition() {
if (definition == null) {
definition = new ArrayList();
}
return this.definition;
}
/**
* Gets the value of the precondition 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 precondition property.
*
*
* For example, to add a new item, do as follows:
*
* getPrecondition().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT510000UV06Precondition }
*
*
*/
public List getPrecondition() {
if (precondition == null) {
precondition = new ArrayList();
}
return this.precondition;
}
/**
* Gets the value of the reference 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 reference property.
*
*
* For example, to add a new item, do as follows:
*
* getReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT510000UV06Reference }
*
*
*/
public List getReference() {
if (reference == null) {
reference = new ArrayList();
}
return this.reference;
}
/**
* Gets the value of the limitation 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 limitation property.
*
*
* For example, to add a new item, do as follows:
*
* getLimitation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT510000UV06Limitation2 }
*
*
*/
public List getLimitation() {
if (limitation == null) {
limitation = new ArrayList();
}
return this.limitation;
}
/**
* 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 ActClassCareProvision }
*
*/
public ActClassCareProvision getClassCode() {
return classCode;
}
/**
* Sets the value of the classCode property.
*
* @param value
* allowed object is
* {@link ActClassCareProvision }
*
*/
public void setClassCode(ActClassCareProvision 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;
}
/**
* Gets the value of the negationInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isNegationInd() {
return negationInd;
}
/**
* Sets the value of the negationInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setNegationInd(Boolean value) {
this.negationInd = value;
}
public COCTMT510000UV06Benefit withRealmCode(CS... values) {
if (values!= null) {
for (CS value: values) {
getRealmCode().add(value);
}
}
return this;
}
public COCTMT510000UV06Benefit withRealmCode(Collection values) {
if (values!= null) {
getRealmCode().addAll(values);
}
return this;
}
public COCTMT510000UV06Benefit withTypeId(II value) {
setTypeId(value);
return this;
}
public COCTMT510000UV06Benefit withTemplateId(II... values) {
if (values!= null) {
for (II value: values) {
getTemplateId().add(value);
}
}
return this;
}
public COCTMT510000UV06Benefit withTemplateId(Collection values) {
if (values!= null) {
getTemplateId().addAll(values);
}
return this;
}
public COCTMT510000UV06Benefit withId(II... values) {
if (values!= null) {
for (II value: values) {
getId().add(value);
}
}
return this;
}
public COCTMT510000UV06Benefit withId(Collection values) {
if (values!= null) {
getId().addAll(values);
}
return this;
}
public COCTMT510000UV06Benefit withCode(CD value) {
setCode(value);
return this;
}
public COCTMT510000UV06Benefit withEffectiveTime(IVLTS value) {
setEffectiveTime(value);
return this;
}
public COCTMT510000UV06Benefit withConfidentialityCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getConfidentialityCode().add(value);
}
}
return this;
}
public COCTMT510000UV06Benefit withConfidentialityCode(Collection values) {
if (values!= null) {
getConfidentialityCode().addAll(values);
}
return this;
}
public COCTMT510000UV06Benefit withReasonCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getReasonCode().add(value);
}
}
return this;
}
public COCTMT510000UV06Benefit withReasonCode(Collection values) {
if (values!= null) {
getReasonCode().addAll(values);
}
return this;
}
public COCTMT510000UV06Benefit withDefinition(COCTMT510000UV06Definition... values) {
if (values!= null) {
for (COCTMT510000UV06Definition value: values) {
getDefinition().add(value);
}
}
return this;
}
public COCTMT510000UV06Benefit withDefinition(Collection values) {
if (values!= null) {
getDefinition().addAll(values);
}
return this;
}
public COCTMT510000UV06Benefit withPrecondition(COCTMT510000UV06Precondition... values) {
if (values!= null) {
for (COCTMT510000UV06Precondition value: values) {
getPrecondition().add(value);
}
}
return this;
}
public COCTMT510000UV06Benefit withPrecondition(Collection values) {
if (values!= null) {
getPrecondition().addAll(values);
}
return this;
}
public COCTMT510000UV06Benefit withReference(COCTMT510000UV06Reference... values) {
if (values!= null) {
for (COCTMT510000UV06Reference value: values) {
getReference().add(value);
}
}
return this;
}
public COCTMT510000UV06Benefit withReference(Collection values) {
if (values!= null) {
getReference().addAll(values);
}
return this;
}
public COCTMT510000UV06Benefit withLimitation(COCTMT510000UV06Limitation2 ... values) {
if (values!= null) {
for (COCTMT510000UV06Limitation2 value: values) {
getLimitation().add(value);
}
}
return this;
}
public COCTMT510000UV06Benefit withLimitation(Collection values) {
if (values!= null) {
getLimitation().addAll(values);
}
return this;
}
public COCTMT510000UV06Benefit withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
public COCTMT510000UV06Benefit withNullFlavor(Collection values) {
if (values!= null) {
getNullFlavor().addAll(values);
}
return this;
}
public COCTMT510000UV06Benefit withClassCode(ActClassCareProvision value) {
setClassCode(value);
return this;
}
public COCTMT510000UV06Benefit withMoodCode(String... values) {
if (values!= null) {
for (String value: values) {
getMoodCode().add(value);
}
}
return this;
}
public COCTMT510000UV06Benefit withMoodCode(Collection values) {
if (values!= null) {
getMoodCode().addAll(values);
}
return this;
}
public COCTMT510000UV06Benefit withNegationInd(Boolean value) {
setNegationInd(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);
}
}