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

org.hl7.v3.PRPAMT201304UV02Person 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 PRPA_MT201304UV02.Person complex type. * *

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

 * <complexType name="PRPA_MT201304UV02.Person">
 *   <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="name" type="{urn:hl7-org:v3}PN" maxOccurs="unbounded"/>
 *         <element name="asPatientOfOtherProvider" type="{urn:hl7-org:v3}PRPA_MT201304UV02.PatientOfOtherProvider" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="asEmployee" type="{urn:hl7-org:v3}PRPA_MT201304UV02.Employee" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="asCitizen" type="{urn:hl7-org:v3}PRPA_MT201304UV02.Citizen" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="asStudent" type="{urn:hl7-org:v3}PRPA_MT201304UV02.Student" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="asMember" type="{urn:hl7-org:v3}PRPA_MT201304UV02.Member" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="asOtherIDs" type="{urn:hl7-org:v3}PRPA_MT201304UV02.OtherIDs" 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}EntityClass" fixed="PSN" />
 *       <attribute name="determinerCode" use="required" type="{urn:hl7-org:v3}EntityDeterminer" fixed="INSTANCE" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PRPA_MT201304UV02.Person", namespace = "urn:hl7-org:v3", propOrder = { "realmCode", "typeId", "templateId", "id", "name", "asPatientOfOtherProvider", "asEmployee", "asCitizen", "asStudent", "asMember", "asOtherIDs" }) public class PRPAMT201304UV02Person { @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", required = true) protected List name; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected List asPatientOfOtherProvider; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected List asEmployee; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected List asCitizen; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected List asStudent; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected List asMember; @XmlElement(namespace = "urn:hl7-org:v3", nillable = true) protected List asOtherIDs; @XmlAttribute(name = "nullFlavor") protected List nullFlavor; @XmlAttribute(name = "classCode", required = true) protected List 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. * *

* 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 name 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 name property. * *

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

     *    getName().add(newItem);
     * 
* * *

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

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

     *    getAsPatientOfOtherProvider().add(newItem);
     * 
* * *

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

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

     *    getAsEmployee().add(newItem);
     * 
* * *

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

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

     *    getAsCitizen().add(newItem);
     * 
* * *

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

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

     *    getAsStudent().add(newItem);
     * 
* * *

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

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

     *    getAsMember().add(newItem);
     * 
* * *

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

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

     *    getAsOtherIDs().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PRPAMT201304UV02OtherIDs } * * */ public List getAsOtherIDs() { if (asOtherIDs == null) { asOtherIDs = new ArrayList(); } return this.asOtherIDs; } /** * 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; } /** * 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 PRPAMT201304UV02Person withRealmCode(CS... values) { if (values!= null) { for (CS value: values) { getRealmCode().add(value); } } return this; } public PRPAMT201304UV02Person withRealmCode(Collection values) { if (values!= null) { getRealmCode().addAll(values); } return this; } public PRPAMT201304UV02Person withTypeId(II value) { setTypeId(value); return this; } public PRPAMT201304UV02Person withTemplateId(II... values) { if (values!= null) { for (II value: values) { getTemplateId().add(value); } } return this; } public PRPAMT201304UV02Person withTemplateId(Collection values) { if (values!= null) { getTemplateId().addAll(values); } return this; } public PRPAMT201304UV02Person withId(II... values) { if (values!= null) { for (II value: values) { getId().add(value); } } return this; } public PRPAMT201304UV02Person withId(Collection values) { if (values!= null) { getId().addAll(values); } return this; } public PRPAMT201304UV02Person withName(PN... values) { if (values!= null) { for (PN value: values) { getName().add(value); } } return this; } public PRPAMT201304UV02Person withName(Collection values) { if (values!= null) { getName().addAll(values); } return this; } public PRPAMT201304UV02Person withAsPatientOfOtherProvider(PRPAMT201304UV02PatientOfOtherProvider... values) { if (values!= null) { for (PRPAMT201304UV02PatientOfOtherProvider value: values) { getAsPatientOfOtherProvider().add(value); } } return this; } public PRPAMT201304UV02Person withAsPatientOfOtherProvider(Collection values) { if (values!= null) { getAsPatientOfOtherProvider().addAll(values); } return this; } public PRPAMT201304UV02Person withAsEmployee(PRPAMT201304UV02Employee... values) { if (values!= null) { for (PRPAMT201304UV02Employee value: values) { getAsEmployee().add(value); } } return this; } public PRPAMT201304UV02Person withAsEmployee(Collection values) { if (values!= null) { getAsEmployee().addAll(values); } return this; } public PRPAMT201304UV02Person withAsCitizen(PRPAMT201304UV02Citizen... values) { if (values!= null) { for (PRPAMT201304UV02Citizen value: values) { getAsCitizen().add(value); } } return this; } public PRPAMT201304UV02Person withAsCitizen(Collection values) { if (values!= null) { getAsCitizen().addAll(values); } return this; } public PRPAMT201304UV02Person withAsStudent(PRPAMT201304UV02Student... values) { if (values!= null) { for (PRPAMT201304UV02Student value: values) { getAsStudent().add(value); } } return this; } public PRPAMT201304UV02Person withAsStudent(Collection values) { if (values!= null) { getAsStudent().addAll(values); } return this; } public PRPAMT201304UV02Person withAsMember(PRPAMT201304UV02Member... values) { if (values!= null) { for (PRPAMT201304UV02Member value: values) { getAsMember().add(value); } } return this; } public PRPAMT201304UV02Person withAsMember(Collection values) { if (values!= null) { getAsMember().addAll(values); } return this; } public PRPAMT201304UV02Person withAsOtherIDs(PRPAMT201304UV02OtherIDs... values) { if (values!= null) { for (PRPAMT201304UV02OtherIDs value: values) { getAsOtherIDs().add(value); } } return this; } public PRPAMT201304UV02Person withAsOtherIDs(Collection values) { if (values!= null) { getAsOtherIDs().addAll(values); } return this; } public PRPAMT201304UV02Person withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } public PRPAMT201304UV02Person withNullFlavor(Collection values) { if (values!= null) { getNullFlavor().addAll(values); } return this; } public PRPAMT201304UV02Person withClassCode(String... values) { if (values!= null) { for (String value: values) { getClassCode().add(value); } } return this; } public PRPAMT201304UV02Person withClassCode(Collection values) { if (values!= null) { getClassCode().addAll(values); } return this; } public PRPAMT201304UV02Person 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