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

oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.StorageType 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.AirFlowPercentType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AnimalFoodApprovedIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DangerousGoodsApprovedIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.GateIDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.HumanFoodApprovedIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.HumidityPercentType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.NameType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PowerIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RefrigeratedIndicatorType;
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 StorageType complex type. * *

El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. * *

 * <complexType name="StorageType">
 *   <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"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Name" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}GateID" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AirFlowPercent" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}HumidityPercent" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AnimalFoodApprovedIndicator" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}HumanFoodApprovedIndicator" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DangerousGoodsApprovedIndicator" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RefrigeratedIndicator" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PowerIndicator" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MinimumTemperature" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MaximumTemperature" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Certificate" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "StorageType", propOrder = { "ublExtensions", "id", "name", "gateID", "airFlowPercent", "humidityPercent", "animalFoodApprovedIndicator", "humanFoodApprovedIndicator", "dangerousGoodsApprovedIndicator", "refrigeratedIndicator", "powerIndicator", "minimumTemperature", "maximumTemperature", "certificate" }) public class StorageType 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", required = true) protected IDType id; @XmlElement(name = "Name", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected NameType name; @XmlElement(name = "GateID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected GateIDType gateID; @XmlElement(name = "AirFlowPercent", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected AirFlowPercentType airFlowPercent; @XmlElement(name = "HumidityPercent", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected HumidityPercentType humidityPercent; @XmlElement(name = "AnimalFoodApprovedIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected AnimalFoodApprovedIndicatorType animalFoodApprovedIndicator; @XmlElement(name = "HumanFoodApprovedIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected HumanFoodApprovedIndicatorType humanFoodApprovedIndicator; @XmlElement(name = "DangerousGoodsApprovedIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected DangerousGoodsApprovedIndicatorType dangerousGoodsApprovedIndicator; @XmlElement(name = "RefrigeratedIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected RefrigeratedIndicatorType refrigeratedIndicator; @XmlElement(name = "PowerIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected PowerIndicatorType powerIndicator; @XmlElement(name = "MinimumTemperature") protected TemperatureType minimumTemperature; @XmlElement(name = "MaximumTemperature") protected TemperatureType maximumTemperature; @XmlElement(name = "Certificate") protected List certificate; /** * 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 name. * * @return * possible object is * {@link NameType } * */ public NameType getName() { return name; } /** * Define el valor de la propiedad name. * * @param value * allowed object is * {@link NameType } * */ public void setName(NameType value) { this.name = value; } /** * Obtiene el valor de la propiedad gateID. * * @return * possible object is * {@link GateIDType } * */ public GateIDType getGateID() { return gateID; } /** * Define el valor de la propiedad gateID. * * @param value * allowed object is * {@link GateIDType } * */ public void setGateID(GateIDType value) { this.gateID = value; } /** * Obtiene el valor de la propiedad airFlowPercent. * * @return * possible object is * {@link AirFlowPercentType } * */ public AirFlowPercentType getAirFlowPercent() { return airFlowPercent; } /** * Define el valor de la propiedad airFlowPercent. * * @param value * allowed object is * {@link AirFlowPercentType } * */ public void setAirFlowPercent(AirFlowPercentType value) { this.airFlowPercent = value; } /** * Obtiene el valor de la propiedad humidityPercent. * * @return * possible object is * {@link HumidityPercentType } * */ public HumidityPercentType getHumidityPercent() { return humidityPercent; } /** * Define el valor de la propiedad humidityPercent. * * @param value * allowed object is * {@link HumidityPercentType } * */ public void setHumidityPercent(HumidityPercentType value) { this.humidityPercent = value; } /** * Obtiene el valor de la propiedad animalFoodApprovedIndicator. * * @return * possible object is * {@link AnimalFoodApprovedIndicatorType } * */ public AnimalFoodApprovedIndicatorType getAnimalFoodApprovedIndicator() { return animalFoodApprovedIndicator; } /** * Define el valor de la propiedad animalFoodApprovedIndicator. * * @param value * allowed object is * {@link AnimalFoodApprovedIndicatorType } * */ public void setAnimalFoodApprovedIndicator(AnimalFoodApprovedIndicatorType value) { this.animalFoodApprovedIndicator = value; } /** * Obtiene el valor de la propiedad humanFoodApprovedIndicator. * * @return * possible object is * {@link HumanFoodApprovedIndicatorType } * */ public HumanFoodApprovedIndicatorType getHumanFoodApprovedIndicator() { return humanFoodApprovedIndicator; } /** * Define el valor de la propiedad humanFoodApprovedIndicator. * * @param value * allowed object is * {@link HumanFoodApprovedIndicatorType } * */ public void setHumanFoodApprovedIndicator(HumanFoodApprovedIndicatorType value) { this.humanFoodApprovedIndicator = value; } /** * Obtiene el valor de la propiedad dangerousGoodsApprovedIndicator. * * @return * possible object is * {@link DangerousGoodsApprovedIndicatorType } * */ public DangerousGoodsApprovedIndicatorType getDangerousGoodsApprovedIndicator() { return dangerousGoodsApprovedIndicator; } /** * Define el valor de la propiedad dangerousGoodsApprovedIndicator. * * @param value * allowed object is * {@link DangerousGoodsApprovedIndicatorType } * */ public void setDangerousGoodsApprovedIndicator(DangerousGoodsApprovedIndicatorType value) { this.dangerousGoodsApprovedIndicator = value; } /** * Obtiene el valor de la propiedad refrigeratedIndicator. * * @return * possible object is * {@link RefrigeratedIndicatorType } * */ public RefrigeratedIndicatorType getRefrigeratedIndicator() { return refrigeratedIndicator; } /** * Define el valor de la propiedad refrigeratedIndicator. * * @param value * allowed object is * {@link RefrigeratedIndicatorType } * */ public void setRefrigeratedIndicator(RefrigeratedIndicatorType value) { this.refrigeratedIndicator = value; } /** * Obtiene el valor de la propiedad powerIndicator. * * @return * possible object is * {@link PowerIndicatorType } * */ public PowerIndicatorType getPowerIndicator() { return powerIndicator; } /** * Define el valor de la propiedad powerIndicator. * * @param value * allowed object is * {@link PowerIndicatorType } * */ public void setPowerIndicator(PowerIndicatorType value) { this.powerIndicator = value; } /** * Obtiene el valor de la propiedad minimumTemperature. * * @return * possible object is * {@link TemperatureType } * */ public TemperatureType getMinimumTemperature() { return minimumTemperature; } /** * Define el valor de la propiedad minimumTemperature. * * @param value * allowed object is * {@link TemperatureType } * */ public void setMinimumTemperature(TemperatureType value) { this.minimumTemperature = value; } /** * Obtiene el valor de la propiedad maximumTemperature. * * @return * possible object is * {@link TemperatureType } * */ public TemperatureType getMaximumTemperature() { return maximumTemperature; } /** * Define el valor de la propiedad maximumTemperature. * * @param value * allowed object is * {@link TemperatureType } * */ public void setMaximumTemperature(TemperatureType value) { this.maximumTemperature = value; } /** * Gets the value of the certificate 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 certificate property. * *

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

     *    getCertificate().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CertificateType } * * */ public List getCertificate() { if (certificate == null) { certificate = new ArrayList(); } return this.certificate; } 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)); } { NameType theName; theName = this.getName(); strategy.appendField(locator, this, "name", buffer, theName, (this.name!= null)); } { GateIDType theGateID; theGateID = this.getGateID(); strategy.appendField(locator, this, "gateID", buffer, theGateID, (this.gateID!= null)); } { AirFlowPercentType theAirFlowPercent; theAirFlowPercent = this.getAirFlowPercent(); strategy.appendField(locator, this, "airFlowPercent", buffer, theAirFlowPercent, (this.airFlowPercent!= null)); } { HumidityPercentType theHumidityPercent; theHumidityPercent = this.getHumidityPercent(); strategy.appendField(locator, this, "humidityPercent", buffer, theHumidityPercent, (this.humidityPercent!= null)); } { AnimalFoodApprovedIndicatorType theAnimalFoodApprovedIndicator; theAnimalFoodApprovedIndicator = this.getAnimalFoodApprovedIndicator(); strategy.appendField(locator, this, "animalFoodApprovedIndicator", buffer, theAnimalFoodApprovedIndicator, (this.animalFoodApprovedIndicator!= null)); } { HumanFoodApprovedIndicatorType theHumanFoodApprovedIndicator; theHumanFoodApprovedIndicator = this.getHumanFoodApprovedIndicator(); strategy.appendField(locator, this, "humanFoodApprovedIndicator", buffer, theHumanFoodApprovedIndicator, (this.humanFoodApprovedIndicator!= null)); } { DangerousGoodsApprovedIndicatorType theDangerousGoodsApprovedIndicator; theDangerousGoodsApprovedIndicator = this.getDangerousGoodsApprovedIndicator(); strategy.appendField(locator, this, "dangerousGoodsApprovedIndicator", buffer, theDangerousGoodsApprovedIndicator, (this.dangerousGoodsApprovedIndicator!= null)); } { RefrigeratedIndicatorType theRefrigeratedIndicator; theRefrigeratedIndicator = this.getRefrigeratedIndicator(); strategy.appendField(locator, this, "refrigeratedIndicator", buffer, theRefrigeratedIndicator, (this.refrigeratedIndicator!= null)); } { PowerIndicatorType thePowerIndicator; thePowerIndicator = this.getPowerIndicator(); strategy.appendField(locator, this, "powerIndicator", buffer, thePowerIndicator, (this.powerIndicator!= null)); } { TemperatureType theMinimumTemperature; theMinimumTemperature = this.getMinimumTemperature(); strategy.appendField(locator, this, "minimumTemperature", buffer, theMinimumTemperature, (this.minimumTemperature!= null)); } { TemperatureType theMaximumTemperature; theMaximumTemperature = this.getMaximumTemperature(); strategy.appendField(locator, this, "maximumTemperature", buffer, theMaximumTemperature, (this.maximumTemperature!= null)); } { List theCertificate; theCertificate = (((this.certificate!= null)&&(!this.certificate.isEmpty()))?this.getCertificate():null); strategy.appendField(locator, this, "certificate", buffer, theCertificate, ((this.certificate!= null)&&(!this.certificate.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 StorageType that = ((StorageType) 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; } } { NameType lhsName; lhsName = this.getName(); NameType rhsName; rhsName = that.getName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName, (this.name!= null), (that.name!= null))) { return false; } } { GateIDType lhsGateID; lhsGateID = this.getGateID(); GateIDType rhsGateID; rhsGateID = that.getGateID(); if (!strategy.equals(LocatorUtils.property(thisLocator, "gateID", lhsGateID), LocatorUtils.property(thatLocator, "gateID", rhsGateID), lhsGateID, rhsGateID, (this.gateID!= null), (that.gateID!= null))) { return false; } } { AirFlowPercentType lhsAirFlowPercent; lhsAirFlowPercent = this.getAirFlowPercent(); AirFlowPercentType rhsAirFlowPercent; rhsAirFlowPercent = that.getAirFlowPercent(); if (!strategy.equals(LocatorUtils.property(thisLocator, "airFlowPercent", lhsAirFlowPercent), LocatorUtils.property(thatLocator, "airFlowPercent", rhsAirFlowPercent), lhsAirFlowPercent, rhsAirFlowPercent, (this.airFlowPercent!= null), (that.airFlowPercent!= null))) { return false; } } { HumidityPercentType lhsHumidityPercent; lhsHumidityPercent = this.getHumidityPercent(); HumidityPercentType rhsHumidityPercent; rhsHumidityPercent = that.getHumidityPercent(); if (!strategy.equals(LocatorUtils.property(thisLocator, "humidityPercent", lhsHumidityPercent), LocatorUtils.property(thatLocator, "humidityPercent", rhsHumidityPercent), lhsHumidityPercent, rhsHumidityPercent, (this.humidityPercent!= null), (that.humidityPercent!= null))) { return false; } } { AnimalFoodApprovedIndicatorType lhsAnimalFoodApprovedIndicator; lhsAnimalFoodApprovedIndicator = this.getAnimalFoodApprovedIndicator(); AnimalFoodApprovedIndicatorType rhsAnimalFoodApprovedIndicator; rhsAnimalFoodApprovedIndicator = that.getAnimalFoodApprovedIndicator(); if (!strategy.equals(LocatorUtils.property(thisLocator, "animalFoodApprovedIndicator", lhsAnimalFoodApprovedIndicator), LocatorUtils.property(thatLocator, "animalFoodApprovedIndicator", rhsAnimalFoodApprovedIndicator), lhsAnimalFoodApprovedIndicator, rhsAnimalFoodApprovedIndicator, (this.animalFoodApprovedIndicator!= null), (that.animalFoodApprovedIndicator!= null))) { return false; } } { HumanFoodApprovedIndicatorType lhsHumanFoodApprovedIndicator; lhsHumanFoodApprovedIndicator = this.getHumanFoodApprovedIndicator(); HumanFoodApprovedIndicatorType rhsHumanFoodApprovedIndicator; rhsHumanFoodApprovedIndicator = that.getHumanFoodApprovedIndicator(); if (!strategy.equals(LocatorUtils.property(thisLocator, "humanFoodApprovedIndicator", lhsHumanFoodApprovedIndicator), LocatorUtils.property(thatLocator, "humanFoodApprovedIndicator", rhsHumanFoodApprovedIndicator), lhsHumanFoodApprovedIndicator, rhsHumanFoodApprovedIndicator, (this.humanFoodApprovedIndicator!= null), (that.humanFoodApprovedIndicator!= null))) { return false; } } { DangerousGoodsApprovedIndicatorType lhsDangerousGoodsApprovedIndicator; lhsDangerousGoodsApprovedIndicator = this.getDangerousGoodsApprovedIndicator(); DangerousGoodsApprovedIndicatorType rhsDangerousGoodsApprovedIndicator; rhsDangerousGoodsApprovedIndicator = that.getDangerousGoodsApprovedIndicator(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dangerousGoodsApprovedIndicator", lhsDangerousGoodsApprovedIndicator), LocatorUtils.property(thatLocator, "dangerousGoodsApprovedIndicator", rhsDangerousGoodsApprovedIndicator), lhsDangerousGoodsApprovedIndicator, rhsDangerousGoodsApprovedIndicator, (this.dangerousGoodsApprovedIndicator!= null), (that.dangerousGoodsApprovedIndicator!= null))) { return false; } } { RefrigeratedIndicatorType lhsRefrigeratedIndicator; lhsRefrigeratedIndicator = this.getRefrigeratedIndicator(); RefrigeratedIndicatorType rhsRefrigeratedIndicator; rhsRefrigeratedIndicator = that.getRefrigeratedIndicator(); if (!strategy.equals(LocatorUtils.property(thisLocator, "refrigeratedIndicator", lhsRefrigeratedIndicator), LocatorUtils.property(thatLocator, "refrigeratedIndicator", rhsRefrigeratedIndicator), lhsRefrigeratedIndicator, rhsRefrigeratedIndicator, (this.refrigeratedIndicator!= null), (that.refrigeratedIndicator!= null))) { return false; } } { PowerIndicatorType lhsPowerIndicator; lhsPowerIndicator = this.getPowerIndicator(); PowerIndicatorType rhsPowerIndicator; rhsPowerIndicator = that.getPowerIndicator(); if (!strategy.equals(LocatorUtils.property(thisLocator, "powerIndicator", lhsPowerIndicator), LocatorUtils.property(thatLocator, "powerIndicator", rhsPowerIndicator), lhsPowerIndicator, rhsPowerIndicator, (this.powerIndicator!= null), (that.powerIndicator!= null))) { return false; } } { TemperatureType lhsMinimumTemperature; lhsMinimumTemperature = this.getMinimumTemperature(); TemperatureType rhsMinimumTemperature; rhsMinimumTemperature = that.getMinimumTemperature(); if (!strategy.equals(LocatorUtils.property(thisLocator, "minimumTemperature", lhsMinimumTemperature), LocatorUtils.property(thatLocator, "minimumTemperature", rhsMinimumTemperature), lhsMinimumTemperature, rhsMinimumTemperature, (this.minimumTemperature!= null), (that.minimumTemperature!= null))) { return false; } } { TemperatureType lhsMaximumTemperature; lhsMaximumTemperature = this.getMaximumTemperature(); TemperatureType rhsMaximumTemperature; rhsMaximumTemperature = that.getMaximumTemperature(); if (!strategy.equals(LocatorUtils.property(thisLocator, "maximumTemperature", lhsMaximumTemperature), LocatorUtils.property(thatLocator, "maximumTemperature", rhsMaximumTemperature), lhsMaximumTemperature, rhsMaximumTemperature, (this.maximumTemperature!= null), (that.maximumTemperature!= null))) { return false; } } { List lhsCertificate; lhsCertificate = (((this.certificate!= null)&&(!this.certificate.isEmpty()))?this.getCertificate():null); List rhsCertificate; rhsCertificate = (((that.certificate!= null)&&(!that.certificate.isEmpty()))?that.getCertificate():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "certificate", lhsCertificate), LocatorUtils.property(thatLocator, "certificate", rhsCertificate), lhsCertificate, rhsCertificate, ((this.certificate!= null)&&(!this.certificate.isEmpty())), ((that.certificate!= null)&&(!that.certificate.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)); } { NameType theName; theName = this.getName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName, (this.name!= null)); } { GateIDType theGateID; theGateID = this.getGateID(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "gateID", theGateID), currentHashCode, theGateID, (this.gateID!= null)); } { AirFlowPercentType theAirFlowPercent; theAirFlowPercent = this.getAirFlowPercent(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "airFlowPercent", theAirFlowPercent), currentHashCode, theAirFlowPercent, (this.airFlowPercent!= null)); } { HumidityPercentType theHumidityPercent; theHumidityPercent = this.getHumidityPercent(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "humidityPercent", theHumidityPercent), currentHashCode, theHumidityPercent, (this.humidityPercent!= null)); } { AnimalFoodApprovedIndicatorType theAnimalFoodApprovedIndicator; theAnimalFoodApprovedIndicator = this.getAnimalFoodApprovedIndicator(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "animalFoodApprovedIndicator", theAnimalFoodApprovedIndicator), currentHashCode, theAnimalFoodApprovedIndicator, (this.animalFoodApprovedIndicator!= null)); } { HumanFoodApprovedIndicatorType theHumanFoodApprovedIndicator; theHumanFoodApprovedIndicator = this.getHumanFoodApprovedIndicator(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "humanFoodApprovedIndicator", theHumanFoodApprovedIndicator), currentHashCode, theHumanFoodApprovedIndicator, (this.humanFoodApprovedIndicator!= null)); } { DangerousGoodsApprovedIndicatorType theDangerousGoodsApprovedIndicator; theDangerousGoodsApprovedIndicator = this.getDangerousGoodsApprovedIndicator(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dangerousGoodsApprovedIndicator", theDangerousGoodsApprovedIndicator), currentHashCode, theDangerousGoodsApprovedIndicator, (this.dangerousGoodsApprovedIndicator!= null)); } { RefrigeratedIndicatorType theRefrigeratedIndicator; theRefrigeratedIndicator = this.getRefrigeratedIndicator(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "refrigeratedIndicator", theRefrigeratedIndicator), currentHashCode, theRefrigeratedIndicator, (this.refrigeratedIndicator!= null)); } { PowerIndicatorType thePowerIndicator; thePowerIndicator = this.getPowerIndicator(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "powerIndicator", thePowerIndicator), currentHashCode, thePowerIndicator, (this.powerIndicator!= null)); } { TemperatureType theMinimumTemperature; theMinimumTemperature = this.getMinimumTemperature(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "minimumTemperature", theMinimumTemperature), currentHashCode, theMinimumTemperature, (this.minimumTemperature!= null)); } { TemperatureType theMaximumTemperature; theMaximumTemperature = this.getMaximumTemperature(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maximumTemperature", theMaximumTemperature), currentHashCode, theMaximumTemperature, (this.maximumTemperature!= null)); } { List theCertificate; theCertificate = (((this.certificate!= null)&&(!this.certificate.isEmpty()))?this.getCertificate():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "certificate", theCertificate), currentHashCode, theCertificate, ((this.certificate!= null)&&(!this.certificate.isEmpty()))); } return currentHashCode; } public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy