
org.hl7.v3.COCTMT080000UVNonPersonLivingSubject 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.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:44 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.NonPersonLivingSubject complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="COCT_MT080000UV.NonPersonLivingSubject">
* <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="strainText" type="{urn:hl7-org:v3}ED" minOccurs="0"/>
* <element name="genderStatusCode" type="{urn:hl7-org:v3}CE" 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}EntityClassNonPersonLivingSubject" />
* <attribute name="determinerCode" use="required" type="{urn:hl7-org:v3}EntityDeterminer" fixed="INSTANCE" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "COCT_MT080000UV.NonPersonLivingSubject", 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",
"strainText",
"genderStatusCode",
"asSpecimenAlternateIdentifier",
"asSpecimenStub",
"asContent",
"additive"
})
public class COCTMT080000UVNonPersonLivingSubject {
@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 ED strainText;
@XmlElement(namespace = "urn:hl7-org:v3")
protected CE genderStatusCode;
@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 EntityClassNonPersonLivingSubject 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 strainText property.
*
* @return
* possible object is
* {@link ED }
*
*/
public ED getStrainText() {
return strainText;
}
/**
* Sets the value of the strainText property.
*
* @param value
* allowed object is
* {@link ED }
*
*/
public void setStrainText(ED value) {
this.strainText = value;
}
/**
* Gets the value of the genderStatusCode property.
*
* @return
* possible object is
* {@link CE }
*
*/
public CE getGenderStatusCode() {
return genderStatusCode;
}
/**
* Sets the value of the genderStatusCode property.
*
* @param value
* allowed object is
* {@link CE }
*
*/
public void setGenderStatusCode(CE value) {
this.genderStatusCode = value;
}
/**
* 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.
*
* @return
* possible object is
* {@link EntityClassNonPersonLivingSubject }
*
*/
public EntityClassNonPersonLivingSubject getClassCode() {
return classCode;
}
/**
* Sets the value of the classCode property.
*
* @param value
* allowed object is
* {@link EntityClassNonPersonLivingSubject }
*
*/
public void setClassCode(EntityClassNonPersonLivingSubject value) {
this.classCode = value;
}
/**
* 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 COCTMT080000UVNonPersonLivingSubject withRealmCode(CS... values) {
if (values!= null) {
for (CS value: values) {
getRealmCode().add(value);
}
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withRealmCode(Collection values) {
if (values!= null) {
getRealmCode().addAll(values);
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withTypeId(II value) {
setTypeId(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withTemplateId(II... values) {
if (values!= null) {
for (II value: values) {
getTemplateId().add(value);
}
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withTemplateId(Collection values) {
if (values!= null) {
getTemplateId().addAll(values);
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withCode(CE value) {
setCode(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withQuantity(PQ... values) {
if (values!= null) {
for (PQ value: values) {
getQuantity().add(value);
}
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withQuantity(Collection values) {
if (values!= null) {
getQuantity().addAll(values);
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withName(EN... values) {
if (values!= null) {
for (EN value: values) {
getName().add(value);
}
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withName(Collection values) {
if (values!= null) {
getName().addAll(values);
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withDesc(ED value) {
setDesc(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withStatusCode(CS value) {
setStatusCode(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withExistenceTime(IVLTS value) {
setExistenceTime(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withTelecom(TEL... values) {
if (values!= null) {
for (TEL value: values) {
getTelecom().add(value);
}
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withTelecom(Collection values) {
if (values!= null) {
getTelecom().addAll(values);
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withRiskCode(CE value) {
setRiskCode(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withHandlingCode(CE value) {
setHandlingCode(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withAdministrativeGenderCode(CE value) {
setAdministrativeGenderCode(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withBirthTime(TS value) {
setBirthTime(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withDeceasedInd(BL value) {
setDeceasedInd(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withDeceasedTime(TS value) {
setDeceasedTime(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withMultipleBirthInd(BL value) {
setMultipleBirthInd(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withMultipleBirthOrderNumber(INT value) {
setMultipleBirthOrderNumber(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withOrganDonorInd(BL value) {
setOrganDonorInd(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withStrainText(ED value) {
setStrainText(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withGenderStatusCode(CE value) {
setGenderStatusCode(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withAsSpecimenAlternateIdentifier(COCTMT080000UVSpecimenAlternateIdentifier... values) {
if (values!= null) {
for (COCTMT080000UVSpecimenAlternateIdentifier value: values) {
getAsSpecimenAlternateIdentifier().add(value);
}
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withAsSpecimenAlternateIdentifier(Collection values) {
if (values!= null) {
getAsSpecimenAlternateIdentifier().addAll(values);
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withAsSpecimenStub(COCTMT080000UVSpecimenStub... values) {
if (values!= null) {
for (COCTMT080000UVSpecimenStub value: values) {
getAsSpecimenStub().add(value);
}
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withAsSpecimenStub(Collection values) {
if (values!= null) {
getAsSpecimenStub().addAll(values);
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withAsContent(JAXBElement value) {
setAsContent(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject withAdditive(COCTMT080000UVAdditive... values) {
if (values!= null) {
for (COCTMT080000UVAdditive value: values) {
getAdditive().add(value);
}
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withAdditive(Collection values) {
if (values!= null) {
getAdditive().addAll(values);
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withNullFlavor(Collection values) {
if (values!= null) {
getNullFlavor().addAll(values);
}
return this;
}
public COCTMT080000UVNonPersonLivingSubject withClassCode(EntityClassNonPersonLivingSubject value) {
setClassCode(value);
return this;
}
public COCTMT080000UVNonPersonLivingSubject 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);
}
}