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

oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.ConsumptionReportType 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.BasicConsumedQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ConsumersEnergyLevelCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ConsumersEnergyLevelType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ConsumptionTypeCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ConsumptionTypeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DescriptionType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.HeatingTypeCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.HeatingTypeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ResidenceTypeCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ResidenceTypeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ResidentOccupantsNumericType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TotalConsumedQuantityType;
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 ConsumptionReportType complex type. * *

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

 * <complexType name="ConsumptionReportType">
 *   <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}ConsumptionType" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ConsumptionTypeCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Description" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TotalConsumedQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}BasicConsumedQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ResidentOccupantsNumeric" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ConsumersEnergyLevelCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ConsumersEnergyLevel" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ResidenceType" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ResidenceTypeCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}HeatingType" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}HeatingTypeCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Period" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}GuidanceDocumentReference" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DocumentReference" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ConsumptionReportReference" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ConsumptionHistory" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ConsumptionReportType", propOrder = { "ublExtensions", "id", "consumptionType", "consumptionTypeCode", "description", "totalConsumedQuantity", "basicConsumedQuantity", "residentOccupantsNumeric", "consumersEnergyLevelCode", "consumersEnergyLevel", "residenceType", "residenceTypeCode", "heatingType", "heatingTypeCode", "period", "guidanceDocumentReference", "documentReference", "consumptionReportReference", "consumptionHistory" }) public class ConsumptionReportType 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 = "ConsumptionType", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ConsumptionTypeType consumptionType; @XmlElement(name = "ConsumptionTypeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ConsumptionTypeCodeType consumptionTypeCode; @XmlElement(name = "Description", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List description; @XmlElement(name = "TotalConsumedQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected TotalConsumedQuantityType totalConsumedQuantity; @XmlElement(name = "BasicConsumedQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected BasicConsumedQuantityType basicConsumedQuantity; @XmlElement(name = "ResidentOccupantsNumeric", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ResidentOccupantsNumericType residentOccupantsNumeric; @XmlElement(name = "ConsumersEnergyLevelCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ConsumersEnergyLevelCodeType consumersEnergyLevelCode; @XmlElement(name = "ConsumersEnergyLevel", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ConsumersEnergyLevelType consumersEnergyLevel; @XmlElement(name = "ResidenceType", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ResidenceTypeType residenceType; @XmlElement(name = "ResidenceTypeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ResidenceTypeCodeType residenceTypeCode; @XmlElement(name = "HeatingType", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected HeatingTypeType heatingType; @XmlElement(name = "HeatingTypeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected HeatingTypeCodeType heatingTypeCode; @XmlElement(name = "Period") protected PeriodType period; @XmlElement(name = "GuidanceDocumentReference") protected DocumentReferenceType guidanceDocumentReference; @XmlElement(name = "DocumentReference") protected DocumentReferenceType documentReference; @XmlElement(name = "ConsumptionReportReference") protected List consumptionReportReference; @XmlElement(name = "ConsumptionHistory") protected List consumptionHistory; /** * 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 consumptionType. * * @return * possible object is * {@link ConsumptionTypeType } * */ public ConsumptionTypeType getConsumptionType() { return consumptionType; } /** * Define el valor de la propiedad consumptionType. * * @param value * allowed object is * {@link ConsumptionTypeType } * */ public void setConsumptionType(ConsumptionTypeType value) { this.consumptionType = value; } /** * Obtiene el valor de la propiedad consumptionTypeCode. * * @return * possible object is * {@link ConsumptionTypeCodeType } * */ public ConsumptionTypeCodeType getConsumptionTypeCode() { return consumptionTypeCode; } /** * Define el valor de la propiedad consumptionTypeCode. * * @param value * allowed object is * {@link ConsumptionTypeCodeType } * */ public void setConsumptionTypeCode(ConsumptionTypeCodeType value) { this.consumptionTypeCode = value; } /** * Gets the value of the description 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 description property. * *

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

     *    getDescription().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DescriptionType } * * */ public List getDescription() { if (description == null) { description = new ArrayList(); } return this.description; } /** * Obtiene el valor de la propiedad totalConsumedQuantity. * * @return * possible object is * {@link TotalConsumedQuantityType } * */ public TotalConsumedQuantityType getTotalConsumedQuantity() { return totalConsumedQuantity; } /** * Define el valor de la propiedad totalConsumedQuantity. * * @param value * allowed object is * {@link TotalConsumedQuantityType } * */ public void setTotalConsumedQuantity(TotalConsumedQuantityType value) { this.totalConsumedQuantity = value; } /** * Obtiene el valor de la propiedad basicConsumedQuantity. * * @return * possible object is * {@link BasicConsumedQuantityType } * */ public BasicConsumedQuantityType getBasicConsumedQuantity() { return basicConsumedQuantity; } /** * Define el valor de la propiedad basicConsumedQuantity. * * @param value * allowed object is * {@link BasicConsumedQuantityType } * */ public void setBasicConsumedQuantity(BasicConsumedQuantityType value) { this.basicConsumedQuantity = value; } /** * Obtiene el valor de la propiedad residentOccupantsNumeric. * * @return * possible object is * {@link ResidentOccupantsNumericType } * */ public ResidentOccupantsNumericType getResidentOccupantsNumeric() { return residentOccupantsNumeric; } /** * Define el valor de la propiedad residentOccupantsNumeric. * * @param value * allowed object is * {@link ResidentOccupantsNumericType } * */ public void setResidentOccupantsNumeric(ResidentOccupantsNumericType value) { this.residentOccupantsNumeric = value; } /** * Obtiene el valor de la propiedad consumersEnergyLevelCode. * * @return * possible object is * {@link ConsumersEnergyLevelCodeType } * */ public ConsumersEnergyLevelCodeType getConsumersEnergyLevelCode() { return consumersEnergyLevelCode; } /** * Define el valor de la propiedad consumersEnergyLevelCode. * * @param value * allowed object is * {@link ConsumersEnergyLevelCodeType } * */ public void setConsumersEnergyLevelCode(ConsumersEnergyLevelCodeType value) { this.consumersEnergyLevelCode = value; } /** * Obtiene el valor de la propiedad consumersEnergyLevel. * * @return * possible object is * {@link ConsumersEnergyLevelType } * */ public ConsumersEnergyLevelType getConsumersEnergyLevel() { return consumersEnergyLevel; } /** * Define el valor de la propiedad consumersEnergyLevel. * * @param value * allowed object is * {@link ConsumersEnergyLevelType } * */ public void setConsumersEnergyLevel(ConsumersEnergyLevelType value) { this.consumersEnergyLevel = value; } /** * Obtiene el valor de la propiedad residenceType. * * @return * possible object is * {@link ResidenceTypeType } * */ public ResidenceTypeType getResidenceType() { return residenceType; } /** * Define el valor de la propiedad residenceType. * * @param value * allowed object is * {@link ResidenceTypeType } * */ public void setResidenceType(ResidenceTypeType value) { this.residenceType = value; } /** * Obtiene el valor de la propiedad residenceTypeCode. * * @return * possible object is * {@link ResidenceTypeCodeType } * */ public ResidenceTypeCodeType getResidenceTypeCode() { return residenceTypeCode; } /** * Define el valor de la propiedad residenceTypeCode. * * @param value * allowed object is * {@link ResidenceTypeCodeType } * */ public void setResidenceTypeCode(ResidenceTypeCodeType value) { this.residenceTypeCode = value; } /** * Obtiene el valor de la propiedad heatingType. * * @return * possible object is * {@link HeatingTypeType } * */ public HeatingTypeType getHeatingType() { return heatingType; } /** * Define el valor de la propiedad heatingType. * * @param value * allowed object is * {@link HeatingTypeType } * */ public void setHeatingType(HeatingTypeType value) { this.heatingType = value; } /** * Obtiene el valor de la propiedad heatingTypeCode. * * @return * possible object is * {@link HeatingTypeCodeType } * */ public HeatingTypeCodeType getHeatingTypeCode() { return heatingTypeCode; } /** * Define el valor de la propiedad heatingTypeCode. * * @param value * allowed object is * {@link HeatingTypeCodeType } * */ public void setHeatingTypeCode(HeatingTypeCodeType value) { this.heatingTypeCode = value; } /** * Obtiene el valor de la propiedad period. * * @return * possible object is * {@link PeriodType } * */ public PeriodType getPeriod() { return period; } /** * Define el valor de la propiedad period. * * @param value * allowed object is * {@link PeriodType } * */ public void setPeriod(PeriodType value) { this.period = value; } /** * Obtiene el valor de la propiedad guidanceDocumentReference. * * @return * possible object is * {@link DocumentReferenceType } * */ public DocumentReferenceType getGuidanceDocumentReference() { return guidanceDocumentReference; } /** * Define el valor de la propiedad guidanceDocumentReference. * * @param value * allowed object is * {@link DocumentReferenceType } * */ public void setGuidanceDocumentReference(DocumentReferenceType value) { this.guidanceDocumentReference = value; } /** * Obtiene el valor de la propiedad documentReference. * * @return * possible object is * {@link DocumentReferenceType } * */ public DocumentReferenceType getDocumentReference() { return documentReference; } /** * Define el valor de la propiedad documentReference. * * @param value * allowed object is * {@link DocumentReferenceType } * */ public void setDocumentReference(DocumentReferenceType value) { this.documentReference = value; } /** * Gets the value of the consumptionReportReference 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 consumptionReportReference property. * *

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

     *    getConsumptionReportReference().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ConsumptionReportReferenceType } * * */ public List getConsumptionReportReference() { if (consumptionReportReference == null) { consumptionReportReference = new ArrayList(); } return this.consumptionReportReference; } /** * Gets the value of the consumptionHistory 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 consumptionHistory property. * *

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

     *    getConsumptionHistory().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ConsumptionHistoryType } * * */ public List getConsumptionHistory() { if (consumptionHistory == null) { consumptionHistory = new ArrayList(); } return this.consumptionHistory; } 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)); } { ConsumptionTypeType theConsumptionType; theConsumptionType = this.getConsumptionType(); strategy.appendField(locator, this, "consumptionType", buffer, theConsumptionType, (this.consumptionType!= null)); } { ConsumptionTypeCodeType theConsumptionTypeCode; theConsumptionTypeCode = this.getConsumptionTypeCode(); strategy.appendField(locator, this, "consumptionTypeCode", buffer, theConsumptionTypeCode, (this.consumptionTypeCode!= null)); } { List theDescription; theDescription = (((this.description!= null)&&(!this.description.isEmpty()))?this.getDescription():null); strategy.appendField(locator, this, "description", buffer, theDescription, ((this.description!= null)&&(!this.description.isEmpty()))); } { TotalConsumedQuantityType theTotalConsumedQuantity; theTotalConsumedQuantity = this.getTotalConsumedQuantity(); strategy.appendField(locator, this, "totalConsumedQuantity", buffer, theTotalConsumedQuantity, (this.totalConsumedQuantity!= null)); } { BasicConsumedQuantityType theBasicConsumedQuantity; theBasicConsumedQuantity = this.getBasicConsumedQuantity(); strategy.appendField(locator, this, "basicConsumedQuantity", buffer, theBasicConsumedQuantity, (this.basicConsumedQuantity!= null)); } { ResidentOccupantsNumericType theResidentOccupantsNumeric; theResidentOccupantsNumeric = this.getResidentOccupantsNumeric(); strategy.appendField(locator, this, "residentOccupantsNumeric", buffer, theResidentOccupantsNumeric, (this.residentOccupantsNumeric!= null)); } { ConsumersEnergyLevelCodeType theConsumersEnergyLevelCode; theConsumersEnergyLevelCode = this.getConsumersEnergyLevelCode(); strategy.appendField(locator, this, "consumersEnergyLevelCode", buffer, theConsumersEnergyLevelCode, (this.consumersEnergyLevelCode!= null)); } { ConsumersEnergyLevelType theConsumersEnergyLevel; theConsumersEnergyLevel = this.getConsumersEnergyLevel(); strategy.appendField(locator, this, "consumersEnergyLevel", buffer, theConsumersEnergyLevel, (this.consumersEnergyLevel!= null)); } { ResidenceTypeType theResidenceType; theResidenceType = this.getResidenceType(); strategy.appendField(locator, this, "residenceType", buffer, theResidenceType, (this.residenceType!= null)); } { ResidenceTypeCodeType theResidenceTypeCode; theResidenceTypeCode = this.getResidenceTypeCode(); strategy.appendField(locator, this, "residenceTypeCode", buffer, theResidenceTypeCode, (this.residenceTypeCode!= null)); } { HeatingTypeType theHeatingType; theHeatingType = this.getHeatingType(); strategy.appendField(locator, this, "heatingType", buffer, theHeatingType, (this.heatingType!= null)); } { HeatingTypeCodeType theHeatingTypeCode; theHeatingTypeCode = this.getHeatingTypeCode(); strategy.appendField(locator, this, "heatingTypeCode", buffer, theHeatingTypeCode, (this.heatingTypeCode!= null)); } { PeriodType thePeriod; thePeriod = this.getPeriod(); strategy.appendField(locator, this, "period", buffer, thePeriod, (this.period!= null)); } { DocumentReferenceType theGuidanceDocumentReference; theGuidanceDocumentReference = this.getGuidanceDocumentReference(); strategy.appendField(locator, this, "guidanceDocumentReference", buffer, theGuidanceDocumentReference, (this.guidanceDocumentReference!= null)); } { DocumentReferenceType theDocumentReference; theDocumentReference = this.getDocumentReference(); strategy.appendField(locator, this, "documentReference", buffer, theDocumentReference, (this.documentReference!= null)); } { List theConsumptionReportReference; theConsumptionReportReference = (((this.consumptionReportReference!= null)&&(!this.consumptionReportReference.isEmpty()))?this.getConsumptionReportReference():null); strategy.appendField(locator, this, "consumptionReportReference", buffer, theConsumptionReportReference, ((this.consumptionReportReference!= null)&&(!this.consumptionReportReference.isEmpty()))); } { List theConsumptionHistory; theConsumptionHistory = (((this.consumptionHistory!= null)&&(!this.consumptionHistory.isEmpty()))?this.getConsumptionHistory():null); strategy.appendField(locator, this, "consumptionHistory", buffer, theConsumptionHistory, ((this.consumptionHistory!= null)&&(!this.consumptionHistory.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 ConsumptionReportType that = ((ConsumptionReportType) 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; } } { ConsumptionTypeType lhsConsumptionType; lhsConsumptionType = this.getConsumptionType(); ConsumptionTypeType rhsConsumptionType; rhsConsumptionType = that.getConsumptionType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "consumptionType", lhsConsumptionType), LocatorUtils.property(thatLocator, "consumptionType", rhsConsumptionType), lhsConsumptionType, rhsConsumptionType, (this.consumptionType!= null), (that.consumptionType!= null))) { return false; } } { ConsumptionTypeCodeType lhsConsumptionTypeCode; lhsConsumptionTypeCode = this.getConsumptionTypeCode(); ConsumptionTypeCodeType rhsConsumptionTypeCode; rhsConsumptionTypeCode = that.getConsumptionTypeCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "consumptionTypeCode", lhsConsumptionTypeCode), LocatorUtils.property(thatLocator, "consumptionTypeCode", rhsConsumptionTypeCode), lhsConsumptionTypeCode, rhsConsumptionTypeCode, (this.consumptionTypeCode!= null), (that.consumptionTypeCode!= null))) { return false; } } { List lhsDescription; lhsDescription = (((this.description!= null)&&(!this.description.isEmpty()))?this.getDescription():null); List rhsDescription; rhsDescription = (((that.description!= null)&&(!that.description.isEmpty()))?that.getDescription():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "description", lhsDescription), LocatorUtils.property(thatLocator, "description", rhsDescription), lhsDescription, rhsDescription, ((this.description!= null)&&(!this.description.isEmpty())), ((that.description!= null)&&(!that.description.isEmpty())))) { return false; } } { TotalConsumedQuantityType lhsTotalConsumedQuantity; lhsTotalConsumedQuantity = this.getTotalConsumedQuantity(); TotalConsumedQuantityType rhsTotalConsumedQuantity; rhsTotalConsumedQuantity = that.getTotalConsumedQuantity(); if (!strategy.equals(LocatorUtils.property(thisLocator, "totalConsumedQuantity", lhsTotalConsumedQuantity), LocatorUtils.property(thatLocator, "totalConsumedQuantity", rhsTotalConsumedQuantity), lhsTotalConsumedQuantity, rhsTotalConsumedQuantity, (this.totalConsumedQuantity!= null), (that.totalConsumedQuantity!= null))) { return false; } } { BasicConsumedQuantityType lhsBasicConsumedQuantity; lhsBasicConsumedQuantity = this.getBasicConsumedQuantity(); BasicConsumedQuantityType rhsBasicConsumedQuantity; rhsBasicConsumedQuantity = that.getBasicConsumedQuantity(); if (!strategy.equals(LocatorUtils.property(thisLocator, "basicConsumedQuantity", lhsBasicConsumedQuantity), LocatorUtils.property(thatLocator, "basicConsumedQuantity", rhsBasicConsumedQuantity), lhsBasicConsumedQuantity, rhsBasicConsumedQuantity, (this.basicConsumedQuantity!= null), (that.basicConsumedQuantity!= null))) { return false; } } { ResidentOccupantsNumericType lhsResidentOccupantsNumeric; lhsResidentOccupantsNumeric = this.getResidentOccupantsNumeric(); ResidentOccupantsNumericType rhsResidentOccupantsNumeric; rhsResidentOccupantsNumeric = that.getResidentOccupantsNumeric(); if (!strategy.equals(LocatorUtils.property(thisLocator, "residentOccupantsNumeric", lhsResidentOccupantsNumeric), LocatorUtils.property(thatLocator, "residentOccupantsNumeric", rhsResidentOccupantsNumeric), lhsResidentOccupantsNumeric, rhsResidentOccupantsNumeric, (this.residentOccupantsNumeric!= null), (that.residentOccupantsNumeric!= null))) { return false; } } { ConsumersEnergyLevelCodeType lhsConsumersEnergyLevelCode; lhsConsumersEnergyLevelCode = this.getConsumersEnergyLevelCode(); ConsumersEnergyLevelCodeType rhsConsumersEnergyLevelCode; rhsConsumersEnergyLevelCode = that.getConsumersEnergyLevelCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "consumersEnergyLevelCode", lhsConsumersEnergyLevelCode), LocatorUtils.property(thatLocator, "consumersEnergyLevelCode", rhsConsumersEnergyLevelCode), lhsConsumersEnergyLevelCode, rhsConsumersEnergyLevelCode, (this.consumersEnergyLevelCode!= null), (that.consumersEnergyLevelCode!= null))) { return false; } } { ConsumersEnergyLevelType lhsConsumersEnergyLevel; lhsConsumersEnergyLevel = this.getConsumersEnergyLevel(); ConsumersEnergyLevelType rhsConsumersEnergyLevel; rhsConsumersEnergyLevel = that.getConsumersEnergyLevel(); if (!strategy.equals(LocatorUtils.property(thisLocator, "consumersEnergyLevel", lhsConsumersEnergyLevel), LocatorUtils.property(thatLocator, "consumersEnergyLevel", rhsConsumersEnergyLevel), lhsConsumersEnergyLevel, rhsConsumersEnergyLevel, (this.consumersEnergyLevel!= null), (that.consumersEnergyLevel!= null))) { return false; } } { ResidenceTypeType lhsResidenceType; lhsResidenceType = this.getResidenceType(); ResidenceTypeType rhsResidenceType; rhsResidenceType = that.getResidenceType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "residenceType", lhsResidenceType), LocatorUtils.property(thatLocator, "residenceType", rhsResidenceType), lhsResidenceType, rhsResidenceType, (this.residenceType!= null), (that.residenceType!= null))) { return false; } } { ResidenceTypeCodeType lhsResidenceTypeCode; lhsResidenceTypeCode = this.getResidenceTypeCode(); ResidenceTypeCodeType rhsResidenceTypeCode; rhsResidenceTypeCode = that.getResidenceTypeCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "residenceTypeCode", lhsResidenceTypeCode), LocatorUtils.property(thatLocator, "residenceTypeCode", rhsResidenceTypeCode), lhsResidenceTypeCode, rhsResidenceTypeCode, (this.residenceTypeCode!= null), (that.residenceTypeCode!= null))) { return false; } } { HeatingTypeType lhsHeatingType; lhsHeatingType = this.getHeatingType(); HeatingTypeType rhsHeatingType; rhsHeatingType = that.getHeatingType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "heatingType", lhsHeatingType), LocatorUtils.property(thatLocator, "heatingType", rhsHeatingType), lhsHeatingType, rhsHeatingType, (this.heatingType!= null), (that.heatingType!= null))) { return false; } } { HeatingTypeCodeType lhsHeatingTypeCode; lhsHeatingTypeCode = this.getHeatingTypeCode(); HeatingTypeCodeType rhsHeatingTypeCode; rhsHeatingTypeCode = that.getHeatingTypeCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "heatingTypeCode", lhsHeatingTypeCode), LocatorUtils.property(thatLocator, "heatingTypeCode", rhsHeatingTypeCode), lhsHeatingTypeCode, rhsHeatingTypeCode, (this.heatingTypeCode!= null), (that.heatingTypeCode!= null))) { return false; } } { PeriodType lhsPeriod; lhsPeriod = this.getPeriod(); PeriodType rhsPeriod; rhsPeriod = that.getPeriod(); if (!strategy.equals(LocatorUtils.property(thisLocator, "period", lhsPeriod), LocatorUtils.property(thatLocator, "period", rhsPeriod), lhsPeriod, rhsPeriod, (this.period!= null), (that.period!= null))) { return false; } } { DocumentReferenceType lhsGuidanceDocumentReference; lhsGuidanceDocumentReference = this.getGuidanceDocumentReference(); DocumentReferenceType rhsGuidanceDocumentReference; rhsGuidanceDocumentReference = that.getGuidanceDocumentReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "guidanceDocumentReference", lhsGuidanceDocumentReference), LocatorUtils.property(thatLocator, "guidanceDocumentReference", rhsGuidanceDocumentReference), lhsGuidanceDocumentReference, rhsGuidanceDocumentReference, (this.guidanceDocumentReference!= null), (that.guidanceDocumentReference!= null))) { return false; } } { DocumentReferenceType lhsDocumentReference; lhsDocumentReference = this.getDocumentReference(); DocumentReferenceType rhsDocumentReference; rhsDocumentReference = that.getDocumentReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "documentReference", lhsDocumentReference), LocatorUtils.property(thatLocator, "documentReference", rhsDocumentReference), lhsDocumentReference, rhsDocumentReference, (this.documentReference!= null), (that.documentReference!= null))) { return false; } } { List lhsConsumptionReportReference; lhsConsumptionReportReference = (((this.consumptionReportReference!= null)&&(!this.consumptionReportReference.isEmpty()))?this.getConsumptionReportReference():null); List rhsConsumptionReportReference; rhsConsumptionReportReference = (((that.consumptionReportReference!= null)&&(!that.consumptionReportReference.isEmpty()))?that.getConsumptionReportReference():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "consumptionReportReference", lhsConsumptionReportReference), LocatorUtils.property(thatLocator, "consumptionReportReference", rhsConsumptionReportReference), lhsConsumptionReportReference, rhsConsumptionReportReference, ((this.consumptionReportReference!= null)&&(!this.consumptionReportReference.isEmpty())), ((that.consumptionReportReference!= null)&&(!that.consumptionReportReference.isEmpty())))) { return false; } } { List lhsConsumptionHistory; lhsConsumptionHistory = (((this.consumptionHistory!= null)&&(!this.consumptionHistory.isEmpty()))?this.getConsumptionHistory():null); List rhsConsumptionHistory; rhsConsumptionHistory = (((that.consumptionHistory!= null)&&(!that.consumptionHistory.isEmpty()))?that.getConsumptionHistory():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "consumptionHistory", lhsConsumptionHistory), LocatorUtils.property(thatLocator, "consumptionHistory", rhsConsumptionHistory), lhsConsumptionHistory, rhsConsumptionHistory, ((this.consumptionHistory!= null)&&(!this.consumptionHistory.isEmpty())), ((that.consumptionHistory!= null)&&(!that.consumptionHistory.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)); } { ConsumptionTypeType theConsumptionType; theConsumptionType = this.getConsumptionType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "consumptionType", theConsumptionType), currentHashCode, theConsumptionType, (this.consumptionType!= null)); } { ConsumptionTypeCodeType theConsumptionTypeCode; theConsumptionTypeCode = this.getConsumptionTypeCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "consumptionTypeCode", theConsumptionTypeCode), currentHashCode, theConsumptionTypeCode, (this.consumptionTypeCode!= null)); } { List theDescription; theDescription = (((this.description!= null)&&(!this.description.isEmpty()))?this.getDescription():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "description", theDescription), currentHashCode, theDescription, ((this.description!= null)&&(!this.description.isEmpty()))); } { TotalConsumedQuantityType theTotalConsumedQuantity; theTotalConsumedQuantity = this.getTotalConsumedQuantity(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "totalConsumedQuantity", theTotalConsumedQuantity), currentHashCode, theTotalConsumedQuantity, (this.totalConsumedQuantity!= null)); } { BasicConsumedQuantityType theBasicConsumedQuantity; theBasicConsumedQuantity = this.getBasicConsumedQuantity(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "basicConsumedQuantity", theBasicConsumedQuantity), currentHashCode, theBasicConsumedQuantity, (this.basicConsumedQuantity!= null)); } { ResidentOccupantsNumericType theResidentOccupantsNumeric; theResidentOccupantsNumeric = this.getResidentOccupantsNumeric(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "residentOccupantsNumeric", theResidentOccupantsNumeric), currentHashCode, theResidentOccupantsNumeric, (this.residentOccupantsNumeric!= null)); } { ConsumersEnergyLevelCodeType theConsumersEnergyLevelCode; theConsumersEnergyLevelCode = this.getConsumersEnergyLevelCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "consumersEnergyLevelCode", theConsumersEnergyLevelCode), currentHashCode, theConsumersEnergyLevelCode, (this.consumersEnergyLevelCode!= null)); } { ConsumersEnergyLevelType theConsumersEnergyLevel; theConsumersEnergyLevel = this.getConsumersEnergyLevel(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "consumersEnergyLevel", theConsumersEnergyLevel), currentHashCode, theConsumersEnergyLevel, (this.consumersEnergyLevel!= null)); } { ResidenceTypeType theResidenceType; theResidenceType = this.getResidenceType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "residenceType", theResidenceType), currentHashCode, theResidenceType, (this.residenceType!= null)); } { ResidenceTypeCodeType theResidenceTypeCode; theResidenceTypeCode = this.getResidenceTypeCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "residenceTypeCode", theResidenceTypeCode), currentHashCode, theResidenceTypeCode, (this.residenceTypeCode!= null)); } { HeatingTypeType theHeatingType; theHeatingType = this.getHeatingType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "heatingType", theHeatingType), currentHashCode, theHeatingType, (this.heatingType!= null)); } { HeatingTypeCodeType theHeatingTypeCode; theHeatingTypeCode = this.getHeatingTypeCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "heatingTypeCode", theHeatingTypeCode), currentHashCode, theHeatingTypeCode, (this.heatingTypeCode!= null)); } { PeriodType thePeriod; thePeriod = this.getPeriod(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "period", thePeriod), currentHashCode, thePeriod, (this.period!= null)); } { DocumentReferenceType theGuidanceDocumentReference; theGuidanceDocumentReference = this.getGuidanceDocumentReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "guidanceDocumentReference", theGuidanceDocumentReference), currentHashCode, theGuidanceDocumentReference, (this.guidanceDocumentReference!= null)); } { DocumentReferenceType theDocumentReference; theDocumentReference = this.getDocumentReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentReference", theDocumentReference), currentHashCode, theDocumentReference, (this.documentReference!= null)); } { List theConsumptionReportReference; theConsumptionReportReference = (((this.consumptionReportReference!= null)&&(!this.consumptionReportReference.isEmpty()))?this.getConsumptionReportReference():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "consumptionReportReference", theConsumptionReportReference), currentHashCode, theConsumptionReportReference, ((this.consumptionReportReference!= null)&&(!this.consumptionReportReference.isEmpty()))); } { List theConsumptionHistory; theConsumptionHistory = (((this.consumptionHistory!= null)&&(!this.consumptionHistory.isEmpty()))?this.getConsumptionHistory():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "consumptionHistory", theConsumptionHistory), currentHashCode, theConsumptionHistory, ((this.consumptionHistory!= null)&&(!this.consumptionHistory.isEmpty()))); } return currentHashCode; } public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy