oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.MaritimeHealthDeclarationType Maven / Gradle / Ivy
//
// Este archivo ha sido generado por la arquitectura JavaTM para la implantación de la referencia de enlace (JAXB) XML v2.2.11
// Visite http://java.sun.com/xml/jaxb
// Todas las modificaciones realizadas en este archivo se perderán si se vuelve a compilar el esquema de origen.
// Generado el: 2021.03.22 a las 07:02:09 PM CET
//
package oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.FumigatedCargoTransportIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.InfectiousDiseaseCaseOnBoardIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LastDrinkingWaterAnalysisDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MedicalPractitionerConsultedIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MoreIllThanExpectedIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ReinspectionRequiredIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.SanitaryMeasuresAppliedIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.SickAnimalDescriptionType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.SickAnimalOnBoardIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.StowawayDescriptionType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.StowawaysFoundOnBoardIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TotalDeadPersonQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TotalIllPersonQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ValidSanitationCertificateOnBoardIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonextensioncomponents_2.UBLExtensionsType;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
* Clase Java para MaritimeHealthDeclarationType complex type.
*
*
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
*
* <complexType name="MaritimeHealthDeclarationType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2}UBLExtensions" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}InfectiousDiseaseCaseOnBoardIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MoreIllThanExpectedIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MedicalPractitionerConsultedIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}StowawaysFoundOnBoardIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SickAnimalOnBoardIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}FumigatedCargoTransportIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SanitaryMeasuresAppliedIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ValidSanitationCertificateOnBoardIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReinspectionRequiredIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TotalDeadPersonQuantity" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TotalIllPersonQuantity" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SickAnimalDescription" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}StowawayDescription" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LastDrinkingWaterAnalysisDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}WHOAffectedAreaVisit" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PersonnelHealthIncident" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}SanitaryMeasure" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PlaceOfReportLocation" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MedicalCertificate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ShipSanitationControlCertificate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ShipSanitationControlExemptionDocumentReference" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MaritimeHealthDeclarationType", propOrder = {
"ublExtensions",
"id",
"infectiousDiseaseCaseOnBoardIndicator",
"moreIllThanExpectedIndicator",
"medicalPractitionerConsultedIndicator",
"stowawaysFoundOnBoardIndicator",
"sickAnimalOnBoardIndicator",
"fumigatedCargoTransportIndicator",
"sanitaryMeasuresAppliedIndicator",
"validSanitationCertificateOnBoardIndicator",
"reinspectionRequiredIndicator",
"totalDeadPersonQuantity",
"totalIllPersonQuantity",
"sickAnimalDescription",
"stowawayDescription",
"lastDrinkingWaterAnalysisDate",
"whoAffectedAreaVisit",
"personnelHealthIncident",
"sanitaryMeasure",
"placeOfReportLocation",
"medicalCertificate",
"shipSanitationControlCertificate",
"shipSanitationControlExemptionDocumentReference"
})
public class MaritimeHealthDeclarationType implements Serializable, Equals2, HashCode2, ToString2
{
private final static long serialVersionUID = 100L;
@XmlElement(name = "UBLExtensions", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2")
protected UBLExtensionsType ublExtensions;
@XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected IDType id;
@XmlElement(name = "InfectiousDiseaseCaseOnBoardIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected InfectiousDiseaseCaseOnBoardIndicatorType infectiousDiseaseCaseOnBoardIndicator;
@XmlElement(name = "MoreIllThanExpectedIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected MoreIllThanExpectedIndicatorType moreIllThanExpectedIndicator;
@XmlElement(name = "MedicalPractitionerConsultedIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected MedicalPractitionerConsultedIndicatorType medicalPractitionerConsultedIndicator;
@XmlElement(name = "StowawaysFoundOnBoardIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected StowawaysFoundOnBoardIndicatorType stowawaysFoundOnBoardIndicator;
@XmlElement(name = "SickAnimalOnBoardIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected SickAnimalOnBoardIndicatorType sickAnimalOnBoardIndicator;
@XmlElement(name = "FumigatedCargoTransportIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected FumigatedCargoTransportIndicatorType fumigatedCargoTransportIndicator;
@XmlElement(name = "SanitaryMeasuresAppliedIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected SanitaryMeasuresAppliedIndicatorType sanitaryMeasuresAppliedIndicator;
@XmlElement(name = "ValidSanitationCertificateOnBoardIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ValidSanitationCertificateOnBoardIndicatorType validSanitationCertificateOnBoardIndicator;
@XmlElement(name = "ReinspectionRequiredIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ReinspectionRequiredIndicatorType reinspectionRequiredIndicator;
@XmlElement(name = "TotalDeadPersonQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected TotalDeadPersonQuantityType totalDeadPersonQuantity;
@XmlElement(name = "TotalIllPersonQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected TotalIllPersonQuantityType totalIllPersonQuantity;
@XmlElement(name = "SickAnimalDescription", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List sickAnimalDescription;
@XmlElement(name = "StowawayDescription", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List stowawayDescription;
@XmlElement(name = "LastDrinkingWaterAnalysisDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected LastDrinkingWaterAnalysisDateType lastDrinkingWaterAnalysisDate;
@XmlElement(name = "WHOAffectedAreaVisit")
protected List whoAffectedAreaVisit;
@XmlElement(name = "PersonnelHealthIncident")
protected List personnelHealthIncident;
@XmlElement(name = "SanitaryMeasure")
protected List sanitaryMeasure;
@XmlElement(name = "PlaceOfReportLocation")
protected LocationType placeOfReportLocation;
@XmlElement(name = "MedicalCertificate")
protected CertificateType medicalCertificate;
@XmlElement(name = "ShipSanitationControlCertificate")
protected CertificateType shipSanitationControlCertificate;
@XmlElement(name = "ShipSanitationControlExemptionDocumentReference")
protected List shipSanitationControlExemptionDocumentReference;
/**
* Obtiene el valor de la propiedad ublExtensions.
*
* @return
* possible object is
* {@link UBLExtensionsType }
*
*/
public UBLExtensionsType getUBLExtensions() {
return ublExtensions;
}
/**
* Define el valor de la propiedad ublExtensions.
*
* @param value
* allowed object is
* {@link UBLExtensionsType }
*
*/
public void setUBLExtensions(UBLExtensionsType value) {
this.ublExtensions = value;
}
/**
* Obtiene el valor de la propiedad id.
*
* @return
* possible object is
* {@link IDType }
*
*/
public IDType getID() {
return id;
}
/**
* Define el valor de la propiedad id.
*
* @param value
* allowed object is
* {@link IDType }
*
*/
public void setID(IDType value) {
this.id = value;
}
/**
* Obtiene el valor de la propiedad infectiousDiseaseCaseOnBoardIndicator.
*
* @return
* possible object is
* {@link InfectiousDiseaseCaseOnBoardIndicatorType }
*
*/
public InfectiousDiseaseCaseOnBoardIndicatorType getInfectiousDiseaseCaseOnBoardIndicator() {
return infectiousDiseaseCaseOnBoardIndicator;
}
/**
* Define el valor de la propiedad infectiousDiseaseCaseOnBoardIndicator.
*
* @param value
* allowed object is
* {@link InfectiousDiseaseCaseOnBoardIndicatorType }
*
*/
public void setInfectiousDiseaseCaseOnBoardIndicator(InfectiousDiseaseCaseOnBoardIndicatorType value) {
this.infectiousDiseaseCaseOnBoardIndicator = value;
}
/**
* Obtiene el valor de la propiedad moreIllThanExpectedIndicator.
*
* @return
* possible object is
* {@link MoreIllThanExpectedIndicatorType }
*
*/
public MoreIllThanExpectedIndicatorType getMoreIllThanExpectedIndicator() {
return moreIllThanExpectedIndicator;
}
/**
* Define el valor de la propiedad moreIllThanExpectedIndicator.
*
* @param value
* allowed object is
* {@link MoreIllThanExpectedIndicatorType }
*
*/
public void setMoreIllThanExpectedIndicator(MoreIllThanExpectedIndicatorType value) {
this.moreIllThanExpectedIndicator = value;
}
/**
* Obtiene el valor de la propiedad medicalPractitionerConsultedIndicator.
*
* @return
* possible object is
* {@link MedicalPractitionerConsultedIndicatorType }
*
*/
public MedicalPractitionerConsultedIndicatorType getMedicalPractitionerConsultedIndicator() {
return medicalPractitionerConsultedIndicator;
}
/**
* Define el valor de la propiedad medicalPractitionerConsultedIndicator.
*
* @param value
* allowed object is
* {@link MedicalPractitionerConsultedIndicatorType }
*
*/
public void setMedicalPractitionerConsultedIndicator(MedicalPractitionerConsultedIndicatorType value) {
this.medicalPractitionerConsultedIndicator = value;
}
/**
* Obtiene el valor de la propiedad stowawaysFoundOnBoardIndicator.
*
* @return
* possible object is
* {@link StowawaysFoundOnBoardIndicatorType }
*
*/
public StowawaysFoundOnBoardIndicatorType getStowawaysFoundOnBoardIndicator() {
return stowawaysFoundOnBoardIndicator;
}
/**
* Define el valor de la propiedad stowawaysFoundOnBoardIndicator.
*
* @param value
* allowed object is
* {@link StowawaysFoundOnBoardIndicatorType }
*
*/
public void setStowawaysFoundOnBoardIndicator(StowawaysFoundOnBoardIndicatorType value) {
this.stowawaysFoundOnBoardIndicator = value;
}
/**
* Obtiene el valor de la propiedad sickAnimalOnBoardIndicator.
*
* @return
* possible object is
* {@link SickAnimalOnBoardIndicatorType }
*
*/
public SickAnimalOnBoardIndicatorType getSickAnimalOnBoardIndicator() {
return sickAnimalOnBoardIndicator;
}
/**
* Define el valor de la propiedad sickAnimalOnBoardIndicator.
*
* @param value
* allowed object is
* {@link SickAnimalOnBoardIndicatorType }
*
*/
public void setSickAnimalOnBoardIndicator(SickAnimalOnBoardIndicatorType value) {
this.sickAnimalOnBoardIndicator = value;
}
/**
* Obtiene el valor de la propiedad fumigatedCargoTransportIndicator.
*
* @return
* possible object is
* {@link FumigatedCargoTransportIndicatorType }
*
*/
public FumigatedCargoTransportIndicatorType getFumigatedCargoTransportIndicator() {
return fumigatedCargoTransportIndicator;
}
/**
* Define el valor de la propiedad fumigatedCargoTransportIndicator.
*
* @param value
* allowed object is
* {@link FumigatedCargoTransportIndicatorType }
*
*/
public void setFumigatedCargoTransportIndicator(FumigatedCargoTransportIndicatorType value) {
this.fumigatedCargoTransportIndicator = value;
}
/**
* Obtiene el valor de la propiedad sanitaryMeasuresAppliedIndicator.
*
* @return
* possible object is
* {@link SanitaryMeasuresAppliedIndicatorType }
*
*/
public SanitaryMeasuresAppliedIndicatorType getSanitaryMeasuresAppliedIndicator() {
return sanitaryMeasuresAppliedIndicator;
}
/**
* Define el valor de la propiedad sanitaryMeasuresAppliedIndicator.
*
* @param value
* allowed object is
* {@link SanitaryMeasuresAppliedIndicatorType }
*
*/
public void setSanitaryMeasuresAppliedIndicator(SanitaryMeasuresAppliedIndicatorType value) {
this.sanitaryMeasuresAppliedIndicator = value;
}
/**
* Obtiene el valor de la propiedad validSanitationCertificateOnBoardIndicator.
*
* @return
* possible object is
* {@link ValidSanitationCertificateOnBoardIndicatorType }
*
*/
public ValidSanitationCertificateOnBoardIndicatorType getValidSanitationCertificateOnBoardIndicator() {
return validSanitationCertificateOnBoardIndicator;
}
/**
* Define el valor de la propiedad validSanitationCertificateOnBoardIndicator.
*
* @param value
* allowed object is
* {@link ValidSanitationCertificateOnBoardIndicatorType }
*
*/
public void setValidSanitationCertificateOnBoardIndicator(ValidSanitationCertificateOnBoardIndicatorType value) {
this.validSanitationCertificateOnBoardIndicator = value;
}
/**
* Obtiene el valor de la propiedad reinspectionRequiredIndicator.
*
* @return
* possible object is
* {@link ReinspectionRequiredIndicatorType }
*
*/
public ReinspectionRequiredIndicatorType getReinspectionRequiredIndicator() {
return reinspectionRequiredIndicator;
}
/**
* Define el valor de la propiedad reinspectionRequiredIndicator.
*
* @param value
* allowed object is
* {@link ReinspectionRequiredIndicatorType }
*
*/
public void setReinspectionRequiredIndicator(ReinspectionRequiredIndicatorType value) {
this.reinspectionRequiredIndicator = value;
}
/**
* Obtiene el valor de la propiedad totalDeadPersonQuantity.
*
* @return
* possible object is
* {@link TotalDeadPersonQuantityType }
*
*/
public TotalDeadPersonQuantityType getTotalDeadPersonQuantity() {
return totalDeadPersonQuantity;
}
/**
* Define el valor de la propiedad totalDeadPersonQuantity.
*
* @param value
* allowed object is
* {@link TotalDeadPersonQuantityType }
*
*/
public void setTotalDeadPersonQuantity(TotalDeadPersonQuantityType value) {
this.totalDeadPersonQuantity = value;
}
/**
* Obtiene el valor de la propiedad totalIllPersonQuantity.
*
* @return
* possible object is
* {@link TotalIllPersonQuantityType }
*
*/
public TotalIllPersonQuantityType getTotalIllPersonQuantity() {
return totalIllPersonQuantity;
}
/**
* Define el valor de la propiedad totalIllPersonQuantity.
*
* @param value
* allowed object is
* {@link TotalIllPersonQuantityType }
*
*/
public void setTotalIllPersonQuantity(TotalIllPersonQuantityType value) {
this.totalIllPersonQuantity = value;
}
/**
* Gets the value of the sickAnimalDescription 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 sickAnimalDescription property.
*
*
* For example, to add a new item, do as follows:
*
* getSickAnimalDescription().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SickAnimalDescriptionType }
*
*
*/
public List getSickAnimalDescription() {
if (sickAnimalDescription == null) {
sickAnimalDescription = new ArrayList();
}
return this.sickAnimalDescription;
}
/**
* Gets the value of the stowawayDescription 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 stowawayDescription property.
*
*
* For example, to add a new item, do as follows:
*
* getStowawayDescription().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link StowawayDescriptionType }
*
*
*/
public List getStowawayDescription() {
if (stowawayDescription == null) {
stowawayDescription = new ArrayList();
}
return this.stowawayDescription;
}
/**
* Obtiene el valor de la propiedad lastDrinkingWaterAnalysisDate.
*
* @return
* possible object is
* {@link LastDrinkingWaterAnalysisDateType }
*
*/
public LastDrinkingWaterAnalysisDateType getLastDrinkingWaterAnalysisDate() {
return lastDrinkingWaterAnalysisDate;
}
/**
* Define el valor de la propiedad lastDrinkingWaterAnalysisDate.
*
* @param value
* allowed object is
* {@link LastDrinkingWaterAnalysisDateType }
*
*/
public void setLastDrinkingWaterAnalysisDate(LastDrinkingWaterAnalysisDateType value) {
this.lastDrinkingWaterAnalysisDate = value;
}
/**
* Gets the value of the whoAffectedAreaVisit 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 whoAffectedAreaVisit property.
*
*
* For example, to add a new item, do as follows:
*
* getWHOAffectedAreaVisit().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link WHOAffectedAreaVisitType }
*
*
*/
public List getWHOAffectedAreaVisit() {
if (whoAffectedAreaVisit == null) {
whoAffectedAreaVisit = new ArrayList();
}
return this.whoAffectedAreaVisit;
}
/**
* Gets the value of the personnelHealthIncident 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 personnelHealthIncident property.
*
*
* For example, to add a new item, do as follows:
*
* getPersonnelHealthIncident().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PersonnelHealthIncidentType }
*
*
*/
public List getPersonnelHealthIncident() {
if (personnelHealthIncident == null) {
personnelHealthIncident = new ArrayList();
}
return this.personnelHealthIncident;
}
/**
* Gets the value of the sanitaryMeasure 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 sanitaryMeasure property.
*
*
* For example, to add a new item, do as follows:
*
* getSanitaryMeasure().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SanitaryMeasureType }
*
*
*/
public List getSanitaryMeasure() {
if (sanitaryMeasure == null) {
sanitaryMeasure = new ArrayList();
}
return this.sanitaryMeasure;
}
/**
* Obtiene el valor de la propiedad placeOfReportLocation.
*
* @return
* possible object is
* {@link LocationType }
*
*/
public LocationType getPlaceOfReportLocation() {
return placeOfReportLocation;
}
/**
* Define el valor de la propiedad placeOfReportLocation.
*
* @param value
* allowed object is
* {@link LocationType }
*
*/
public void setPlaceOfReportLocation(LocationType value) {
this.placeOfReportLocation = value;
}
/**
* Obtiene el valor de la propiedad medicalCertificate.
*
* @return
* possible object is
* {@link CertificateType }
*
*/
public CertificateType getMedicalCertificate() {
return medicalCertificate;
}
/**
* Define el valor de la propiedad medicalCertificate.
*
* @param value
* allowed object is
* {@link CertificateType }
*
*/
public void setMedicalCertificate(CertificateType value) {
this.medicalCertificate = value;
}
/**
* Obtiene el valor de la propiedad shipSanitationControlCertificate.
*
* @return
* possible object is
* {@link CertificateType }
*
*/
public CertificateType getShipSanitationControlCertificate() {
return shipSanitationControlCertificate;
}
/**
* Define el valor de la propiedad shipSanitationControlCertificate.
*
* @param value
* allowed object is
* {@link CertificateType }
*
*/
public void setShipSanitationControlCertificate(CertificateType value) {
this.shipSanitationControlCertificate = value;
}
/**
* Gets the value of the shipSanitationControlExemptionDocumentReference 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 shipSanitationControlExemptionDocumentReference property.
*
*
* For example, to add a new item, do as follows:
*
* getShipSanitationControlExemptionDocumentReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentReferenceType }
*
*
*/
public List getShipSanitationControlExemptionDocumentReference() {
if (shipSanitationControlExemptionDocumentReference == null) {
shipSanitationControlExemptionDocumentReference = new ArrayList();
}
return this.shipSanitationControlExemptionDocumentReference;
}
public String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
{
UBLExtensionsType theUBLExtensions;
theUBLExtensions = this.getUBLExtensions();
strategy.appendField(locator, this, "ublExtensions", buffer, theUBLExtensions, (this.ublExtensions!= null));
}
{
IDType theID;
theID = this.getID();
strategy.appendField(locator, this, "id", buffer, theID, (this.id!= null));
}
{
InfectiousDiseaseCaseOnBoardIndicatorType theInfectiousDiseaseCaseOnBoardIndicator;
theInfectiousDiseaseCaseOnBoardIndicator = this.getInfectiousDiseaseCaseOnBoardIndicator();
strategy.appendField(locator, this, "infectiousDiseaseCaseOnBoardIndicator", buffer, theInfectiousDiseaseCaseOnBoardIndicator, (this.infectiousDiseaseCaseOnBoardIndicator!= null));
}
{
MoreIllThanExpectedIndicatorType theMoreIllThanExpectedIndicator;
theMoreIllThanExpectedIndicator = this.getMoreIllThanExpectedIndicator();
strategy.appendField(locator, this, "moreIllThanExpectedIndicator", buffer, theMoreIllThanExpectedIndicator, (this.moreIllThanExpectedIndicator!= null));
}
{
MedicalPractitionerConsultedIndicatorType theMedicalPractitionerConsultedIndicator;
theMedicalPractitionerConsultedIndicator = this.getMedicalPractitionerConsultedIndicator();
strategy.appendField(locator, this, "medicalPractitionerConsultedIndicator", buffer, theMedicalPractitionerConsultedIndicator, (this.medicalPractitionerConsultedIndicator!= null));
}
{
StowawaysFoundOnBoardIndicatorType theStowawaysFoundOnBoardIndicator;
theStowawaysFoundOnBoardIndicator = this.getStowawaysFoundOnBoardIndicator();
strategy.appendField(locator, this, "stowawaysFoundOnBoardIndicator", buffer, theStowawaysFoundOnBoardIndicator, (this.stowawaysFoundOnBoardIndicator!= null));
}
{
SickAnimalOnBoardIndicatorType theSickAnimalOnBoardIndicator;
theSickAnimalOnBoardIndicator = this.getSickAnimalOnBoardIndicator();
strategy.appendField(locator, this, "sickAnimalOnBoardIndicator", buffer, theSickAnimalOnBoardIndicator, (this.sickAnimalOnBoardIndicator!= null));
}
{
FumigatedCargoTransportIndicatorType theFumigatedCargoTransportIndicator;
theFumigatedCargoTransportIndicator = this.getFumigatedCargoTransportIndicator();
strategy.appendField(locator, this, "fumigatedCargoTransportIndicator", buffer, theFumigatedCargoTransportIndicator, (this.fumigatedCargoTransportIndicator!= null));
}
{
SanitaryMeasuresAppliedIndicatorType theSanitaryMeasuresAppliedIndicator;
theSanitaryMeasuresAppliedIndicator = this.getSanitaryMeasuresAppliedIndicator();
strategy.appendField(locator, this, "sanitaryMeasuresAppliedIndicator", buffer, theSanitaryMeasuresAppliedIndicator, (this.sanitaryMeasuresAppliedIndicator!= null));
}
{
ValidSanitationCertificateOnBoardIndicatorType theValidSanitationCertificateOnBoardIndicator;
theValidSanitationCertificateOnBoardIndicator = this.getValidSanitationCertificateOnBoardIndicator();
strategy.appendField(locator, this, "validSanitationCertificateOnBoardIndicator", buffer, theValidSanitationCertificateOnBoardIndicator, (this.validSanitationCertificateOnBoardIndicator!= null));
}
{
ReinspectionRequiredIndicatorType theReinspectionRequiredIndicator;
theReinspectionRequiredIndicator = this.getReinspectionRequiredIndicator();
strategy.appendField(locator, this, "reinspectionRequiredIndicator", buffer, theReinspectionRequiredIndicator, (this.reinspectionRequiredIndicator!= null));
}
{
TotalDeadPersonQuantityType theTotalDeadPersonQuantity;
theTotalDeadPersonQuantity = this.getTotalDeadPersonQuantity();
strategy.appendField(locator, this, "totalDeadPersonQuantity", buffer, theTotalDeadPersonQuantity, (this.totalDeadPersonQuantity!= null));
}
{
TotalIllPersonQuantityType theTotalIllPersonQuantity;
theTotalIllPersonQuantity = this.getTotalIllPersonQuantity();
strategy.appendField(locator, this, "totalIllPersonQuantity", buffer, theTotalIllPersonQuantity, (this.totalIllPersonQuantity!= null));
}
{
List theSickAnimalDescription;
theSickAnimalDescription = (((this.sickAnimalDescription!= null)&&(!this.sickAnimalDescription.isEmpty()))?this.getSickAnimalDescription():null);
strategy.appendField(locator, this, "sickAnimalDescription", buffer, theSickAnimalDescription, ((this.sickAnimalDescription!= null)&&(!this.sickAnimalDescription.isEmpty())));
}
{
List theStowawayDescription;
theStowawayDescription = (((this.stowawayDescription!= null)&&(!this.stowawayDescription.isEmpty()))?this.getStowawayDescription():null);
strategy.appendField(locator, this, "stowawayDescription", buffer, theStowawayDescription, ((this.stowawayDescription!= null)&&(!this.stowawayDescription.isEmpty())));
}
{
LastDrinkingWaterAnalysisDateType theLastDrinkingWaterAnalysisDate;
theLastDrinkingWaterAnalysisDate = this.getLastDrinkingWaterAnalysisDate();
strategy.appendField(locator, this, "lastDrinkingWaterAnalysisDate", buffer, theLastDrinkingWaterAnalysisDate, (this.lastDrinkingWaterAnalysisDate!= null));
}
{
List theWHOAffectedAreaVisit;
theWHOAffectedAreaVisit = (((this.whoAffectedAreaVisit!= null)&&(!this.whoAffectedAreaVisit.isEmpty()))?this.getWHOAffectedAreaVisit():null);
strategy.appendField(locator, this, "whoAffectedAreaVisit", buffer, theWHOAffectedAreaVisit, ((this.whoAffectedAreaVisit!= null)&&(!this.whoAffectedAreaVisit.isEmpty())));
}
{
List thePersonnelHealthIncident;
thePersonnelHealthIncident = (((this.personnelHealthIncident!= null)&&(!this.personnelHealthIncident.isEmpty()))?this.getPersonnelHealthIncident():null);
strategy.appendField(locator, this, "personnelHealthIncident", buffer, thePersonnelHealthIncident, ((this.personnelHealthIncident!= null)&&(!this.personnelHealthIncident.isEmpty())));
}
{
List theSanitaryMeasure;
theSanitaryMeasure = (((this.sanitaryMeasure!= null)&&(!this.sanitaryMeasure.isEmpty()))?this.getSanitaryMeasure():null);
strategy.appendField(locator, this, "sanitaryMeasure", buffer, theSanitaryMeasure, ((this.sanitaryMeasure!= null)&&(!this.sanitaryMeasure.isEmpty())));
}
{
LocationType thePlaceOfReportLocation;
thePlaceOfReportLocation = this.getPlaceOfReportLocation();
strategy.appendField(locator, this, "placeOfReportLocation", buffer, thePlaceOfReportLocation, (this.placeOfReportLocation!= null));
}
{
CertificateType theMedicalCertificate;
theMedicalCertificate = this.getMedicalCertificate();
strategy.appendField(locator, this, "medicalCertificate", buffer, theMedicalCertificate, (this.medicalCertificate!= null));
}
{
CertificateType theShipSanitationControlCertificate;
theShipSanitationControlCertificate = this.getShipSanitationControlCertificate();
strategy.appendField(locator, this, "shipSanitationControlCertificate", buffer, theShipSanitationControlCertificate, (this.shipSanitationControlCertificate!= null));
}
{
List theShipSanitationControlExemptionDocumentReference;
theShipSanitationControlExemptionDocumentReference = (((this.shipSanitationControlExemptionDocumentReference!= null)&&(!this.shipSanitationControlExemptionDocumentReference.isEmpty()))?this.getShipSanitationControlExemptionDocumentReference():null);
strategy.appendField(locator, this, "shipSanitationControlExemptionDocumentReference", buffer, theShipSanitationControlExemptionDocumentReference, ((this.shipSanitationControlExemptionDocumentReference!= null)&&(!this.shipSanitationControlExemptionDocumentReference.isEmpty())));
}
return buffer;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
final MaritimeHealthDeclarationType that = ((MaritimeHealthDeclarationType) object);
{
UBLExtensionsType lhsUBLExtensions;
lhsUBLExtensions = this.getUBLExtensions();
UBLExtensionsType rhsUBLExtensions;
rhsUBLExtensions = that.getUBLExtensions();
if (!strategy.equals(LocatorUtils.property(thisLocator, "ublExtensions", lhsUBLExtensions), LocatorUtils.property(thatLocator, "ublExtensions", rhsUBLExtensions), lhsUBLExtensions, rhsUBLExtensions, (this.ublExtensions!= null), (that.ublExtensions!= null))) {
return false;
}
}
{
IDType lhsID;
lhsID = this.getID();
IDType rhsID;
rhsID = that.getID();
if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsID), LocatorUtils.property(thatLocator, "id", rhsID), lhsID, rhsID, (this.id!= null), (that.id!= null))) {
return false;
}
}
{
InfectiousDiseaseCaseOnBoardIndicatorType lhsInfectiousDiseaseCaseOnBoardIndicator;
lhsInfectiousDiseaseCaseOnBoardIndicator = this.getInfectiousDiseaseCaseOnBoardIndicator();
InfectiousDiseaseCaseOnBoardIndicatorType rhsInfectiousDiseaseCaseOnBoardIndicator;
rhsInfectiousDiseaseCaseOnBoardIndicator = that.getInfectiousDiseaseCaseOnBoardIndicator();
if (!strategy.equals(LocatorUtils.property(thisLocator, "infectiousDiseaseCaseOnBoardIndicator", lhsInfectiousDiseaseCaseOnBoardIndicator), LocatorUtils.property(thatLocator, "infectiousDiseaseCaseOnBoardIndicator", rhsInfectiousDiseaseCaseOnBoardIndicator), lhsInfectiousDiseaseCaseOnBoardIndicator, rhsInfectiousDiseaseCaseOnBoardIndicator, (this.infectiousDiseaseCaseOnBoardIndicator!= null), (that.infectiousDiseaseCaseOnBoardIndicator!= null))) {
return false;
}
}
{
MoreIllThanExpectedIndicatorType lhsMoreIllThanExpectedIndicator;
lhsMoreIllThanExpectedIndicator = this.getMoreIllThanExpectedIndicator();
MoreIllThanExpectedIndicatorType rhsMoreIllThanExpectedIndicator;
rhsMoreIllThanExpectedIndicator = that.getMoreIllThanExpectedIndicator();
if (!strategy.equals(LocatorUtils.property(thisLocator, "moreIllThanExpectedIndicator", lhsMoreIllThanExpectedIndicator), LocatorUtils.property(thatLocator, "moreIllThanExpectedIndicator", rhsMoreIllThanExpectedIndicator), lhsMoreIllThanExpectedIndicator, rhsMoreIllThanExpectedIndicator, (this.moreIllThanExpectedIndicator!= null), (that.moreIllThanExpectedIndicator!= null))) {
return false;
}
}
{
MedicalPractitionerConsultedIndicatorType lhsMedicalPractitionerConsultedIndicator;
lhsMedicalPractitionerConsultedIndicator = this.getMedicalPractitionerConsultedIndicator();
MedicalPractitionerConsultedIndicatorType rhsMedicalPractitionerConsultedIndicator;
rhsMedicalPractitionerConsultedIndicator = that.getMedicalPractitionerConsultedIndicator();
if (!strategy.equals(LocatorUtils.property(thisLocator, "medicalPractitionerConsultedIndicator", lhsMedicalPractitionerConsultedIndicator), LocatorUtils.property(thatLocator, "medicalPractitionerConsultedIndicator", rhsMedicalPractitionerConsultedIndicator), lhsMedicalPractitionerConsultedIndicator, rhsMedicalPractitionerConsultedIndicator, (this.medicalPractitionerConsultedIndicator!= null), (that.medicalPractitionerConsultedIndicator!= null))) {
return false;
}
}
{
StowawaysFoundOnBoardIndicatorType lhsStowawaysFoundOnBoardIndicator;
lhsStowawaysFoundOnBoardIndicator = this.getStowawaysFoundOnBoardIndicator();
StowawaysFoundOnBoardIndicatorType rhsStowawaysFoundOnBoardIndicator;
rhsStowawaysFoundOnBoardIndicator = that.getStowawaysFoundOnBoardIndicator();
if (!strategy.equals(LocatorUtils.property(thisLocator, "stowawaysFoundOnBoardIndicator", lhsStowawaysFoundOnBoardIndicator), LocatorUtils.property(thatLocator, "stowawaysFoundOnBoardIndicator", rhsStowawaysFoundOnBoardIndicator), lhsStowawaysFoundOnBoardIndicator, rhsStowawaysFoundOnBoardIndicator, (this.stowawaysFoundOnBoardIndicator!= null), (that.stowawaysFoundOnBoardIndicator!= null))) {
return false;
}
}
{
SickAnimalOnBoardIndicatorType lhsSickAnimalOnBoardIndicator;
lhsSickAnimalOnBoardIndicator = this.getSickAnimalOnBoardIndicator();
SickAnimalOnBoardIndicatorType rhsSickAnimalOnBoardIndicator;
rhsSickAnimalOnBoardIndicator = that.getSickAnimalOnBoardIndicator();
if (!strategy.equals(LocatorUtils.property(thisLocator, "sickAnimalOnBoardIndicator", lhsSickAnimalOnBoardIndicator), LocatorUtils.property(thatLocator, "sickAnimalOnBoardIndicator", rhsSickAnimalOnBoardIndicator), lhsSickAnimalOnBoardIndicator, rhsSickAnimalOnBoardIndicator, (this.sickAnimalOnBoardIndicator!= null), (that.sickAnimalOnBoardIndicator!= null))) {
return false;
}
}
{
FumigatedCargoTransportIndicatorType lhsFumigatedCargoTransportIndicator;
lhsFumigatedCargoTransportIndicator = this.getFumigatedCargoTransportIndicator();
FumigatedCargoTransportIndicatorType rhsFumigatedCargoTransportIndicator;
rhsFumigatedCargoTransportIndicator = that.getFumigatedCargoTransportIndicator();
if (!strategy.equals(LocatorUtils.property(thisLocator, "fumigatedCargoTransportIndicator", lhsFumigatedCargoTransportIndicator), LocatorUtils.property(thatLocator, "fumigatedCargoTransportIndicator", rhsFumigatedCargoTransportIndicator), lhsFumigatedCargoTransportIndicator, rhsFumigatedCargoTransportIndicator, (this.fumigatedCargoTransportIndicator!= null), (that.fumigatedCargoTransportIndicator!= null))) {
return false;
}
}
{
SanitaryMeasuresAppliedIndicatorType lhsSanitaryMeasuresAppliedIndicator;
lhsSanitaryMeasuresAppliedIndicator = this.getSanitaryMeasuresAppliedIndicator();
SanitaryMeasuresAppliedIndicatorType rhsSanitaryMeasuresAppliedIndicator;
rhsSanitaryMeasuresAppliedIndicator = that.getSanitaryMeasuresAppliedIndicator();
if (!strategy.equals(LocatorUtils.property(thisLocator, "sanitaryMeasuresAppliedIndicator", lhsSanitaryMeasuresAppliedIndicator), LocatorUtils.property(thatLocator, "sanitaryMeasuresAppliedIndicator", rhsSanitaryMeasuresAppliedIndicator), lhsSanitaryMeasuresAppliedIndicator, rhsSanitaryMeasuresAppliedIndicator, (this.sanitaryMeasuresAppliedIndicator!= null), (that.sanitaryMeasuresAppliedIndicator!= null))) {
return false;
}
}
{
ValidSanitationCertificateOnBoardIndicatorType lhsValidSanitationCertificateOnBoardIndicator;
lhsValidSanitationCertificateOnBoardIndicator = this.getValidSanitationCertificateOnBoardIndicator();
ValidSanitationCertificateOnBoardIndicatorType rhsValidSanitationCertificateOnBoardIndicator;
rhsValidSanitationCertificateOnBoardIndicator = that.getValidSanitationCertificateOnBoardIndicator();
if (!strategy.equals(LocatorUtils.property(thisLocator, "validSanitationCertificateOnBoardIndicator", lhsValidSanitationCertificateOnBoardIndicator), LocatorUtils.property(thatLocator, "validSanitationCertificateOnBoardIndicator", rhsValidSanitationCertificateOnBoardIndicator), lhsValidSanitationCertificateOnBoardIndicator, rhsValidSanitationCertificateOnBoardIndicator, (this.validSanitationCertificateOnBoardIndicator!= null), (that.validSanitationCertificateOnBoardIndicator!= null))) {
return false;
}
}
{
ReinspectionRequiredIndicatorType lhsReinspectionRequiredIndicator;
lhsReinspectionRequiredIndicator = this.getReinspectionRequiredIndicator();
ReinspectionRequiredIndicatorType rhsReinspectionRequiredIndicator;
rhsReinspectionRequiredIndicator = that.getReinspectionRequiredIndicator();
if (!strategy.equals(LocatorUtils.property(thisLocator, "reinspectionRequiredIndicator", lhsReinspectionRequiredIndicator), LocatorUtils.property(thatLocator, "reinspectionRequiredIndicator", rhsReinspectionRequiredIndicator), lhsReinspectionRequiredIndicator, rhsReinspectionRequiredIndicator, (this.reinspectionRequiredIndicator!= null), (that.reinspectionRequiredIndicator!= null))) {
return false;
}
}
{
TotalDeadPersonQuantityType lhsTotalDeadPersonQuantity;
lhsTotalDeadPersonQuantity = this.getTotalDeadPersonQuantity();
TotalDeadPersonQuantityType rhsTotalDeadPersonQuantity;
rhsTotalDeadPersonQuantity = that.getTotalDeadPersonQuantity();
if (!strategy.equals(LocatorUtils.property(thisLocator, "totalDeadPersonQuantity", lhsTotalDeadPersonQuantity), LocatorUtils.property(thatLocator, "totalDeadPersonQuantity", rhsTotalDeadPersonQuantity), lhsTotalDeadPersonQuantity, rhsTotalDeadPersonQuantity, (this.totalDeadPersonQuantity!= null), (that.totalDeadPersonQuantity!= null))) {
return false;
}
}
{
TotalIllPersonQuantityType lhsTotalIllPersonQuantity;
lhsTotalIllPersonQuantity = this.getTotalIllPersonQuantity();
TotalIllPersonQuantityType rhsTotalIllPersonQuantity;
rhsTotalIllPersonQuantity = that.getTotalIllPersonQuantity();
if (!strategy.equals(LocatorUtils.property(thisLocator, "totalIllPersonQuantity", lhsTotalIllPersonQuantity), LocatorUtils.property(thatLocator, "totalIllPersonQuantity", rhsTotalIllPersonQuantity), lhsTotalIllPersonQuantity, rhsTotalIllPersonQuantity, (this.totalIllPersonQuantity!= null), (that.totalIllPersonQuantity!= null))) {
return false;
}
}
{
List lhsSickAnimalDescription;
lhsSickAnimalDescription = (((this.sickAnimalDescription!= null)&&(!this.sickAnimalDescription.isEmpty()))?this.getSickAnimalDescription():null);
List rhsSickAnimalDescription;
rhsSickAnimalDescription = (((that.sickAnimalDescription!= null)&&(!that.sickAnimalDescription.isEmpty()))?that.getSickAnimalDescription():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "sickAnimalDescription", lhsSickAnimalDescription), LocatorUtils.property(thatLocator, "sickAnimalDescription", rhsSickAnimalDescription), lhsSickAnimalDescription, rhsSickAnimalDescription, ((this.sickAnimalDescription!= null)&&(!this.sickAnimalDescription.isEmpty())), ((that.sickAnimalDescription!= null)&&(!that.sickAnimalDescription.isEmpty())))) {
return false;
}
}
{
List lhsStowawayDescription;
lhsStowawayDescription = (((this.stowawayDescription!= null)&&(!this.stowawayDescription.isEmpty()))?this.getStowawayDescription():null);
List rhsStowawayDescription;
rhsStowawayDescription = (((that.stowawayDescription!= null)&&(!that.stowawayDescription.isEmpty()))?that.getStowawayDescription():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "stowawayDescription", lhsStowawayDescription), LocatorUtils.property(thatLocator, "stowawayDescription", rhsStowawayDescription), lhsStowawayDescription, rhsStowawayDescription, ((this.stowawayDescription!= null)&&(!this.stowawayDescription.isEmpty())), ((that.stowawayDescription!= null)&&(!that.stowawayDescription.isEmpty())))) {
return false;
}
}
{
LastDrinkingWaterAnalysisDateType lhsLastDrinkingWaterAnalysisDate;
lhsLastDrinkingWaterAnalysisDate = this.getLastDrinkingWaterAnalysisDate();
LastDrinkingWaterAnalysisDateType rhsLastDrinkingWaterAnalysisDate;
rhsLastDrinkingWaterAnalysisDate = that.getLastDrinkingWaterAnalysisDate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lastDrinkingWaterAnalysisDate", lhsLastDrinkingWaterAnalysisDate), LocatorUtils.property(thatLocator, "lastDrinkingWaterAnalysisDate", rhsLastDrinkingWaterAnalysisDate), lhsLastDrinkingWaterAnalysisDate, rhsLastDrinkingWaterAnalysisDate, (this.lastDrinkingWaterAnalysisDate!= null), (that.lastDrinkingWaterAnalysisDate!= null))) {
return false;
}
}
{
List lhsWHOAffectedAreaVisit;
lhsWHOAffectedAreaVisit = (((this.whoAffectedAreaVisit!= null)&&(!this.whoAffectedAreaVisit.isEmpty()))?this.getWHOAffectedAreaVisit():null);
List rhsWHOAffectedAreaVisit;
rhsWHOAffectedAreaVisit = (((that.whoAffectedAreaVisit!= null)&&(!that.whoAffectedAreaVisit.isEmpty()))?that.getWHOAffectedAreaVisit():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "whoAffectedAreaVisit", lhsWHOAffectedAreaVisit), LocatorUtils.property(thatLocator, "whoAffectedAreaVisit", rhsWHOAffectedAreaVisit), lhsWHOAffectedAreaVisit, rhsWHOAffectedAreaVisit, ((this.whoAffectedAreaVisit!= null)&&(!this.whoAffectedAreaVisit.isEmpty())), ((that.whoAffectedAreaVisit!= null)&&(!that.whoAffectedAreaVisit.isEmpty())))) {
return false;
}
}
{
List lhsPersonnelHealthIncident;
lhsPersonnelHealthIncident = (((this.personnelHealthIncident!= null)&&(!this.personnelHealthIncident.isEmpty()))?this.getPersonnelHealthIncident():null);
List rhsPersonnelHealthIncident;
rhsPersonnelHealthIncident = (((that.personnelHealthIncident!= null)&&(!that.personnelHealthIncident.isEmpty()))?that.getPersonnelHealthIncident():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "personnelHealthIncident", lhsPersonnelHealthIncident), LocatorUtils.property(thatLocator, "personnelHealthIncident", rhsPersonnelHealthIncident), lhsPersonnelHealthIncident, rhsPersonnelHealthIncident, ((this.personnelHealthIncident!= null)&&(!this.personnelHealthIncident.isEmpty())), ((that.personnelHealthIncident!= null)&&(!that.personnelHealthIncident.isEmpty())))) {
return false;
}
}
{
List lhsSanitaryMeasure;
lhsSanitaryMeasure = (((this.sanitaryMeasure!= null)&&(!this.sanitaryMeasure.isEmpty()))?this.getSanitaryMeasure():null);
List rhsSanitaryMeasure;
rhsSanitaryMeasure = (((that.sanitaryMeasure!= null)&&(!that.sanitaryMeasure.isEmpty()))?that.getSanitaryMeasure():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "sanitaryMeasure", lhsSanitaryMeasure), LocatorUtils.property(thatLocator, "sanitaryMeasure", rhsSanitaryMeasure), lhsSanitaryMeasure, rhsSanitaryMeasure, ((this.sanitaryMeasure!= null)&&(!this.sanitaryMeasure.isEmpty())), ((that.sanitaryMeasure!= null)&&(!that.sanitaryMeasure.isEmpty())))) {
return false;
}
}
{
LocationType lhsPlaceOfReportLocation;
lhsPlaceOfReportLocation = this.getPlaceOfReportLocation();
LocationType rhsPlaceOfReportLocation;
rhsPlaceOfReportLocation = that.getPlaceOfReportLocation();
if (!strategy.equals(LocatorUtils.property(thisLocator, "placeOfReportLocation", lhsPlaceOfReportLocation), LocatorUtils.property(thatLocator, "placeOfReportLocation", rhsPlaceOfReportLocation), lhsPlaceOfReportLocation, rhsPlaceOfReportLocation, (this.placeOfReportLocation!= null), (that.placeOfReportLocation!= null))) {
return false;
}
}
{
CertificateType lhsMedicalCertificate;
lhsMedicalCertificate = this.getMedicalCertificate();
CertificateType rhsMedicalCertificate;
rhsMedicalCertificate = that.getMedicalCertificate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "medicalCertificate", lhsMedicalCertificate), LocatorUtils.property(thatLocator, "medicalCertificate", rhsMedicalCertificate), lhsMedicalCertificate, rhsMedicalCertificate, (this.medicalCertificate!= null), (that.medicalCertificate!= null))) {
return false;
}
}
{
CertificateType lhsShipSanitationControlCertificate;
lhsShipSanitationControlCertificate = this.getShipSanitationControlCertificate();
CertificateType rhsShipSanitationControlCertificate;
rhsShipSanitationControlCertificate = that.getShipSanitationControlCertificate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "shipSanitationControlCertificate", lhsShipSanitationControlCertificate), LocatorUtils.property(thatLocator, "shipSanitationControlCertificate", rhsShipSanitationControlCertificate), lhsShipSanitationControlCertificate, rhsShipSanitationControlCertificate, (this.shipSanitationControlCertificate!= null), (that.shipSanitationControlCertificate!= null))) {
return false;
}
}
{
List lhsShipSanitationControlExemptionDocumentReference;
lhsShipSanitationControlExemptionDocumentReference = (((this.shipSanitationControlExemptionDocumentReference!= null)&&(!this.shipSanitationControlExemptionDocumentReference.isEmpty()))?this.getShipSanitationControlExemptionDocumentReference():null);
List rhsShipSanitationControlExemptionDocumentReference;
rhsShipSanitationControlExemptionDocumentReference = (((that.shipSanitationControlExemptionDocumentReference!= null)&&(!that.shipSanitationControlExemptionDocumentReference.isEmpty()))?that.getShipSanitationControlExemptionDocumentReference():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "shipSanitationControlExemptionDocumentReference", lhsShipSanitationControlExemptionDocumentReference), LocatorUtils.property(thatLocator, "shipSanitationControlExemptionDocumentReference", rhsShipSanitationControlExemptionDocumentReference), lhsShipSanitationControlExemptionDocumentReference, rhsShipSanitationControlExemptionDocumentReference, ((this.shipSanitationControlExemptionDocumentReference!= null)&&(!this.shipSanitationControlExemptionDocumentReference.isEmpty())), ((that.shipSanitationControlExemptionDocumentReference!= null)&&(!that.shipSanitationControlExemptionDocumentReference.isEmpty())))) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) {
int currentHashCode = 1;
{
UBLExtensionsType theUBLExtensions;
theUBLExtensions = this.getUBLExtensions();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ublExtensions", theUBLExtensions), currentHashCode, theUBLExtensions, (this.ublExtensions!= null));
}
{
IDType theID;
theID = this.getID();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theID), currentHashCode, theID, (this.id!= null));
}
{
InfectiousDiseaseCaseOnBoardIndicatorType theInfectiousDiseaseCaseOnBoardIndicator;
theInfectiousDiseaseCaseOnBoardIndicator = this.getInfectiousDiseaseCaseOnBoardIndicator();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "infectiousDiseaseCaseOnBoardIndicator", theInfectiousDiseaseCaseOnBoardIndicator), currentHashCode, theInfectiousDiseaseCaseOnBoardIndicator, (this.infectiousDiseaseCaseOnBoardIndicator!= null));
}
{
MoreIllThanExpectedIndicatorType theMoreIllThanExpectedIndicator;
theMoreIllThanExpectedIndicator = this.getMoreIllThanExpectedIndicator();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "moreIllThanExpectedIndicator", theMoreIllThanExpectedIndicator), currentHashCode, theMoreIllThanExpectedIndicator, (this.moreIllThanExpectedIndicator!= null));
}
{
MedicalPractitionerConsultedIndicatorType theMedicalPractitionerConsultedIndicator;
theMedicalPractitionerConsultedIndicator = this.getMedicalPractitionerConsultedIndicator();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "medicalPractitionerConsultedIndicator", theMedicalPractitionerConsultedIndicator), currentHashCode, theMedicalPractitionerConsultedIndicator, (this.medicalPractitionerConsultedIndicator!= null));
}
{
StowawaysFoundOnBoardIndicatorType theStowawaysFoundOnBoardIndicator;
theStowawaysFoundOnBoardIndicator = this.getStowawaysFoundOnBoardIndicator();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "stowawaysFoundOnBoardIndicator", theStowawaysFoundOnBoardIndicator), currentHashCode, theStowawaysFoundOnBoardIndicator, (this.stowawaysFoundOnBoardIndicator!= null));
}
{
SickAnimalOnBoardIndicatorType theSickAnimalOnBoardIndicator;
theSickAnimalOnBoardIndicator = this.getSickAnimalOnBoardIndicator();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sickAnimalOnBoardIndicator", theSickAnimalOnBoardIndicator), currentHashCode, theSickAnimalOnBoardIndicator, (this.sickAnimalOnBoardIndicator!= null));
}
{
FumigatedCargoTransportIndicatorType theFumigatedCargoTransportIndicator;
theFumigatedCargoTransportIndicator = this.getFumigatedCargoTransportIndicator();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fumigatedCargoTransportIndicator", theFumigatedCargoTransportIndicator), currentHashCode, theFumigatedCargoTransportIndicator, (this.fumigatedCargoTransportIndicator!= null));
}
{
SanitaryMeasuresAppliedIndicatorType theSanitaryMeasuresAppliedIndicator;
theSanitaryMeasuresAppliedIndicator = this.getSanitaryMeasuresAppliedIndicator();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sanitaryMeasuresAppliedIndicator", theSanitaryMeasuresAppliedIndicator), currentHashCode, theSanitaryMeasuresAppliedIndicator, (this.sanitaryMeasuresAppliedIndicator!= null));
}
{
ValidSanitationCertificateOnBoardIndicatorType theValidSanitationCertificateOnBoardIndicator;
theValidSanitationCertificateOnBoardIndicator = this.getValidSanitationCertificateOnBoardIndicator();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "validSanitationCertificateOnBoardIndicator", theValidSanitationCertificateOnBoardIndicator), currentHashCode, theValidSanitationCertificateOnBoardIndicator, (this.validSanitationCertificateOnBoardIndicator!= null));
}
{
ReinspectionRequiredIndicatorType theReinspectionRequiredIndicator;
theReinspectionRequiredIndicator = this.getReinspectionRequiredIndicator();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "reinspectionRequiredIndicator", theReinspectionRequiredIndicator), currentHashCode, theReinspectionRequiredIndicator, (this.reinspectionRequiredIndicator!= null));
}
{
TotalDeadPersonQuantityType theTotalDeadPersonQuantity;
theTotalDeadPersonQuantity = this.getTotalDeadPersonQuantity();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "totalDeadPersonQuantity", theTotalDeadPersonQuantity), currentHashCode, theTotalDeadPersonQuantity, (this.totalDeadPersonQuantity!= null));
}
{
TotalIllPersonQuantityType theTotalIllPersonQuantity;
theTotalIllPersonQuantity = this.getTotalIllPersonQuantity();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "totalIllPersonQuantity", theTotalIllPersonQuantity), currentHashCode, theTotalIllPersonQuantity, (this.totalIllPersonQuantity!= null));
}
{
List theSickAnimalDescription;
theSickAnimalDescription = (((this.sickAnimalDescription!= null)&&(!this.sickAnimalDescription.isEmpty()))?this.getSickAnimalDescription():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sickAnimalDescription", theSickAnimalDescription), currentHashCode, theSickAnimalDescription, ((this.sickAnimalDescription!= null)&&(!this.sickAnimalDescription.isEmpty())));
}
{
List theStowawayDescription;
theStowawayDescription = (((this.stowawayDescription!= null)&&(!this.stowawayDescription.isEmpty()))?this.getStowawayDescription():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "stowawayDescription", theStowawayDescription), currentHashCode, theStowawayDescription, ((this.stowawayDescription!= null)&&(!this.stowawayDescription.isEmpty())));
}
{
LastDrinkingWaterAnalysisDateType theLastDrinkingWaterAnalysisDate;
theLastDrinkingWaterAnalysisDate = this.getLastDrinkingWaterAnalysisDate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lastDrinkingWaterAnalysisDate", theLastDrinkingWaterAnalysisDate), currentHashCode, theLastDrinkingWaterAnalysisDate, (this.lastDrinkingWaterAnalysisDate!= null));
}
{
List theWHOAffectedAreaVisit;
theWHOAffectedAreaVisit = (((this.whoAffectedAreaVisit!= null)&&(!this.whoAffectedAreaVisit.isEmpty()))?this.getWHOAffectedAreaVisit():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "whoAffectedAreaVisit", theWHOAffectedAreaVisit), currentHashCode, theWHOAffectedAreaVisit, ((this.whoAffectedAreaVisit!= null)&&(!this.whoAffectedAreaVisit.isEmpty())));
}
{
List thePersonnelHealthIncident;
thePersonnelHealthIncident = (((this.personnelHealthIncident!= null)&&(!this.personnelHealthIncident.isEmpty()))?this.getPersonnelHealthIncident():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "personnelHealthIncident", thePersonnelHealthIncident), currentHashCode, thePersonnelHealthIncident, ((this.personnelHealthIncident!= null)&&(!this.personnelHealthIncident.isEmpty())));
}
{
List theSanitaryMeasure;
theSanitaryMeasure = (((this.sanitaryMeasure!= null)&&(!this.sanitaryMeasure.isEmpty()))?this.getSanitaryMeasure():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sanitaryMeasure", theSanitaryMeasure), currentHashCode, theSanitaryMeasure, ((this.sanitaryMeasure!= null)&&(!this.sanitaryMeasure.isEmpty())));
}
{
LocationType thePlaceOfReportLocation;
thePlaceOfReportLocation = this.getPlaceOfReportLocation();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "placeOfReportLocation", thePlaceOfReportLocation), currentHashCode, thePlaceOfReportLocation, (this.placeOfReportLocation!= null));
}
{
CertificateType theMedicalCertificate;
theMedicalCertificate = this.getMedicalCertificate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "medicalCertificate", theMedicalCertificate), currentHashCode, theMedicalCertificate, (this.medicalCertificate!= null));
}
{
CertificateType theShipSanitationControlCertificate;
theShipSanitationControlCertificate = this.getShipSanitationControlCertificate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "shipSanitationControlCertificate", theShipSanitationControlCertificate), currentHashCode, theShipSanitationControlCertificate, (this.shipSanitationControlCertificate!= null));
}
{
List theShipSanitationControlExemptionDocumentReference;
theShipSanitationControlExemptionDocumentReference = (((this.shipSanitationControlExemptionDocumentReference!= null)&&(!this.shipSanitationControlExemptionDocumentReference.isEmpty()))?this.getShipSanitationControlExemptionDocumentReference():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "shipSanitationControlExemptionDocumentReference", theShipSanitationControlExemptionDocumentReference), currentHashCode, theShipSanitationControlExemptionDocumentReference, ((this.shipSanitationControlExemptionDocumentReference!= null)&&(!this.shipSanitationControlExemptionDocumentReference.isEmpty())));
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}