
org.hl7.v3.COCTMT080000UVPerson 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.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.Person complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="COCT_MT080000UV.Person">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <group ref="{urn:hl7-org:v3}InfrastructureRootElements"/>
* <element name="code" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
* <element name="quantity" type="{urn:hl7-org:v3}PQ" maxOccurs="unbounded" minOccurs="0"/>
* <element name="name" type="{urn:hl7-org:v3}EN" maxOccurs="unbounded" minOccurs="0"/>
* <element name="desc" type="{urn:hl7-org:v3}ED" minOccurs="0"/>
* <element name="statusCode" type="{urn:hl7-org:v3}CS" minOccurs="0"/>
* <element name="existenceTime" type="{urn:hl7-org:v3}IVL_TS" minOccurs="0"/>
* <element name="telecom" type="{urn:hl7-org:v3}TEL" maxOccurs="unbounded" 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="administrativeGenderCode" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
* <element name="birthTime" type="{urn:hl7-org:v3}TS" minOccurs="0"/>
* <element name="deceasedInd" type="{urn:hl7-org:v3}BL" minOccurs="0"/>
* <element name="deceasedTime" type="{urn:hl7-org:v3}TS" minOccurs="0"/>
* <element name="multipleBirthInd" type="{urn:hl7-org:v3}BL" minOccurs="0"/>
* <element name="multipleBirthOrderNumber" type="{urn:hl7-org:v3}INT" minOccurs="0"/>
* <element name="organDonorInd" type="{urn:hl7-org:v3}BL" minOccurs="0"/>
* <element name="addr" type="{urn:hl7-org:v3}AD" maxOccurs="unbounded" minOccurs="0"/>
* <element name="disabilityCode" type="{urn:hl7-org:v3}CE" maxOccurs="unbounded" minOccurs="0"/>
* <element name="raceCode" type="{urn:hl7-org:v3}CE" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ethnicGroupCode" type="{urn:hl7-org:v3}CE" maxOccurs="unbounded" minOccurs="0"/>
* <element name="asSpecimenAlternateIdentifier" type="{urn:hl7-org:v3}COCT_MT080000UV.SpecimenAlternateIdentifier" maxOccurs="unbounded" minOccurs="0"/>
* <element name="asSpecimenStub" type="{urn:hl7-org:v3}COCT_MT080000UV.SpecimenStub" maxOccurs="unbounded" minOccurs="0"/>
* <element name="asContent" type="{urn:hl7-org:v3}COCT_MT080000UV.Content1" minOccurs="0"/>
* <element name="additive" type="{urn:hl7-org:v3}COCT_MT080000UV.Additive" 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 = "COCT_MT080000UV.Person", namespace = "urn:hl7-org:v3", propOrder = {
"realmCode",
"typeId",
"templateId",
"code",
"quantity",
"name",
"desc",
"statusCode",
"existenceTime",
"telecom",
"riskCode",
"handlingCode",
"administrativeGenderCode",
"birthTime",
"deceasedInd",
"deceasedTime",
"multipleBirthInd",
"multipleBirthOrderNumber",
"organDonorInd",
"addr",
"disabilityCode",
"raceCode",
"ethnicGroupCode",
"asSpecimenAlternateIdentifier",
"asSpecimenStub",
"asContent",
"additive"
})
public class COCTMT080000UVPerson {
@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 CE code;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List quantity;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List name;
@XmlElement(namespace = "urn:hl7-org:v3")
protected ED desc;
@XmlElement(namespace = "urn:hl7-org:v3")
protected CS statusCode;
@XmlElement(namespace = "urn:hl7-org:v3")
protected IVLTS existenceTime;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List telecom;
@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 CE administrativeGenderCode;
@XmlElement(namespace = "urn:hl7-org:v3")
protected TS birthTime;
@XmlElement(namespace = "urn:hl7-org:v3")
protected BL deceasedInd;
@XmlElement(namespace = "urn:hl7-org:v3")
protected TS deceasedTime;
@XmlElement(namespace = "urn:hl7-org:v3")
protected BL multipleBirthInd;
@XmlElement(namespace = "urn:hl7-org:v3")
protected INT multipleBirthOrderNumber;
@XmlElement(namespace = "urn:hl7-org:v3")
protected BL organDonorInd;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List addr;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List disabilityCode;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List raceCode;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List ethnicGroupCode;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List asSpecimenAlternateIdentifier;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List asSpecimenStub;
@XmlElementRef(name = "asContent", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false)
protected JAXBElement asContent;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List additive;
@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 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 quantity 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 quantity property.
*
*
* For example, to add a new item, do as follows:
*
* getQuantity().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PQ }
*
*
*/
public List getQuantity() {
if (quantity == null) {
quantity = new ArrayList();
}
return this.quantity;
}
/**
* 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 EN }
*
*
*/
public List getName() {
if (name == null) {
name = new ArrayList();
}
return this.name;
}
/**
* 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 statusCode property.
*
* @return
* possible object is
* {@link CS }
*
*/
public CS getStatusCode() {
return statusCode;
}
/**
* Sets the value of the statusCode property.
*
* @param value
* allowed object is
* {@link CS }
*
*/
public void setStatusCode(CS value) {
this.statusCode = value;
}
/**
* Gets the value of the existenceTime property.
*
* @return
* possible object is
* {@link IVLTS }
*
*/
public IVLTS getExistenceTime() {
return existenceTime;
}
/**
* Sets the value of the existenceTime property.
*
* @param value
* allowed object is
* {@link IVLTS }
*
*/
public void setExistenceTime(IVLTS value) {
this.existenceTime = value;
}
/**
* 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 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 administrativeGenderCode property.
*
* @return
* possible object is
* {@link CE }
*
*/
public CE getAdministrativeGenderCode() {
return administrativeGenderCode;
}
/**
* Sets the value of the administrativeGenderCode property.
*
* @param value
* allowed object is
* {@link CE }
*
*/
public void setAdministrativeGenderCode(CE value) {
this.administrativeGenderCode = value;
}
/**
* Gets the value of the birthTime property.
*
* @return
* possible object is
* {@link TS }
*
*/
public TS getBirthTime() {
return birthTime;
}
/**
* Sets the value of the birthTime property.
*
* @param value
* allowed object is
* {@link TS }
*
*/
public void setBirthTime(TS value) {
this.birthTime = value;
}
/**
* Gets the value of the deceasedInd property.
*
* @return
* possible object is
* {@link BL }
*
*/
public BL getDeceasedInd() {
return deceasedInd;
}
/**
* Sets the value of the deceasedInd property.
*
* @param value
* allowed object is
* {@link BL }
*
*/
public void setDeceasedInd(BL value) {
this.deceasedInd = value;
}
/**
* Gets the value of the deceasedTime property.
*
* @return
* possible object is
* {@link TS }
*
*/
public TS getDeceasedTime() {
return deceasedTime;
}
/**
* Sets the value of the deceasedTime property.
*
* @param value
* allowed object is
* {@link TS }
*
*/
public void setDeceasedTime(TS value) {
this.deceasedTime = value;
}
/**
* Gets the value of the multipleBirthInd property.
*
* @return
* possible object is
* {@link BL }
*
*/
public BL getMultipleBirthInd() {
return multipleBirthInd;
}
/**
* Sets the value of the multipleBirthInd property.
*
* @param value
* allowed object is
* {@link BL }
*
*/
public void setMultipleBirthInd(BL value) {
this.multipleBirthInd = value;
}
/**
* Gets the value of the multipleBirthOrderNumber property.
*
* @return
* possible object is
* {@link INT }
*
*/
public INT getMultipleBirthOrderNumber() {
return multipleBirthOrderNumber;
}
/**
* Sets the value of the multipleBirthOrderNumber property.
*
* @param value
* allowed object is
* {@link INT }
*
*/
public void setMultipleBirthOrderNumber(INT value) {
this.multipleBirthOrderNumber = value;
}
/**
* Gets the value of the organDonorInd property.
*
* @return
* possible object is
* {@link BL }
*
*/
public BL getOrganDonorInd() {
return organDonorInd;
}
/**
* Sets the value of the organDonorInd property.
*
* @param value
* allowed object is
* {@link BL }
*
*/
public void setOrganDonorInd(BL value) {
this.organDonorInd = 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 disabilityCode 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 disabilityCode property.
*
*
* For example, to add a new item, do as follows:
*
* getDisabilityCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CE }
*
*
*/
public List getDisabilityCode() {
if (disabilityCode == null) {
disabilityCode = new ArrayList();
}
return this.disabilityCode;
}
/**
* Gets the value of the raceCode 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 raceCode property.
*
*
* For example, to add a new item, do as follows:
*
* getRaceCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CE }
*
*
*/
public List getRaceCode() {
if (raceCode == null) {
raceCode = new ArrayList();
}
return this.raceCode;
}
/**
* Gets the value of the ethnicGroupCode 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 ethnicGroupCode property.
*
*
* For example, to add a new item, do as follows:
*
* getEthnicGroupCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CE }
*
*
*/
public List getEthnicGroupCode() {
if (ethnicGroupCode == null) {
ethnicGroupCode = new ArrayList();
}
return this.ethnicGroupCode;
}
/**
* Gets the value of the asSpecimenAlternateIdentifier 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 asSpecimenAlternateIdentifier property.
*
*
* For example, to add a new item, do as follows:
*
* getAsSpecimenAlternateIdentifier().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT080000UVSpecimenAlternateIdentifier }
*
*
*/
public List getAsSpecimenAlternateIdentifier() {
if (asSpecimenAlternateIdentifier == null) {
asSpecimenAlternateIdentifier = new ArrayList();
}
return this.asSpecimenAlternateIdentifier;
}
/**
* Gets the value of the asSpecimenStub 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 asSpecimenStub property.
*
*
* For example, to add a new item, do as follows:
*
* getAsSpecimenStub().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT080000UVSpecimenStub }
*
*
*/
public List getAsSpecimenStub() {
if (asSpecimenStub == null) {
asSpecimenStub = new ArrayList();
}
return this.asSpecimenStub;
}
/**
* Gets the value of the asContent property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link COCTMT080000UVContent1 }{@code >}
*
*/
public JAXBElement getAsContent() {
return asContent;
}
/**
* Sets the value of the asContent property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link COCTMT080000UVContent1 }{@code >}
*
*/
public void setAsContent(JAXBElement value) {
this.asContent = 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 COCTMT080000UVAdditive }
*
*
*/
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.
*
*
* 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 COCTMT080000UVPerson withRealmCode(CS... values) {
if (values!= null) {
for (CS value: values) {
getRealmCode().add(value);
}
}
return this;
}
public COCTMT080000UVPerson withRealmCode(Collection values) {
if (values!= null) {
getRealmCode().addAll(values);
}
return this;
}
public COCTMT080000UVPerson withTypeId(II value) {
setTypeId(value);
return this;
}
public COCTMT080000UVPerson withTemplateId(II... values) {
if (values!= null) {
for (II value: values) {
getTemplateId().add(value);
}
}
return this;
}
public COCTMT080000UVPerson withTemplateId(Collection values) {
if (values!= null) {
getTemplateId().addAll(values);
}
return this;
}
public COCTMT080000UVPerson withCode(CE value) {
setCode(value);
return this;
}
public COCTMT080000UVPerson withQuantity(PQ... values) {
if (values!= null) {
for (PQ value: values) {
getQuantity().add(value);
}
}
return this;
}
public COCTMT080000UVPerson withQuantity(Collection values) {
if (values!= null) {
getQuantity().addAll(values);
}
return this;
}
public COCTMT080000UVPerson withName(EN... values) {
if (values!= null) {
for (EN value: values) {
getName().add(value);
}
}
return this;
}
public COCTMT080000UVPerson withName(Collection values) {
if (values!= null) {
getName().addAll(values);
}
return this;
}
public COCTMT080000UVPerson withDesc(ED value) {
setDesc(value);
return this;
}
public COCTMT080000UVPerson withStatusCode(CS value) {
setStatusCode(value);
return this;
}
public COCTMT080000UVPerson withExistenceTime(IVLTS value) {
setExistenceTime(value);
return this;
}
public COCTMT080000UVPerson withTelecom(TEL... values) {
if (values!= null) {
for (TEL value: values) {
getTelecom().add(value);
}
}
return this;
}
public COCTMT080000UVPerson withTelecom(Collection values) {
if (values!= null) {
getTelecom().addAll(values);
}
return this;
}
public COCTMT080000UVPerson withRiskCode(CE value) {
setRiskCode(value);
return this;
}
public COCTMT080000UVPerson withHandlingCode(CE value) {
setHandlingCode(value);
return this;
}
public COCTMT080000UVPerson withAdministrativeGenderCode(CE value) {
setAdministrativeGenderCode(value);
return this;
}
public COCTMT080000UVPerson withBirthTime(TS value) {
setBirthTime(value);
return this;
}
public COCTMT080000UVPerson withDeceasedInd(BL value) {
setDeceasedInd(value);
return this;
}
public COCTMT080000UVPerson withDeceasedTime(TS value) {
setDeceasedTime(value);
return this;
}
public COCTMT080000UVPerson withMultipleBirthInd(BL value) {
setMultipleBirthInd(value);
return this;
}
public COCTMT080000UVPerson withMultipleBirthOrderNumber(INT value) {
setMultipleBirthOrderNumber(value);
return this;
}
public COCTMT080000UVPerson withOrganDonorInd(BL value) {
setOrganDonorInd(value);
return this;
}
public COCTMT080000UVPerson withAddr(AD... values) {
if (values!= null) {
for (AD value: values) {
getAddr().add(value);
}
}
return this;
}
public COCTMT080000UVPerson withAddr(Collection values) {
if (values!= null) {
getAddr().addAll(values);
}
return this;
}
public COCTMT080000UVPerson withDisabilityCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getDisabilityCode().add(value);
}
}
return this;
}
public COCTMT080000UVPerson withDisabilityCode(Collection values) {
if (values!= null) {
getDisabilityCode().addAll(values);
}
return this;
}
public COCTMT080000UVPerson withRaceCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getRaceCode().add(value);
}
}
return this;
}
public COCTMT080000UVPerson withRaceCode(Collection values) {
if (values!= null) {
getRaceCode().addAll(values);
}
return this;
}
public COCTMT080000UVPerson withEthnicGroupCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getEthnicGroupCode().add(value);
}
}
return this;
}
public COCTMT080000UVPerson withEthnicGroupCode(Collection values) {
if (values!= null) {
getEthnicGroupCode().addAll(values);
}
return this;
}
public COCTMT080000UVPerson withAsSpecimenAlternateIdentifier(COCTMT080000UVSpecimenAlternateIdentifier... values) {
if (values!= null) {
for (COCTMT080000UVSpecimenAlternateIdentifier value: values) {
getAsSpecimenAlternateIdentifier().add(value);
}
}
return this;
}
public COCTMT080000UVPerson withAsSpecimenAlternateIdentifier(Collection values) {
if (values!= null) {
getAsSpecimenAlternateIdentifier().addAll(values);
}
return this;
}
public COCTMT080000UVPerson withAsSpecimenStub(COCTMT080000UVSpecimenStub... values) {
if (values!= null) {
for (COCTMT080000UVSpecimenStub value: values) {
getAsSpecimenStub().add(value);
}
}
return this;
}
public COCTMT080000UVPerson withAsSpecimenStub(Collection values) {
if (values!= null) {
getAsSpecimenStub().addAll(values);
}
return this;
}
public COCTMT080000UVPerson withAsContent(JAXBElement value) {
setAsContent(value);
return this;
}
public COCTMT080000UVPerson withAdditive(COCTMT080000UVAdditive... values) {
if (values!= null) {
for (COCTMT080000UVAdditive value: values) {
getAdditive().add(value);
}
}
return this;
}
public COCTMT080000UVPerson withAdditive(Collection values) {
if (values!= null) {
getAdditive().addAll(values);
}
return this;
}
public COCTMT080000UVPerson withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
public COCTMT080000UVPerson withNullFlavor(Collection values) {
if (values!= null) {
getNullFlavor().addAll(values);
}
return this;
}
public COCTMT080000UVPerson withClassCode(String... values) {
if (values!= null) {
for (String value: values) {
getClassCode().add(value);
}
}
return this;
}
public COCTMT080000UVPerson withClassCode(Collection values) {
if (values!= null) {
getClassCode().addAll(values);
}
return this;
}
public COCTMT080000UVPerson 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);
}
}