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

oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.AwardingCriterionType 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.AwardingCriterionTypeCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CalculationExpressionCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CalculationExpressionType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DescriptionType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MaximumAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MaximumQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MinimumAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MinimumImprovementBidType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MinimumQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.NameType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.WeightNumericType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.WeightType;
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 AwardingCriterionType complex type. * *

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

 * <complexType name="AwardingCriterionType">
 *   <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}AwardingCriterionTypeCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Name" maxOccurs="unbounded" 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}WeightNumeric" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Weight" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CalculationExpression" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CalculationExpressionCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MinimumQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MaximumQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MinimumAmount" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MaximumAmount" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MinimumImprovementBid" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}SubordinateAwardingCriterion" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AwardingCriterionType", propOrder = { "ublExtensions", "id", "awardingCriterionTypeCode", "name", "description", "weightNumeric", "weight", "calculationExpression", "calculationExpressionCode", "minimumQuantity", "maximumQuantity", "minimumAmount", "maximumAmount", "minimumImprovementBid", "subordinateAwardingCriterion" }) public class AwardingCriterionType 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 = "AwardingCriterionTypeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected AwardingCriterionTypeCodeType awardingCriterionTypeCode; @XmlElement(name = "Name", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List name; @XmlElement(name = "Description", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List description; @XmlElement(name = "WeightNumeric", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected WeightNumericType weightNumeric; @XmlElement(name = "Weight", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List weight; @XmlElement(name = "CalculationExpression", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List calculationExpression; @XmlElement(name = "CalculationExpressionCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected CalculationExpressionCodeType calculationExpressionCode; @XmlElement(name = "MinimumQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected MinimumQuantityType minimumQuantity; @XmlElement(name = "MaximumQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected MaximumQuantityType maximumQuantity; @XmlElement(name = "MinimumAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected MinimumAmountType minimumAmount; @XmlElement(name = "MaximumAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected MaximumAmountType maximumAmount; @XmlElement(name = "MinimumImprovementBid", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List minimumImprovementBid; @XmlElement(name = "SubordinateAwardingCriterion") protected List subordinateAwardingCriterion; /** * 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 awardingCriterionTypeCode. * * @return * possible object is * {@link AwardingCriterionTypeCodeType } * */ public AwardingCriterionTypeCodeType getAwardingCriterionTypeCode() { return awardingCriterionTypeCode; } /** * Define el valor de la propiedad awardingCriterionTypeCode. * * @param value * allowed object is * {@link AwardingCriterionTypeCodeType } * */ public void setAwardingCriterionTypeCode(AwardingCriterionTypeCodeType value) { this.awardingCriterionTypeCode = value; } /** * Gets the value of the name property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the name property. * *

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

     *    getName().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NameType } * * */ public List getName() { if (name == null) { name = new ArrayList(); } return this.name; } /** * 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 weightNumeric. * * @return * possible object is * {@link WeightNumericType } * */ public WeightNumericType getWeightNumeric() { return weightNumeric; } /** * Define el valor de la propiedad weightNumeric. * * @param value * allowed object is * {@link WeightNumericType } * */ public void setWeightNumeric(WeightNumericType value) { this.weightNumeric = value; } /** * Gets the value of the weight 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 weight property. * *

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

     *    getWeight().add(newItem);
     * 
* * *

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

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

     *    getCalculationExpression().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CalculationExpressionType } * * */ public List getCalculationExpression() { if (calculationExpression == null) { calculationExpression = new ArrayList(); } return this.calculationExpression; } /** * Obtiene el valor de la propiedad calculationExpressionCode. * * @return * possible object is * {@link CalculationExpressionCodeType } * */ public CalculationExpressionCodeType getCalculationExpressionCode() { return calculationExpressionCode; } /** * Define el valor de la propiedad calculationExpressionCode. * * @param value * allowed object is * {@link CalculationExpressionCodeType } * */ public void setCalculationExpressionCode(CalculationExpressionCodeType value) { this.calculationExpressionCode = value; } /** * Obtiene el valor de la propiedad minimumQuantity. * * @return * possible object is * {@link MinimumQuantityType } * */ public MinimumQuantityType getMinimumQuantity() { return minimumQuantity; } /** * Define el valor de la propiedad minimumQuantity. * * @param value * allowed object is * {@link MinimumQuantityType } * */ public void setMinimumQuantity(MinimumQuantityType value) { this.minimumQuantity = value; } /** * Obtiene el valor de la propiedad maximumQuantity. * * @return * possible object is * {@link MaximumQuantityType } * */ public MaximumQuantityType getMaximumQuantity() { return maximumQuantity; } /** * Define el valor de la propiedad maximumQuantity. * * @param value * allowed object is * {@link MaximumQuantityType } * */ public void setMaximumQuantity(MaximumQuantityType value) { this.maximumQuantity = value; } /** * Obtiene el valor de la propiedad minimumAmount. * * @return * possible object is * {@link MinimumAmountType } * */ public MinimumAmountType getMinimumAmount() { return minimumAmount; } /** * Define el valor de la propiedad minimumAmount. * * @param value * allowed object is * {@link MinimumAmountType } * */ public void setMinimumAmount(MinimumAmountType value) { this.minimumAmount = value; } /** * Obtiene el valor de la propiedad maximumAmount. * * @return * possible object is * {@link MaximumAmountType } * */ public MaximumAmountType getMaximumAmount() { return maximumAmount; } /** * Define el valor de la propiedad maximumAmount. * * @param value * allowed object is * {@link MaximumAmountType } * */ public void setMaximumAmount(MaximumAmountType value) { this.maximumAmount = value; } /** * Gets the value of the minimumImprovementBid 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 minimumImprovementBid property. * *

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

     *    getMinimumImprovementBid().add(newItem);
     * 
* * *

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

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

     *    getSubordinateAwardingCriterion().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AwardingCriterionType } * * */ public List getSubordinateAwardingCriterion() { if (subordinateAwardingCriterion == null) { subordinateAwardingCriterion = new ArrayList(); } return this.subordinateAwardingCriterion; } 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)); } { AwardingCriterionTypeCodeType theAwardingCriterionTypeCode; theAwardingCriterionTypeCode = this.getAwardingCriterionTypeCode(); strategy.appendField(locator, this, "awardingCriterionTypeCode", buffer, theAwardingCriterionTypeCode, (this.awardingCriterionTypeCode!= null)); } { List theName; theName = (((this.name!= null)&&(!this.name.isEmpty()))?this.getName():null); strategy.appendField(locator, this, "name", buffer, theName, ((this.name!= null)&&(!this.name.isEmpty()))); } { 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()))); } { WeightNumericType theWeightNumeric; theWeightNumeric = this.getWeightNumeric(); strategy.appendField(locator, this, "weightNumeric", buffer, theWeightNumeric, (this.weightNumeric!= null)); } { List theWeight; theWeight = (((this.weight!= null)&&(!this.weight.isEmpty()))?this.getWeight():null); strategy.appendField(locator, this, "weight", buffer, theWeight, ((this.weight!= null)&&(!this.weight.isEmpty()))); } { List theCalculationExpression; theCalculationExpression = (((this.calculationExpression!= null)&&(!this.calculationExpression.isEmpty()))?this.getCalculationExpression():null); strategy.appendField(locator, this, "calculationExpression", buffer, theCalculationExpression, ((this.calculationExpression!= null)&&(!this.calculationExpression.isEmpty()))); } { CalculationExpressionCodeType theCalculationExpressionCode; theCalculationExpressionCode = this.getCalculationExpressionCode(); strategy.appendField(locator, this, "calculationExpressionCode", buffer, theCalculationExpressionCode, (this.calculationExpressionCode!= null)); } { MinimumQuantityType theMinimumQuantity; theMinimumQuantity = this.getMinimumQuantity(); strategy.appendField(locator, this, "minimumQuantity", buffer, theMinimumQuantity, (this.minimumQuantity!= null)); } { MaximumQuantityType theMaximumQuantity; theMaximumQuantity = this.getMaximumQuantity(); strategy.appendField(locator, this, "maximumQuantity", buffer, theMaximumQuantity, (this.maximumQuantity!= null)); } { MinimumAmountType theMinimumAmount; theMinimumAmount = this.getMinimumAmount(); strategy.appendField(locator, this, "minimumAmount", buffer, theMinimumAmount, (this.minimumAmount!= null)); } { MaximumAmountType theMaximumAmount; theMaximumAmount = this.getMaximumAmount(); strategy.appendField(locator, this, "maximumAmount", buffer, theMaximumAmount, (this.maximumAmount!= null)); } { List theMinimumImprovementBid; theMinimumImprovementBid = (((this.minimumImprovementBid!= null)&&(!this.minimumImprovementBid.isEmpty()))?this.getMinimumImprovementBid():null); strategy.appendField(locator, this, "minimumImprovementBid", buffer, theMinimumImprovementBid, ((this.minimumImprovementBid!= null)&&(!this.minimumImprovementBid.isEmpty()))); } { List theSubordinateAwardingCriterion; theSubordinateAwardingCriterion = (((this.subordinateAwardingCriterion!= null)&&(!this.subordinateAwardingCriterion.isEmpty()))?this.getSubordinateAwardingCriterion():null); strategy.appendField(locator, this, "subordinateAwardingCriterion", buffer, theSubordinateAwardingCriterion, ((this.subordinateAwardingCriterion!= null)&&(!this.subordinateAwardingCriterion.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 AwardingCriterionType that = ((AwardingCriterionType) 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; } } { AwardingCriterionTypeCodeType lhsAwardingCriterionTypeCode; lhsAwardingCriterionTypeCode = this.getAwardingCriterionTypeCode(); AwardingCriterionTypeCodeType rhsAwardingCriterionTypeCode; rhsAwardingCriterionTypeCode = that.getAwardingCriterionTypeCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "awardingCriterionTypeCode", lhsAwardingCriterionTypeCode), LocatorUtils.property(thatLocator, "awardingCriterionTypeCode", rhsAwardingCriterionTypeCode), lhsAwardingCriterionTypeCode, rhsAwardingCriterionTypeCode, (this.awardingCriterionTypeCode!= null), (that.awardingCriterionTypeCode!= null))) { return false; } } { List lhsName; lhsName = (((this.name!= null)&&(!this.name.isEmpty()))?this.getName():null); List rhsName; rhsName = (((that.name!= null)&&(!that.name.isEmpty()))?that.getName():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName, ((this.name!= null)&&(!this.name.isEmpty())), ((that.name!= null)&&(!that.name.isEmpty())))) { 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; } } { WeightNumericType lhsWeightNumeric; lhsWeightNumeric = this.getWeightNumeric(); WeightNumericType rhsWeightNumeric; rhsWeightNumeric = that.getWeightNumeric(); if (!strategy.equals(LocatorUtils.property(thisLocator, "weightNumeric", lhsWeightNumeric), LocatorUtils.property(thatLocator, "weightNumeric", rhsWeightNumeric), lhsWeightNumeric, rhsWeightNumeric, (this.weightNumeric!= null), (that.weightNumeric!= null))) { return false; } } { List lhsWeight; lhsWeight = (((this.weight!= null)&&(!this.weight.isEmpty()))?this.getWeight():null); List rhsWeight; rhsWeight = (((that.weight!= null)&&(!that.weight.isEmpty()))?that.getWeight():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "weight", lhsWeight), LocatorUtils.property(thatLocator, "weight", rhsWeight), lhsWeight, rhsWeight, ((this.weight!= null)&&(!this.weight.isEmpty())), ((that.weight!= null)&&(!that.weight.isEmpty())))) { return false; } } { List lhsCalculationExpression; lhsCalculationExpression = (((this.calculationExpression!= null)&&(!this.calculationExpression.isEmpty()))?this.getCalculationExpression():null); List rhsCalculationExpression; rhsCalculationExpression = (((that.calculationExpression!= null)&&(!that.calculationExpression.isEmpty()))?that.getCalculationExpression():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "calculationExpression", lhsCalculationExpression), LocatorUtils.property(thatLocator, "calculationExpression", rhsCalculationExpression), lhsCalculationExpression, rhsCalculationExpression, ((this.calculationExpression!= null)&&(!this.calculationExpression.isEmpty())), ((that.calculationExpression!= null)&&(!that.calculationExpression.isEmpty())))) { return false; } } { CalculationExpressionCodeType lhsCalculationExpressionCode; lhsCalculationExpressionCode = this.getCalculationExpressionCode(); CalculationExpressionCodeType rhsCalculationExpressionCode; rhsCalculationExpressionCode = that.getCalculationExpressionCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "calculationExpressionCode", lhsCalculationExpressionCode), LocatorUtils.property(thatLocator, "calculationExpressionCode", rhsCalculationExpressionCode), lhsCalculationExpressionCode, rhsCalculationExpressionCode, (this.calculationExpressionCode!= null), (that.calculationExpressionCode!= null))) { return false; } } { MinimumQuantityType lhsMinimumQuantity; lhsMinimumQuantity = this.getMinimumQuantity(); MinimumQuantityType rhsMinimumQuantity; rhsMinimumQuantity = that.getMinimumQuantity(); if (!strategy.equals(LocatorUtils.property(thisLocator, "minimumQuantity", lhsMinimumQuantity), LocatorUtils.property(thatLocator, "minimumQuantity", rhsMinimumQuantity), lhsMinimumQuantity, rhsMinimumQuantity, (this.minimumQuantity!= null), (that.minimumQuantity!= null))) { return false; } } { MaximumQuantityType lhsMaximumQuantity; lhsMaximumQuantity = this.getMaximumQuantity(); MaximumQuantityType rhsMaximumQuantity; rhsMaximumQuantity = that.getMaximumQuantity(); if (!strategy.equals(LocatorUtils.property(thisLocator, "maximumQuantity", lhsMaximumQuantity), LocatorUtils.property(thatLocator, "maximumQuantity", rhsMaximumQuantity), lhsMaximumQuantity, rhsMaximumQuantity, (this.maximumQuantity!= null), (that.maximumQuantity!= null))) { return false; } } { MinimumAmountType lhsMinimumAmount; lhsMinimumAmount = this.getMinimumAmount(); MinimumAmountType rhsMinimumAmount; rhsMinimumAmount = that.getMinimumAmount(); if (!strategy.equals(LocatorUtils.property(thisLocator, "minimumAmount", lhsMinimumAmount), LocatorUtils.property(thatLocator, "minimumAmount", rhsMinimumAmount), lhsMinimumAmount, rhsMinimumAmount, (this.minimumAmount!= null), (that.minimumAmount!= null))) { return false; } } { MaximumAmountType lhsMaximumAmount; lhsMaximumAmount = this.getMaximumAmount(); MaximumAmountType rhsMaximumAmount; rhsMaximumAmount = that.getMaximumAmount(); if (!strategy.equals(LocatorUtils.property(thisLocator, "maximumAmount", lhsMaximumAmount), LocatorUtils.property(thatLocator, "maximumAmount", rhsMaximumAmount), lhsMaximumAmount, rhsMaximumAmount, (this.maximumAmount!= null), (that.maximumAmount!= null))) { return false; } } { List lhsMinimumImprovementBid; lhsMinimumImprovementBid = (((this.minimumImprovementBid!= null)&&(!this.minimumImprovementBid.isEmpty()))?this.getMinimumImprovementBid():null); List rhsMinimumImprovementBid; rhsMinimumImprovementBid = (((that.minimumImprovementBid!= null)&&(!that.minimumImprovementBid.isEmpty()))?that.getMinimumImprovementBid():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "minimumImprovementBid", lhsMinimumImprovementBid), LocatorUtils.property(thatLocator, "minimumImprovementBid", rhsMinimumImprovementBid), lhsMinimumImprovementBid, rhsMinimumImprovementBid, ((this.minimumImprovementBid!= null)&&(!this.minimumImprovementBid.isEmpty())), ((that.minimumImprovementBid!= null)&&(!that.minimumImprovementBid.isEmpty())))) { return false; } } { List lhsSubordinateAwardingCriterion; lhsSubordinateAwardingCriterion = (((this.subordinateAwardingCriterion!= null)&&(!this.subordinateAwardingCriterion.isEmpty()))?this.getSubordinateAwardingCriterion():null); List rhsSubordinateAwardingCriterion; rhsSubordinateAwardingCriterion = (((that.subordinateAwardingCriterion!= null)&&(!that.subordinateAwardingCriterion.isEmpty()))?that.getSubordinateAwardingCriterion():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "subordinateAwardingCriterion", lhsSubordinateAwardingCriterion), LocatorUtils.property(thatLocator, "subordinateAwardingCriterion", rhsSubordinateAwardingCriterion), lhsSubordinateAwardingCriterion, rhsSubordinateAwardingCriterion, ((this.subordinateAwardingCriterion!= null)&&(!this.subordinateAwardingCriterion.isEmpty())), ((that.subordinateAwardingCriterion!= null)&&(!that.subordinateAwardingCriterion.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)); } { AwardingCriterionTypeCodeType theAwardingCriterionTypeCode; theAwardingCriterionTypeCode = this.getAwardingCriterionTypeCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awardingCriterionTypeCode", theAwardingCriterionTypeCode), currentHashCode, theAwardingCriterionTypeCode, (this.awardingCriterionTypeCode!= null)); } { List theName; theName = (((this.name!= null)&&(!this.name.isEmpty()))?this.getName():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName, ((this.name!= null)&&(!this.name.isEmpty()))); } { 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()))); } { WeightNumericType theWeightNumeric; theWeightNumeric = this.getWeightNumeric(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "weightNumeric", theWeightNumeric), currentHashCode, theWeightNumeric, (this.weightNumeric!= null)); } { List theWeight; theWeight = (((this.weight!= null)&&(!this.weight.isEmpty()))?this.getWeight():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "weight", theWeight), currentHashCode, theWeight, ((this.weight!= null)&&(!this.weight.isEmpty()))); } { List theCalculationExpression; theCalculationExpression = (((this.calculationExpression!= null)&&(!this.calculationExpression.isEmpty()))?this.getCalculationExpression():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "calculationExpression", theCalculationExpression), currentHashCode, theCalculationExpression, ((this.calculationExpression!= null)&&(!this.calculationExpression.isEmpty()))); } { CalculationExpressionCodeType theCalculationExpressionCode; theCalculationExpressionCode = this.getCalculationExpressionCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "calculationExpressionCode", theCalculationExpressionCode), currentHashCode, theCalculationExpressionCode, (this.calculationExpressionCode!= null)); } { MinimumQuantityType theMinimumQuantity; theMinimumQuantity = this.getMinimumQuantity(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "minimumQuantity", theMinimumQuantity), currentHashCode, theMinimumQuantity, (this.minimumQuantity!= null)); } { MaximumQuantityType theMaximumQuantity; theMaximumQuantity = this.getMaximumQuantity(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maximumQuantity", theMaximumQuantity), currentHashCode, theMaximumQuantity, (this.maximumQuantity!= null)); } { MinimumAmountType theMinimumAmount; theMinimumAmount = this.getMinimumAmount(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "minimumAmount", theMinimumAmount), currentHashCode, theMinimumAmount, (this.minimumAmount!= null)); } { MaximumAmountType theMaximumAmount; theMaximumAmount = this.getMaximumAmount(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maximumAmount", theMaximumAmount), currentHashCode, theMaximumAmount, (this.maximumAmount!= null)); } { List theMinimumImprovementBid; theMinimumImprovementBid = (((this.minimumImprovementBid!= null)&&(!this.minimumImprovementBid.isEmpty()))?this.getMinimumImprovementBid():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "minimumImprovementBid", theMinimumImprovementBid), currentHashCode, theMinimumImprovementBid, ((this.minimumImprovementBid!= null)&&(!this.minimumImprovementBid.isEmpty()))); } { List theSubordinateAwardingCriterion; theSubordinateAwardingCriterion = (((this.subordinateAwardingCriterion!= null)&&(!this.subordinateAwardingCriterion.isEmpty()))?this.getSubordinateAwardingCriterion():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subordinateAwardingCriterion", theSubordinateAwardingCriterion), currentHashCode, theSubordinateAwardingCriterion, ((this.subordinateAwardingCriterion!= null)&&(!this.subordinateAwardingCriterion.isEmpty()))); } return currentHashCode; } public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy