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

com.github.rahulsom.cda.POCDMT000040ParticipantRole 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.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:51 PM PDT 
//


package com.github.rahulsom.cda;

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 POCD_MT000040.ParticipantRole complex type. * *

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

 * <complexType name="POCD_MT000040.ParticipantRole">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="realmCode" type="{urn:hl7-org:v3}CS" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="typeId" type="{urn:hl7-org:v3}POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0"/>
 *         <element name="templateId" type="{urn:hl7-org:v3}II" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="id" type="{urn:hl7-org:v3}II" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="code" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
 *         <element name="addr" type="{urn:hl7-org:v3}AD" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="telecom" type="{urn:hl7-org:v3}TEL" maxOccurs="unbounded" minOccurs="0"/>
 *         <choice>
 *           <element name="playingDevice" type="{urn:hl7-org:v3}POCD_MT000040.Device" minOccurs="0"/>
 *           <element name="playingEntity" type="{urn:hl7-org:v3}POCD_MT000040.PlayingEntity" minOccurs="0"/>
 *         </choice>
 *         <element name="scopingEntity" type="{urn:hl7-org:v3}POCD_MT000040.Entity" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="nullFlavor" type="{urn:hl7-org:v3}NullFlavor" />
 *       <attribute name="classCode" type="{urn:hl7-org:v3}RoleClassRoot" default="ROL" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "POCD_MT000040.ParticipantRole", namespace = "urn:hl7-org:v3", propOrder = { "realmCode", "typeId", "templateId", "id", "code", "addr", "telecom", "playingDevice", "playingEntity", "scopingEntity" }) public class POCDMT000040ParticipantRole { @XmlElement(namespace = "urn:hl7-org:v3") protected List realmCode; @XmlElement(namespace = "urn:hl7-org:v3") protected POCDMT000040InfrastructureRootTypeId 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 CE code; @XmlElement(namespace = "urn:hl7-org:v3") protected List addr; @XmlElement(namespace = "urn:hl7-org:v3") protected List telecom; @XmlElement(namespace = "urn:hl7-org:v3") protected POCDMT000040Device playingDevice; @XmlElement(namespace = "urn:hl7-org:v3") protected POCDMT000040PlayingEntity playingEntity; @XmlElement(namespace = "urn:hl7-org:v3") protected POCDMT000040Entity scopingEntity; @XmlAttribute(name = "nullFlavor") protected List nullFlavor; @XmlAttribute(name = "classCode") protected List classCode; /** * 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 POCDMT000040InfrastructureRootTypeId } * */ public POCDMT000040InfrastructureRootTypeId getTypeId() { return typeId; } /** * Sets the value of the typeId property. * * @param value * allowed object is * {@link POCDMT000040InfrastructureRootTypeId } * */ public void setTypeId(POCDMT000040InfrastructureRootTypeId 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 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 addr 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 addr property. * *

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

     *    getAddr().add(newItem);
     * 
* * *

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

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

     *    getTelecom().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TEL } * * */ public List getTelecom() { if (telecom == null) { telecom = new ArrayList(); } return this.telecom; } /** * Gets the value of the playingDevice property. * * @return * possible object is * {@link POCDMT000040Device } * */ public POCDMT000040Device getPlayingDevice() { return playingDevice; } /** * Sets the value of the playingDevice property. * * @param value * allowed object is * {@link POCDMT000040Device } * */ public void setPlayingDevice(POCDMT000040Device value) { this.playingDevice = value; } /** * Gets the value of the playingEntity property. * * @return * possible object is * {@link POCDMT000040PlayingEntity } * */ public POCDMT000040PlayingEntity getPlayingEntity() { return playingEntity; } /** * Sets the value of the playingEntity property. * * @param value * allowed object is * {@link POCDMT000040PlayingEntity } * */ public void setPlayingEntity(POCDMT000040PlayingEntity value) { this.playingEntity = value; } /** * Gets the value of the scopingEntity property. * * @return * possible object is * {@link POCDMT000040Entity } * */ public POCDMT000040Entity getScopingEntity() { return scopingEntity; } /** * Sets the value of the scopingEntity property. * * @param value * allowed object is * {@link POCDMT000040Entity } * */ public void setScopingEntity(POCDMT000040Entity value) { this.scopingEntity = 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; } /** * Gets the value of the classCode 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 classCode property. * *

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

     *    getClassCode().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getClassCode() { if (classCode == null) { classCode = new ArrayList(); } return this.classCode; } public POCDMT000040ParticipantRole withRealmCode(CS... values) { if (values!= null) { for (CS value: values) { getRealmCode().add(value); } } return this; } public POCDMT000040ParticipantRole withRealmCode(Collection values) { if (values!= null) { getRealmCode().addAll(values); } return this; } public POCDMT000040ParticipantRole withTypeId(POCDMT000040InfrastructureRootTypeId value) { setTypeId(value); return this; } public POCDMT000040ParticipantRole withTemplateId(II... values) { if (values!= null) { for (II value: values) { getTemplateId().add(value); } } return this; } public POCDMT000040ParticipantRole withTemplateId(Collection values) { if (values!= null) { getTemplateId().addAll(values); } return this; } public POCDMT000040ParticipantRole withId(II... values) { if (values!= null) { for (II value: values) { getId().add(value); } } return this; } public POCDMT000040ParticipantRole withId(Collection values) { if (values!= null) { getId().addAll(values); } return this; } public POCDMT000040ParticipantRole withCode(CE value) { setCode(value); return this; } public POCDMT000040ParticipantRole withAddr(AD... values) { if (values!= null) { for (AD value: values) { getAddr().add(value); } } return this; } public POCDMT000040ParticipantRole withAddr(Collection values) { if (values!= null) { getAddr().addAll(values); } return this; } public POCDMT000040ParticipantRole withTelecom(TEL... values) { if (values!= null) { for (TEL value: values) { getTelecom().add(value); } } return this; } public POCDMT000040ParticipantRole withTelecom(Collection values) { if (values!= null) { getTelecom().addAll(values); } return this; } public POCDMT000040ParticipantRole withPlayingDevice(POCDMT000040Device value) { setPlayingDevice(value); return this; } public POCDMT000040ParticipantRole withPlayingEntity(POCDMT000040PlayingEntity value) { setPlayingEntity(value); return this; } public POCDMT000040ParticipantRole withScopingEntity(POCDMT000040Entity value) { setScopingEntity(value); return this; } public POCDMT000040ParticipantRole withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } public POCDMT000040ParticipantRole withNullFlavor(Collection values) { if (values!= null) { getNullFlavor().addAll(values); } return this; } public POCDMT000040ParticipantRole withClassCode(String... values) { if (values!= null) { for (String value: values) { getClassCode().add(value); } } return this; } public POCDMT000040ParticipantRole withClassCode(Collection values) { if (values!= null) { getClassCode().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