
org.hl7.v3.PRPAIN201306UV02MCCIMT000300UV01Message 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.XmlSeeAlso;
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 PRPA_IN201306UV02.MCCI_MT000300UV01.Message complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PRPA_IN201306UV02.MCCI_MT000300UV01.Message">
* <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"/>
* <element name="creationTime" type="{urn:hl7-org:v3}TS"/>
* <element name="securityText" type="{urn:hl7-org:v3}ST" minOccurs="0"/>
* <element name="versionCode" type="{urn:hl7-org:v3}CS" minOccurs="0"/>
* <element name="interactionId" type="{urn:hl7-org:v3}II"/>
* <element name="profileId" type="{urn:hl7-org:v3}II" maxOccurs="unbounded" minOccurs="0"/>
* <element name="processingCode" type="{urn:hl7-org:v3}CS"/>
* <element name="processingModeCode" type="{urn:hl7-org:v3}CS"/>
* <element name="acceptAckCode" type="{urn:hl7-org:v3}CS"/>
* <element name="attachmentText" type="{urn:hl7-org:v3}ED" maxOccurs="unbounded" minOccurs="0"/>
* <element name="receiver" type="{urn:hl7-org:v3}MCCI_MT000300UV01.Receiver" maxOccurs="unbounded"/>
* <element name="respondTo" type="{urn:hl7-org:v3}MCCI_MT000300UV01.RespondTo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="sender" type="{urn:hl7-org:v3}MCCI_MT000300UV01.Sender"/>
* <element name="attentionLine" type="{urn:hl7-org:v3}MCCI_MT000300UV01.AttentionLine" maxOccurs="unbounded" minOccurs="0"/>
* <element name="acknowledgement" type="{urn:hl7-org:v3}MCCI_MT000300UV01.Acknowledgement" maxOccurs="unbounded" minOccurs="0"/>
* <element name="controlActProcess" type="{urn:hl7-org:v3}PRPA_IN201306UV02.MFMI_MT700711UV01.ControlActProcess"/>
* </sequence>
* <attGroup ref="{urn:hl7-org:v3}InfrastructureRootAttributes"/>
* <attribute name="nullFlavor" type="{urn:hl7-org:v3}NullFlavor" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PRPA_IN201306UV02.MCCI_MT000300UV01.Message", namespace = "urn:hl7-org:v3", propOrder = {
"realmCode",
"typeId",
"templateId",
"id",
"creationTime",
"securityText",
"versionCode",
"interactionId",
"profileId",
"processingCode",
"processingModeCode",
"acceptAckCode",
"attachmentText",
"receiver",
"respondTo",
"sender",
"attentionLine",
"acknowledgement",
"controlActProcess"
})
@XmlSeeAlso({
PRPAIN201306UV02 .class
})
public class PRPAIN201306UV02MCCIMT000300UV01Message {
@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 II id;
@XmlElement(namespace = "urn:hl7-org:v3", required = true)
protected TS creationTime;
@XmlElement(namespace = "urn:hl7-org:v3")
protected ST securityText;
@XmlElement(namespace = "urn:hl7-org:v3")
protected CS versionCode;
@XmlElement(namespace = "urn:hl7-org:v3", required = true)
protected II interactionId;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List profileId;
@XmlElement(namespace = "urn:hl7-org:v3", required = true)
protected CS processingCode;
@XmlElement(namespace = "urn:hl7-org:v3", required = true)
protected CS processingModeCode;
@XmlElement(namespace = "urn:hl7-org:v3", required = true)
protected CS acceptAckCode;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List attachmentText;
@XmlElement(namespace = "urn:hl7-org:v3", required = true)
protected List receiver;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List respondTo;
@XmlElement(namespace = "urn:hl7-org:v3", required = true)
protected MCCIMT000300UV01Sender sender;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List attentionLine;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List acknowledgement;
@XmlElement(namespace = "urn:hl7-org:v3", required = true)
protected PRPAIN201306UV02MFMIMT700711UV01ControlActProcess controlActProcess;
@XmlAttribute(name = "nullFlavor")
protected List nullFlavor;
/**
* 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 creationTime property.
*
* @return
* possible object is
* {@link TS }
*
*/
public TS getCreationTime() {
return creationTime;
}
/**
* Sets the value of the creationTime property.
*
* @param value
* allowed object is
* {@link TS }
*
*/
public void setCreationTime(TS value) {
this.creationTime = value;
}
/**
* Gets the value of the securityText property.
*
* @return
* possible object is
* {@link ST }
*
*/
public ST getSecurityText() {
return securityText;
}
/**
* Sets the value of the securityText property.
*
* @param value
* allowed object is
* {@link ST }
*
*/
public void setSecurityText(ST value) {
this.securityText = value;
}
/**
* Gets the value of the versionCode property.
*
* @return
* possible object is
* {@link CS }
*
*/
public CS getVersionCode() {
return versionCode;
}
/**
* Sets the value of the versionCode property.
*
* @param value
* allowed object is
* {@link CS }
*
*/
public void setVersionCode(CS value) {
this.versionCode = value;
}
/**
* Gets the value of the interactionId property.
*
* @return
* possible object is
* {@link II }
*
*/
public II getInteractionId() {
return interactionId;
}
/**
* Sets the value of the interactionId property.
*
* @param value
* allowed object is
* {@link II }
*
*/
public void setInteractionId(II value) {
this.interactionId = value;
}
/**
* Gets the value of the profileId 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 profileId property.
*
*
* For example, to add a new item, do as follows:
*
* getProfileId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link II }
*
*
*/
public List getProfileId() {
if (profileId == null) {
profileId = new ArrayList();
}
return this.profileId;
}
/**
* Gets the value of the processingCode property.
*
* @return
* possible object is
* {@link CS }
*
*/
public CS getProcessingCode() {
return processingCode;
}
/**
* Sets the value of the processingCode property.
*
* @param value
* allowed object is
* {@link CS }
*
*/
public void setProcessingCode(CS value) {
this.processingCode = value;
}
/**
* Gets the value of the processingModeCode property.
*
* @return
* possible object is
* {@link CS }
*
*/
public CS getProcessingModeCode() {
return processingModeCode;
}
/**
* Sets the value of the processingModeCode property.
*
* @param value
* allowed object is
* {@link CS }
*
*/
public void setProcessingModeCode(CS value) {
this.processingModeCode = value;
}
/**
* Gets the value of the acceptAckCode property.
*
* @return
* possible object is
* {@link CS }
*
*/
public CS getAcceptAckCode() {
return acceptAckCode;
}
/**
* Sets the value of the acceptAckCode property.
*
* @param value
* allowed object is
* {@link CS }
*
*/
public void setAcceptAckCode(CS value) {
this.acceptAckCode = value;
}
/**
* Gets the value of the attachmentText 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 attachmentText property.
*
*
* For example, to add a new item, do as follows:
*
* getAttachmentText().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ED }
*
*
*/
public List getAttachmentText() {
if (attachmentText == null) {
attachmentText = new ArrayList();
}
return this.attachmentText;
}
/**
* Gets the value of the receiver 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 receiver property.
*
*
* For example, to add a new item, do as follows:
*
* getReceiver().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MCCIMT000300UV01Receiver }
*
*
*/
public List getReceiver() {
if (receiver == null) {
receiver = new ArrayList();
}
return this.receiver;
}
/**
* Gets the value of the respondTo 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 respondTo property.
*
*
* For example, to add a new item, do as follows:
*
* getRespondTo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MCCIMT000300UV01RespondTo }
*
*
*/
public List getRespondTo() {
if (respondTo == null) {
respondTo = new ArrayList();
}
return this.respondTo;
}
/**
* Gets the value of the sender property.
*
* @return
* possible object is
* {@link MCCIMT000300UV01Sender }
*
*/
public MCCIMT000300UV01Sender getSender() {
return sender;
}
/**
* Sets the value of the sender property.
*
* @param value
* allowed object is
* {@link MCCIMT000300UV01Sender }
*
*/
public void setSender(MCCIMT000300UV01Sender value) {
this.sender = value;
}
/**
* Gets the value of the attentionLine 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 attentionLine property.
*
*
* For example, to add a new item, do as follows:
*
* getAttentionLine().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MCCIMT000300UV01AttentionLine }
*
*
*/
public List getAttentionLine() {
if (attentionLine == null) {
attentionLine = new ArrayList();
}
return this.attentionLine;
}
/**
* Gets the value of the acknowledgement 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 acknowledgement property.
*
*
* For example, to add a new item, do as follows:
*
* getAcknowledgement().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MCCIMT000300UV01Acknowledgement }
*
*
*/
public List getAcknowledgement() {
if (acknowledgement == null) {
acknowledgement = new ArrayList();
}
return this.acknowledgement;
}
/**
* Gets the value of the controlActProcess property.
*
* @return
* possible object is
* {@link PRPAIN201306UV02MFMIMT700711UV01ControlActProcess }
*
*/
public PRPAIN201306UV02MFMIMT700711UV01ControlActProcess getControlActProcess() {
return controlActProcess;
}
/**
* Sets the value of the controlActProcess property.
*
* @param value
* allowed object is
* {@link PRPAIN201306UV02MFMIMT700711UV01ControlActProcess }
*
*/
public void setControlActProcess(PRPAIN201306UV02MFMIMT700711UV01ControlActProcess value) {
this.controlActProcess = value;
}
/**
* 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;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withRealmCode(CS... values) {
if (values!= null) {
for (CS value: values) {
getRealmCode().add(value);
}
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withRealmCode(Collection values) {
if (values!= null) {
getRealmCode().addAll(values);
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withTypeId(II value) {
setTypeId(value);
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withTemplateId(II... values) {
if (values!= null) {
for (II value: values) {
getTemplateId().add(value);
}
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withTemplateId(Collection values) {
if (values!= null) {
getTemplateId().addAll(values);
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withId(II value) {
setId(value);
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withCreationTime(TS value) {
setCreationTime(value);
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withSecurityText(ST value) {
setSecurityText(value);
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withVersionCode(CS value) {
setVersionCode(value);
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withInteractionId(II value) {
setInteractionId(value);
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withProfileId(II... values) {
if (values!= null) {
for (II value: values) {
getProfileId().add(value);
}
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withProfileId(Collection values) {
if (values!= null) {
getProfileId().addAll(values);
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withProcessingCode(CS value) {
setProcessingCode(value);
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withProcessingModeCode(CS value) {
setProcessingModeCode(value);
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withAcceptAckCode(CS value) {
setAcceptAckCode(value);
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withAttachmentText(ED... values) {
if (values!= null) {
for (ED value: values) {
getAttachmentText().add(value);
}
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withAttachmentText(Collection values) {
if (values!= null) {
getAttachmentText().addAll(values);
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withReceiver(MCCIMT000300UV01Receiver... values) {
if (values!= null) {
for (MCCIMT000300UV01Receiver value: values) {
getReceiver().add(value);
}
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withReceiver(Collection values) {
if (values!= null) {
getReceiver().addAll(values);
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withRespondTo(MCCIMT000300UV01RespondTo... values) {
if (values!= null) {
for (MCCIMT000300UV01RespondTo value: values) {
getRespondTo().add(value);
}
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withRespondTo(Collection values) {
if (values!= null) {
getRespondTo().addAll(values);
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withSender(MCCIMT000300UV01Sender value) {
setSender(value);
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withAttentionLine(MCCIMT000300UV01AttentionLine... values) {
if (values!= null) {
for (MCCIMT000300UV01AttentionLine value: values) {
getAttentionLine().add(value);
}
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withAttentionLine(Collection values) {
if (values!= null) {
getAttentionLine().addAll(values);
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withAcknowledgement(MCCIMT000300UV01Acknowledgement... values) {
if (values!= null) {
for (MCCIMT000300UV01Acknowledgement value: values) {
getAcknowledgement().add(value);
}
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withAcknowledgement(Collection values) {
if (values!= null) {
getAcknowledgement().addAll(values);
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withControlActProcess(PRPAIN201306UV02MFMIMT700711UV01ControlActProcess value) {
setControlActProcess(value);
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
public PRPAIN201306UV02MCCIMT000300UV01Message 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);
}
}