oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.TenderingCriterionType 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.CriterionTypeCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DescriptionType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.EvaluationMethodTypeCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.FulfilmentIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.FulfilmentIndicatorTypeCodeType;
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.WeightNumericType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.WeightingConsiderationDescriptionType;
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 TenderingCriterionType complex type.
*
*
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
*
* <complexType name="TenderingCriterionType">
* <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}CriterionTypeCode" 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}FulfilmentIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}FulfilmentIndicatorTypeCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}EvaluationMethodTypeCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}WeightingConsiderationDescription" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ProcurementProjectLotReference" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}CommodityClassification" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}SubTenderingCriterion" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Legislation" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TenderingCriterionPropertyGroup" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TenderingCriterionType", propOrder = {
"ublExtensions",
"id",
"criterionTypeCode",
"name",
"description",
"weightNumeric",
"fulfilmentIndicator",
"fulfilmentIndicatorTypeCode",
"evaluationMethodTypeCode",
"weightingConsiderationDescription",
"procurementProjectLotReference",
"commodityClassification",
"subTenderingCriterion",
"legislation",
"tenderingCriterionPropertyGroup"
})
public class TenderingCriterionType 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 = "CriterionTypeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected CriterionTypeCodeType criterionTypeCode;
@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 = "FulfilmentIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected FulfilmentIndicatorType fulfilmentIndicator;
@XmlElement(name = "FulfilmentIndicatorTypeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected FulfilmentIndicatorTypeCodeType fulfilmentIndicatorTypeCode;
@XmlElement(name = "EvaluationMethodTypeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected EvaluationMethodTypeCodeType evaluationMethodTypeCode;
@XmlElement(name = "WeightingConsiderationDescription", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List weightingConsiderationDescription;
@XmlElement(name = "ProcurementProjectLotReference")
protected List procurementProjectLotReference;
@XmlElement(name = "CommodityClassification")
protected List commodityClassification;
@XmlElement(name = "SubTenderingCriterion")
protected List subTenderingCriterion;
@XmlElement(name = "Legislation")
protected List legislation;
@XmlElement(name = "TenderingCriterionPropertyGroup")
protected List tenderingCriterionPropertyGroup;
/**
* 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 criterionTypeCode.
*
* @return
* possible object is
* {@link CriterionTypeCodeType }
*
*/
public CriterionTypeCodeType getCriterionTypeCode() {
return criterionTypeCode;
}
/**
* Define el valor de la propiedad criterionTypeCode.
*
* @param value
* allowed object is
* {@link CriterionTypeCodeType }
*
*/
public void setCriterionTypeCode(CriterionTypeCodeType value) {
this.criterionTypeCode = 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;
}
/**
* Obtiene el valor de la propiedad fulfilmentIndicator.
*
* @return
* possible object is
* {@link FulfilmentIndicatorType }
*
*/
public FulfilmentIndicatorType getFulfilmentIndicator() {
return fulfilmentIndicator;
}
/**
* Define el valor de la propiedad fulfilmentIndicator.
*
* @param value
* allowed object is
* {@link FulfilmentIndicatorType }
*
*/
public void setFulfilmentIndicator(FulfilmentIndicatorType value) {
this.fulfilmentIndicator = value;
}
/**
* Obtiene el valor de la propiedad fulfilmentIndicatorTypeCode.
*
* @return
* possible object is
* {@link FulfilmentIndicatorTypeCodeType }
*
*/
public FulfilmentIndicatorTypeCodeType getFulfilmentIndicatorTypeCode() {
return fulfilmentIndicatorTypeCode;
}
/**
* Define el valor de la propiedad fulfilmentIndicatorTypeCode.
*
* @param value
* allowed object is
* {@link FulfilmentIndicatorTypeCodeType }
*
*/
public void setFulfilmentIndicatorTypeCode(FulfilmentIndicatorTypeCodeType value) {
this.fulfilmentIndicatorTypeCode = value;
}
/**
* Obtiene el valor de la propiedad evaluationMethodTypeCode.
*
* @return
* possible object is
* {@link EvaluationMethodTypeCodeType }
*
*/
public EvaluationMethodTypeCodeType getEvaluationMethodTypeCode() {
return evaluationMethodTypeCode;
}
/**
* Define el valor de la propiedad evaluationMethodTypeCode.
*
* @param value
* allowed object is
* {@link EvaluationMethodTypeCodeType }
*
*/
public void setEvaluationMethodTypeCode(EvaluationMethodTypeCodeType value) {
this.evaluationMethodTypeCode = value;
}
/**
* Gets the value of the weightingConsiderationDescription 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 weightingConsiderationDescription property.
*
*
* For example, to add a new item, do as follows:
*
* getWeightingConsiderationDescription().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link WeightingConsiderationDescriptionType }
*
*
*/
public List getWeightingConsiderationDescription() {
if (weightingConsiderationDescription == null) {
weightingConsiderationDescription = new ArrayList();
}
return this.weightingConsiderationDescription;
}
/**
* Gets the value of the procurementProjectLotReference 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 procurementProjectLotReference property.
*
*
* For example, to add a new item, do as follows:
*
* getProcurementProjectLotReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ProcurementProjectLotReferenceType }
*
*
*/
public List getProcurementProjectLotReference() {
if (procurementProjectLotReference == null) {
procurementProjectLotReference = new ArrayList();
}
return this.procurementProjectLotReference;
}
/**
* Gets the value of the commodityClassification 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 commodityClassification property.
*
*
* For example, to add a new item, do as follows:
*
* getCommodityClassification().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CommodityClassificationType }
*
*
*/
public List getCommodityClassification() {
if (commodityClassification == null) {
commodityClassification = new ArrayList();
}
return this.commodityClassification;
}
/**
* Gets the value of the subTenderingCriterion 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 subTenderingCriterion property.
*
*
* For example, to add a new item, do as follows:
*
* getSubTenderingCriterion().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TenderingCriterionType }
*
*
*/
public List getSubTenderingCriterion() {
if (subTenderingCriterion == null) {
subTenderingCriterion = new ArrayList();
}
return this.subTenderingCriterion;
}
/**
* Gets the value of the legislation 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 legislation property.
*
*
* For example, to add a new item, do as follows:
*
* getLegislation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LegislationType }
*
*
*/
public List getLegislation() {
if (legislation == null) {
legislation = new ArrayList();
}
return this.legislation;
}
/**
* Gets the value of the tenderingCriterionPropertyGroup 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 tenderingCriterionPropertyGroup property.
*
*
* For example, to add a new item, do as follows:
*
* getTenderingCriterionPropertyGroup().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TenderingCriterionPropertyGroupType }
*
*
*/
public List getTenderingCriterionPropertyGroup() {
if (tenderingCriterionPropertyGroup == null) {
tenderingCriterionPropertyGroup = new ArrayList();
}
return this.tenderingCriterionPropertyGroup;
}
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));
}
{
CriterionTypeCodeType theCriterionTypeCode;
theCriterionTypeCode = this.getCriterionTypeCode();
strategy.appendField(locator, this, "criterionTypeCode", buffer, theCriterionTypeCode, (this.criterionTypeCode!= 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));
}
{
FulfilmentIndicatorType theFulfilmentIndicator;
theFulfilmentIndicator = this.getFulfilmentIndicator();
strategy.appendField(locator, this, "fulfilmentIndicator", buffer, theFulfilmentIndicator, (this.fulfilmentIndicator!= null));
}
{
FulfilmentIndicatorTypeCodeType theFulfilmentIndicatorTypeCode;
theFulfilmentIndicatorTypeCode = this.getFulfilmentIndicatorTypeCode();
strategy.appendField(locator, this, "fulfilmentIndicatorTypeCode", buffer, theFulfilmentIndicatorTypeCode, (this.fulfilmentIndicatorTypeCode!= null));
}
{
EvaluationMethodTypeCodeType theEvaluationMethodTypeCode;
theEvaluationMethodTypeCode = this.getEvaluationMethodTypeCode();
strategy.appendField(locator, this, "evaluationMethodTypeCode", buffer, theEvaluationMethodTypeCode, (this.evaluationMethodTypeCode!= null));
}
{
List theWeightingConsiderationDescription;
theWeightingConsiderationDescription = (((this.weightingConsiderationDescription!= null)&&(!this.weightingConsiderationDescription.isEmpty()))?this.getWeightingConsiderationDescription():null);
strategy.appendField(locator, this, "weightingConsiderationDescription", buffer, theWeightingConsiderationDescription, ((this.weightingConsiderationDescription!= null)&&(!this.weightingConsiderationDescription.isEmpty())));
}
{
List theProcurementProjectLotReference;
theProcurementProjectLotReference = (((this.procurementProjectLotReference!= null)&&(!this.procurementProjectLotReference.isEmpty()))?this.getProcurementProjectLotReference():null);
strategy.appendField(locator, this, "procurementProjectLotReference", buffer, theProcurementProjectLotReference, ((this.procurementProjectLotReference!= null)&&(!this.procurementProjectLotReference.isEmpty())));
}
{
List theCommodityClassification;
theCommodityClassification = (((this.commodityClassification!= null)&&(!this.commodityClassification.isEmpty()))?this.getCommodityClassification():null);
strategy.appendField(locator, this, "commodityClassification", buffer, theCommodityClassification, ((this.commodityClassification!= null)&&(!this.commodityClassification.isEmpty())));
}
{
List theSubTenderingCriterion;
theSubTenderingCriterion = (((this.subTenderingCriterion!= null)&&(!this.subTenderingCriterion.isEmpty()))?this.getSubTenderingCriterion():null);
strategy.appendField(locator, this, "subTenderingCriterion", buffer, theSubTenderingCriterion, ((this.subTenderingCriterion!= null)&&(!this.subTenderingCriterion.isEmpty())));
}
{
List theLegislation;
theLegislation = (((this.legislation!= null)&&(!this.legislation.isEmpty()))?this.getLegislation():null);
strategy.appendField(locator, this, "legislation", buffer, theLegislation, ((this.legislation!= null)&&(!this.legislation.isEmpty())));
}
{
List theTenderingCriterionPropertyGroup;
theTenderingCriterionPropertyGroup = (((this.tenderingCriterionPropertyGroup!= null)&&(!this.tenderingCriterionPropertyGroup.isEmpty()))?this.getTenderingCriterionPropertyGroup():null);
strategy.appendField(locator, this, "tenderingCriterionPropertyGroup", buffer, theTenderingCriterionPropertyGroup, ((this.tenderingCriterionPropertyGroup!= null)&&(!this.tenderingCriterionPropertyGroup.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 TenderingCriterionType that = ((TenderingCriterionType) 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;
}
}
{
CriterionTypeCodeType lhsCriterionTypeCode;
lhsCriterionTypeCode = this.getCriterionTypeCode();
CriterionTypeCodeType rhsCriterionTypeCode;
rhsCriterionTypeCode = that.getCriterionTypeCode();
if (!strategy.equals(LocatorUtils.property(thisLocator, "criterionTypeCode", lhsCriterionTypeCode), LocatorUtils.property(thatLocator, "criterionTypeCode", rhsCriterionTypeCode), lhsCriterionTypeCode, rhsCriterionTypeCode, (this.criterionTypeCode!= null), (that.criterionTypeCode!= 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;
}
}
{
FulfilmentIndicatorType lhsFulfilmentIndicator;
lhsFulfilmentIndicator = this.getFulfilmentIndicator();
FulfilmentIndicatorType rhsFulfilmentIndicator;
rhsFulfilmentIndicator = that.getFulfilmentIndicator();
if (!strategy.equals(LocatorUtils.property(thisLocator, "fulfilmentIndicator", lhsFulfilmentIndicator), LocatorUtils.property(thatLocator, "fulfilmentIndicator", rhsFulfilmentIndicator), lhsFulfilmentIndicator, rhsFulfilmentIndicator, (this.fulfilmentIndicator!= null), (that.fulfilmentIndicator!= null))) {
return false;
}
}
{
FulfilmentIndicatorTypeCodeType lhsFulfilmentIndicatorTypeCode;
lhsFulfilmentIndicatorTypeCode = this.getFulfilmentIndicatorTypeCode();
FulfilmentIndicatorTypeCodeType rhsFulfilmentIndicatorTypeCode;
rhsFulfilmentIndicatorTypeCode = that.getFulfilmentIndicatorTypeCode();
if (!strategy.equals(LocatorUtils.property(thisLocator, "fulfilmentIndicatorTypeCode", lhsFulfilmentIndicatorTypeCode), LocatorUtils.property(thatLocator, "fulfilmentIndicatorTypeCode", rhsFulfilmentIndicatorTypeCode), lhsFulfilmentIndicatorTypeCode, rhsFulfilmentIndicatorTypeCode, (this.fulfilmentIndicatorTypeCode!= null), (that.fulfilmentIndicatorTypeCode!= null))) {
return false;
}
}
{
EvaluationMethodTypeCodeType lhsEvaluationMethodTypeCode;
lhsEvaluationMethodTypeCode = this.getEvaluationMethodTypeCode();
EvaluationMethodTypeCodeType rhsEvaluationMethodTypeCode;
rhsEvaluationMethodTypeCode = that.getEvaluationMethodTypeCode();
if (!strategy.equals(LocatorUtils.property(thisLocator, "evaluationMethodTypeCode", lhsEvaluationMethodTypeCode), LocatorUtils.property(thatLocator, "evaluationMethodTypeCode", rhsEvaluationMethodTypeCode), lhsEvaluationMethodTypeCode, rhsEvaluationMethodTypeCode, (this.evaluationMethodTypeCode!= null), (that.evaluationMethodTypeCode!= null))) {
return false;
}
}
{
List lhsWeightingConsiderationDescription;
lhsWeightingConsiderationDescription = (((this.weightingConsiderationDescription!= null)&&(!this.weightingConsiderationDescription.isEmpty()))?this.getWeightingConsiderationDescription():null);
List rhsWeightingConsiderationDescription;
rhsWeightingConsiderationDescription = (((that.weightingConsiderationDescription!= null)&&(!that.weightingConsiderationDescription.isEmpty()))?that.getWeightingConsiderationDescription():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "weightingConsiderationDescription", lhsWeightingConsiderationDescription), LocatorUtils.property(thatLocator, "weightingConsiderationDescription", rhsWeightingConsiderationDescription), lhsWeightingConsiderationDescription, rhsWeightingConsiderationDescription, ((this.weightingConsiderationDescription!= null)&&(!this.weightingConsiderationDescription.isEmpty())), ((that.weightingConsiderationDescription!= null)&&(!that.weightingConsiderationDescription.isEmpty())))) {
return false;
}
}
{
List lhsProcurementProjectLotReference;
lhsProcurementProjectLotReference = (((this.procurementProjectLotReference!= null)&&(!this.procurementProjectLotReference.isEmpty()))?this.getProcurementProjectLotReference():null);
List rhsProcurementProjectLotReference;
rhsProcurementProjectLotReference = (((that.procurementProjectLotReference!= null)&&(!that.procurementProjectLotReference.isEmpty()))?that.getProcurementProjectLotReference():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "procurementProjectLotReference", lhsProcurementProjectLotReference), LocatorUtils.property(thatLocator, "procurementProjectLotReference", rhsProcurementProjectLotReference), lhsProcurementProjectLotReference, rhsProcurementProjectLotReference, ((this.procurementProjectLotReference!= null)&&(!this.procurementProjectLotReference.isEmpty())), ((that.procurementProjectLotReference!= null)&&(!that.procurementProjectLotReference.isEmpty())))) {
return false;
}
}
{
List lhsCommodityClassification;
lhsCommodityClassification = (((this.commodityClassification!= null)&&(!this.commodityClassification.isEmpty()))?this.getCommodityClassification():null);
List rhsCommodityClassification;
rhsCommodityClassification = (((that.commodityClassification!= null)&&(!that.commodityClassification.isEmpty()))?that.getCommodityClassification():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "commodityClassification", lhsCommodityClassification), LocatorUtils.property(thatLocator, "commodityClassification", rhsCommodityClassification), lhsCommodityClassification, rhsCommodityClassification, ((this.commodityClassification!= null)&&(!this.commodityClassification.isEmpty())), ((that.commodityClassification!= null)&&(!that.commodityClassification.isEmpty())))) {
return false;
}
}
{
List lhsSubTenderingCriterion;
lhsSubTenderingCriterion = (((this.subTenderingCriterion!= null)&&(!this.subTenderingCriterion.isEmpty()))?this.getSubTenderingCriterion():null);
List rhsSubTenderingCriterion;
rhsSubTenderingCriterion = (((that.subTenderingCriterion!= null)&&(!that.subTenderingCriterion.isEmpty()))?that.getSubTenderingCriterion():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "subTenderingCriterion", lhsSubTenderingCriterion), LocatorUtils.property(thatLocator, "subTenderingCriterion", rhsSubTenderingCriterion), lhsSubTenderingCriterion, rhsSubTenderingCriterion, ((this.subTenderingCriterion!= null)&&(!this.subTenderingCriterion.isEmpty())), ((that.subTenderingCriterion!= null)&&(!that.subTenderingCriterion.isEmpty())))) {
return false;
}
}
{
List lhsLegislation;
lhsLegislation = (((this.legislation!= null)&&(!this.legislation.isEmpty()))?this.getLegislation():null);
List rhsLegislation;
rhsLegislation = (((that.legislation!= null)&&(!that.legislation.isEmpty()))?that.getLegislation():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "legislation", lhsLegislation), LocatorUtils.property(thatLocator, "legislation", rhsLegislation), lhsLegislation, rhsLegislation, ((this.legislation!= null)&&(!this.legislation.isEmpty())), ((that.legislation!= null)&&(!that.legislation.isEmpty())))) {
return false;
}
}
{
List lhsTenderingCriterionPropertyGroup;
lhsTenderingCriterionPropertyGroup = (((this.tenderingCriterionPropertyGroup!= null)&&(!this.tenderingCriterionPropertyGroup.isEmpty()))?this.getTenderingCriterionPropertyGroup():null);
List rhsTenderingCriterionPropertyGroup;
rhsTenderingCriterionPropertyGroup = (((that.tenderingCriterionPropertyGroup!= null)&&(!that.tenderingCriterionPropertyGroup.isEmpty()))?that.getTenderingCriterionPropertyGroup():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "tenderingCriterionPropertyGroup", lhsTenderingCriterionPropertyGroup), LocatorUtils.property(thatLocator, "tenderingCriterionPropertyGroup", rhsTenderingCriterionPropertyGroup), lhsTenderingCriterionPropertyGroup, rhsTenderingCriterionPropertyGroup, ((this.tenderingCriterionPropertyGroup!= null)&&(!this.tenderingCriterionPropertyGroup.isEmpty())), ((that.tenderingCriterionPropertyGroup!= null)&&(!that.tenderingCriterionPropertyGroup.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));
}
{
CriterionTypeCodeType theCriterionTypeCode;
theCriterionTypeCode = this.getCriterionTypeCode();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "criterionTypeCode", theCriterionTypeCode), currentHashCode, theCriterionTypeCode, (this.criterionTypeCode!= 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));
}
{
FulfilmentIndicatorType theFulfilmentIndicator;
theFulfilmentIndicator = this.getFulfilmentIndicator();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fulfilmentIndicator", theFulfilmentIndicator), currentHashCode, theFulfilmentIndicator, (this.fulfilmentIndicator!= null));
}
{
FulfilmentIndicatorTypeCodeType theFulfilmentIndicatorTypeCode;
theFulfilmentIndicatorTypeCode = this.getFulfilmentIndicatorTypeCode();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fulfilmentIndicatorTypeCode", theFulfilmentIndicatorTypeCode), currentHashCode, theFulfilmentIndicatorTypeCode, (this.fulfilmentIndicatorTypeCode!= null));
}
{
EvaluationMethodTypeCodeType theEvaluationMethodTypeCode;
theEvaluationMethodTypeCode = this.getEvaluationMethodTypeCode();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "evaluationMethodTypeCode", theEvaluationMethodTypeCode), currentHashCode, theEvaluationMethodTypeCode, (this.evaluationMethodTypeCode!= null));
}
{
List theWeightingConsiderationDescription;
theWeightingConsiderationDescription = (((this.weightingConsiderationDescription!= null)&&(!this.weightingConsiderationDescription.isEmpty()))?this.getWeightingConsiderationDescription():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "weightingConsiderationDescription", theWeightingConsiderationDescription), currentHashCode, theWeightingConsiderationDescription, ((this.weightingConsiderationDescription!= null)&&(!this.weightingConsiderationDescription.isEmpty())));
}
{
List theProcurementProjectLotReference;
theProcurementProjectLotReference = (((this.procurementProjectLotReference!= null)&&(!this.procurementProjectLotReference.isEmpty()))?this.getProcurementProjectLotReference():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "procurementProjectLotReference", theProcurementProjectLotReference), currentHashCode, theProcurementProjectLotReference, ((this.procurementProjectLotReference!= null)&&(!this.procurementProjectLotReference.isEmpty())));
}
{
List theCommodityClassification;
theCommodityClassification = (((this.commodityClassification!= null)&&(!this.commodityClassification.isEmpty()))?this.getCommodityClassification():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "commodityClassification", theCommodityClassification), currentHashCode, theCommodityClassification, ((this.commodityClassification!= null)&&(!this.commodityClassification.isEmpty())));
}
{
List theSubTenderingCriterion;
theSubTenderingCriterion = (((this.subTenderingCriterion!= null)&&(!this.subTenderingCriterion.isEmpty()))?this.getSubTenderingCriterion():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subTenderingCriterion", theSubTenderingCriterion), currentHashCode, theSubTenderingCriterion, ((this.subTenderingCriterion!= null)&&(!this.subTenderingCriterion.isEmpty())));
}
{
List theLegislation;
theLegislation = (((this.legislation!= null)&&(!this.legislation.isEmpty()))?this.getLegislation():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "legislation", theLegislation), currentHashCode, theLegislation, ((this.legislation!= null)&&(!this.legislation.isEmpty())));
}
{
List theTenderingCriterionPropertyGroup;
theTenderingCriterionPropertyGroup = (((this.tenderingCriterionPropertyGroup!= null)&&(!this.tenderingCriterionPropertyGroup.isEmpty()))?this.getTenderingCriterionPropertyGroup():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tenderingCriterionPropertyGroup", theTenderingCriterionPropertyGroup), currentHashCode, theTenderingCriterionPropertyGroup, ((this.tenderingCriterionPropertyGroup!= null)&&(!this.tenderingCriterionPropertyGroup.isEmpty())));
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}