
org.hl7.v3.COCTMT030007UVNonPersonLivingSubject 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: 2013.05.03 at 09:18:53 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_MT030007UV.NonPersonLivingSubject complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="COCT_MT030007UV.NonPersonLivingSubject">
* <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="quantity" type="{urn:hl7-org:v3}INT" 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="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="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="asMember" type="{urn:hl7-org:v3}COCT_MT030007UV.Member" maxOccurs="unbounded" minOccurs="0"/>
* <element name="asOtherIDs" type="{urn:hl7-org:v3}COCT_MT030007UV.OtherIDs" maxOccurs="unbounded" minOccurs="0"/>
* <element name="contactParty" type="{urn:hl7-org:v3}COCT_MT030007UV.ContactParty" maxOccurs="unbounded" minOccurs="0"/>
* <element name="guardian" type="{urn:hl7-org:v3}COCT_MT030007UV.Guardian" maxOccurs="unbounded" minOccurs="0"/>
* <element name="guarantor" type="{urn:hl7-org:v3}COCT_MT030007UV.Guarantor" maxOccurs="unbounded" minOccurs="0"/>
* <element name="birthPlace" type="{urn:hl7-org:v3}COCT_MT030007UV.BirthPlace" 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}x_DeterminerInstanceKind" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "COCT_MT030007UV.NonPersonLivingSubject", propOrder = {
"realmCode",
"typeId",
"templateId",
"id",
"quantity",
"name",
"desc",
"statusCode",
"existenceTime",
"riskCode",
"handlingCode",
"administrativeGenderCode",
"birthTime",
"deceasedInd",
"multipleBirthInd",
"multipleBirthOrderNumber",
"organDonorInd",
"strainText",
"genderStatusCode",
"asMember",
"asOtherIDs",
"contactParty",
"guardian",
"guarantor",
"birthPlace"
})
public class COCTMT030007UVNonPersonLivingSubject {
protected List realmCode;
protected II typeId;
protected List templateId;
protected List id;
protected INT quantity;
protected List name;
protected ED desc;
protected CS statusCode;
protected IVLTS existenceTime;
protected CE riskCode;
protected CE handlingCode;
protected CE administrativeGenderCode;
protected TS birthTime;
protected BL deceasedInd;
protected BL multipleBirthInd;
protected INT multipleBirthOrderNumber;
protected BL organDonorInd;
protected ED strainText;
protected CE genderStatusCode;
@XmlElement(nillable = true)
protected List asMember;
@XmlElement(nillable = true)
protected List asOtherIDs;
@XmlElement(nillable = true)
protected List contactParty;
@XmlElement(nillable = true)
protected List guardian;
@XmlElement(nillable = true)
protected List guarantor;
@XmlElementRef(name = "birthPlace", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false)
protected JAXBElement birthPlace;
@XmlAttribute(name = "nullFlavor")
protected List nullFlavor;
@XmlAttribute(name = "classCode", required = true)
protected EntityClassNonPersonLivingSubject classCode;
@XmlAttribute(name = "determinerCode", required = true)
protected XDeterminerInstanceKind 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 quantity property.
*
* @return
* possible object is
* {@link INT }
*
*/
public INT getQuantity() {
return quantity;
}
/**
* Sets the value of the quantity property.
*
* @param value
* allowed object is
* {@link INT }
*
*/
public void setQuantity(INT value) {
this.quantity = value;
}
/**
* 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 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 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 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 COCTMT030007UVMember }
*
*
*/
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 COCTMT030007UVOtherIDs }
*
*
*/
public List getAsOtherIDs() {
if (asOtherIDs == null) {
asOtherIDs = new ArrayList();
}
return this.asOtherIDs;
}
/**
* Gets the value of the contactParty 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 contactParty property.
*
*
* For example, to add a new item, do as follows:
*
* getContactParty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT030007UVContactParty }
*
*
*/
public List getContactParty() {
if (contactParty == null) {
contactParty = new ArrayList();
}
return this.contactParty;
}
/**
* Gets the value of the guardian 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 guardian property.
*
*
* For example, to add a new item, do as follows:
*
* getGuardian().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT030007UVGuardian }
*
*
*/
public List getGuardian() {
if (guardian == null) {
guardian = new ArrayList();
}
return this.guardian;
}
/**
* Gets the value of the guarantor 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 guarantor property.
*
*
* For example, to add a new item, do as follows:
*
* getGuarantor().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT030007UVGuarantor }
*
*
*/
public List getGuarantor() {
if (guarantor == null) {
guarantor = new ArrayList();
}
return this.guarantor;
}
/**
* Gets the value of the birthPlace property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link COCTMT030007UVBirthPlace }{@code >}
*
*/
public JAXBElement getBirthPlace() {
return birthPlace;
}
/**
* Sets the value of the birthPlace property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link COCTMT030007UVBirthPlace }{@code >}
*
*/
public void setBirthPlace(JAXBElement value) {
this.birthPlace = 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.
*
* @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 XDeterminerInstanceKind }
*
*/
public XDeterminerInstanceKind getDeterminerCode() {
return determinerCode;
}
/**
* Sets the value of the determinerCode property.
*
* @param value
* allowed object is
* {@link XDeterminerInstanceKind }
*
*/
public void setDeterminerCode(XDeterminerInstanceKind value) {
this.determinerCode = value;
}
public COCTMT030007UVNonPersonLivingSubject withRealmCode(CS... values) {
if (values!= null) {
for (CS value: values) {
getRealmCode().add(value);
}
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withRealmCode(Collection values) {
if (values!= null) {
getRealmCode().addAll(values);
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withTypeId(II value) {
setTypeId(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withTemplateId(II... values) {
if (values!= null) {
for (II value: values) {
getTemplateId().add(value);
}
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withTemplateId(Collection values) {
if (values!= null) {
getTemplateId().addAll(values);
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withId(II... values) {
if (values!= null) {
for (II value: values) {
getId().add(value);
}
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withId(Collection values) {
if (values!= null) {
getId().addAll(values);
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withQuantity(INT value) {
setQuantity(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withName(EN... values) {
if (values!= null) {
for (EN value: values) {
getName().add(value);
}
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withName(Collection values) {
if (values!= null) {
getName().addAll(values);
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withDesc(ED value) {
setDesc(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withStatusCode(CS value) {
setStatusCode(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withExistenceTime(IVLTS value) {
setExistenceTime(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withRiskCode(CE value) {
setRiskCode(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withHandlingCode(CE value) {
setHandlingCode(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withAdministrativeGenderCode(CE value) {
setAdministrativeGenderCode(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withBirthTime(TS value) {
setBirthTime(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withDeceasedInd(BL value) {
setDeceasedInd(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withMultipleBirthInd(BL value) {
setMultipleBirthInd(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withMultipleBirthOrderNumber(INT value) {
setMultipleBirthOrderNumber(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withOrganDonorInd(BL value) {
setOrganDonorInd(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withStrainText(ED value) {
setStrainText(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withGenderStatusCode(CE value) {
setGenderStatusCode(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withAsMember(COCTMT030007UVMember... values) {
if (values!= null) {
for (COCTMT030007UVMember value: values) {
getAsMember().add(value);
}
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withAsMember(Collection values) {
if (values!= null) {
getAsMember().addAll(values);
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withAsOtherIDs(COCTMT030007UVOtherIDs... values) {
if (values!= null) {
for (COCTMT030007UVOtherIDs value: values) {
getAsOtherIDs().add(value);
}
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withAsOtherIDs(Collection values) {
if (values!= null) {
getAsOtherIDs().addAll(values);
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withContactParty(COCTMT030007UVContactParty... values) {
if (values!= null) {
for (COCTMT030007UVContactParty value: values) {
getContactParty().add(value);
}
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withContactParty(Collection values) {
if (values!= null) {
getContactParty().addAll(values);
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withGuardian(COCTMT030007UVGuardian... values) {
if (values!= null) {
for (COCTMT030007UVGuardian value: values) {
getGuardian().add(value);
}
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withGuardian(Collection values) {
if (values!= null) {
getGuardian().addAll(values);
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withGuarantor(COCTMT030007UVGuarantor... values) {
if (values!= null) {
for (COCTMT030007UVGuarantor value: values) {
getGuarantor().add(value);
}
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withGuarantor(Collection values) {
if (values!= null) {
getGuarantor().addAll(values);
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withBirthPlace(JAXBElement value) {
setBirthPlace(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withNullFlavor(Collection values) {
if (values!= null) {
getNullFlavor().addAll(values);
}
return this;
}
public COCTMT030007UVNonPersonLivingSubject withClassCode(EntityClassNonPersonLivingSubject value) {
setClassCode(value);
return this;
}
public COCTMT030007UVNonPersonLivingSubject withDeterminerCode(XDeterminerInstanceKind 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);
}
}