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

oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.TenderResultType Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.07.19 at 05:08:29 PM CEST 
//


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.AdvertisementAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AwardDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AwardTimeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DescriptionType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.HigherTenderAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LowerTenderAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ReceivedElectronicTenderQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ReceivedForeignTenderQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ReceivedTenderQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.StartDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TenderResultCodeType;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
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.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * 

Java class for TenderResultType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="TenderResultType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TenderResultCode" 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}AdvertisementAmount" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AwardDate"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AwardTime" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReceivedTenderQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LowerTenderAmount" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}HigherTenderAmount" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}StartDate" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReceivedElectronicTenderQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReceivedForeignTenderQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Contract" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AwardedTenderedProject" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ContractFormalizationPeriod" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}SubcontractTerms" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}WinningParty" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TenderResultType", propOrder = { "tenderResultCode", "description", "advertisementAmount", "awardDate", "awardTime", "receivedTenderQuantity", "lowerTenderAmount", "higherTenderAmount", "startDate", "receivedElectronicTenderQuantity", "receivedForeignTenderQuantity", "contract", "awardedTenderedProject", "contractFormalizationPeriod", "subcontractTerms", "winningParty" }) public class TenderResultType implements Serializable, Equals, HashCode, ToString { private final static long serialVersionUID = 100L; @XmlElement(name = "TenderResultCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected TenderResultCodeType tenderResultCode; @XmlElement(name = "Description", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List description; @XmlElement(name = "AdvertisementAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected AdvertisementAmountType advertisementAmount; @XmlElement(name = "AwardDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true) protected AwardDateType awardDate; @XmlElement(name = "AwardTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected AwardTimeType awardTime; @XmlElement(name = "ReceivedTenderQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ReceivedTenderQuantityType receivedTenderQuantity; @XmlElement(name = "LowerTenderAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected LowerTenderAmountType lowerTenderAmount; @XmlElement(name = "HigherTenderAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected HigherTenderAmountType higherTenderAmount; @XmlElement(name = "StartDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected StartDateType startDate; @XmlElement(name = "ReceivedElectronicTenderQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ReceivedElectronicTenderQuantityType receivedElectronicTenderQuantity; @XmlElement(name = "ReceivedForeignTenderQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ReceivedForeignTenderQuantityType receivedForeignTenderQuantity; @XmlElement(name = "Contract") protected ContractType contract; @XmlElement(name = "AwardedTenderedProject") protected TenderedProjectType awardedTenderedProject; @XmlElement(name = "ContractFormalizationPeriod") protected PeriodType contractFormalizationPeriod; @XmlElement(name = "SubcontractTerms") protected List subcontractTerms; @XmlElement(name = "WinningParty") protected List winningParty; /** * Gets the value of the tenderResultCode property. * * @return * possible object is * {@link TenderResultCodeType } * */ public TenderResultCodeType getTenderResultCode() { return tenderResultCode; } /** * Sets the value of the tenderResultCode property. * * @param value * allowed object is * {@link TenderResultCodeType } * */ public void setTenderResultCode(TenderResultCodeType value) { this.tenderResultCode = 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; } /** * Gets the value of the advertisementAmount property. * * @return * possible object is * {@link AdvertisementAmountType } * */ public AdvertisementAmountType getAdvertisementAmount() { return advertisementAmount; } /** * Sets the value of the advertisementAmount property. * * @param value * allowed object is * {@link AdvertisementAmountType } * */ public void setAdvertisementAmount(AdvertisementAmountType value) { this.advertisementAmount = value; } /** * Gets the value of the awardDate property. * * @return * possible object is * {@link AwardDateType } * */ public AwardDateType getAwardDate() { return awardDate; } /** * Sets the value of the awardDate property. * * @param value * allowed object is * {@link AwardDateType } * */ public void setAwardDate(AwardDateType value) { this.awardDate = value; } /** * Gets the value of the awardTime property. * * @return * possible object is * {@link AwardTimeType } * */ public AwardTimeType getAwardTime() { return awardTime; } /** * Sets the value of the awardTime property. * * @param value * allowed object is * {@link AwardTimeType } * */ public void setAwardTime(AwardTimeType value) { this.awardTime = value; } /** * Gets the value of the receivedTenderQuantity property. * * @return * possible object is * {@link ReceivedTenderQuantityType } * */ public ReceivedTenderQuantityType getReceivedTenderQuantity() { return receivedTenderQuantity; } /** * Sets the value of the receivedTenderQuantity property. * * @param value * allowed object is * {@link ReceivedTenderQuantityType } * */ public void setReceivedTenderQuantity(ReceivedTenderQuantityType value) { this.receivedTenderQuantity = value; } /** * Gets the value of the lowerTenderAmount property. * * @return * possible object is * {@link LowerTenderAmountType } * */ public LowerTenderAmountType getLowerTenderAmount() { return lowerTenderAmount; } /** * Sets the value of the lowerTenderAmount property. * * @param value * allowed object is * {@link LowerTenderAmountType } * */ public void setLowerTenderAmount(LowerTenderAmountType value) { this.lowerTenderAmount = value; } /** * Gets the value of the higherTenderAmount property. * * @return * possible object is * {@link HigherTenderAmountType } * */ public HigherTenderAmountType getHigherTenderAmount() { return higherTenderAmount; } /** * Sets the value of the higherTenderAmount property. * * @param value * allowed object is * {@link HigherTenderAmountType } * */ public void setHigherTenderAmount(HigherTenderAmountType value) { this.higherTenderAmount = value; } /** * Gets the value of the startDate property. * * @return * possible object is * {@link StartDateType } * */ public StartDateType getStartDate() { return startDate; } /** * Sets the value of the startDate property. * * @param value * allowed object is * {@link StartDateType } * */ public void setStartDate(StartDateType value) { this.startDate = value; } /** * Gets the value of the receivedElectronicTenderQuantity property. * * @return * possible object is * {@link ReceivedElectronicTenderQuantityType } * */ public ReceivedElectronicTenderQuantityType getReceivedElectronicTenderQuantity() { return receivedElectronicTenderQuantity; } /** * Sets the value of the receivedElectronicTenderQuantity property. * * @param value * allowed object is * {@link ReceivedElectronicTenderQuantityType } * */ public void setReceivedElectronicTenderQuantity(ReceivedElectronicTenderQuantityType value) { this.receivedElectronicTenderQuantity = value; } /** * Gets the value of the receivedForeignTenderQuantity property. * * @return * possible object is * {@link ReceivedForeignTenderQuantityType } * */ public ReceivedForeignTenderQuantityType getReceivedForeignTenderQuantity() { return receivedForeignTenderQuantity; } /** * Sets the value of the receivedForeignTenderQuantity property. * * @param value * allowed object is * {@link ReceivedForeignTenderQuantityType } * */ public void setReceivedForeignTenderQuantity(ReceivedForeignTenderQuantityType value) { this.receivedForeignTenderQuantity = value; } /** * Gets the value of the contract property. * * @return * possible object is * {@link ContractType } * */ public ContractType getContract() { return contract; } /** * Sets the value of the contract property. * * @param value * allowed object is * {@link ContractType } * */ public void setContract(ContractType value) { this.contract = value; } /** * Gets the value of the awardedTenderedProject property. * * @return * possible object is * {@link TenderedProjectType } * */ public TenderedProjectType getAwardedTenderedProject() { return awardedTenderedProject; } /** * Sets the value of the awardedTenderedProject property. * * @param value * allowed object is * {@link TenderedProjectType } * */ public void setAwardedTenderedProject(TenderedProjectType value) { this.awardedTenderedProject = value; } /** * Gets the value of the contractFormalizationPeriod property. * * @return * possible object is * {@link PeriodType } * */ public PeriodType getContractFormalizationPeriod() { return contractFormalizationPeriod; } /** * Sets the value of the contractFormalizationPeriod property. * * @param value * allowed object is * {@link PeriodType } * */ public void setContractFormalizationPeriod(PeriodType value) { this.contractFormalizationPeriod = value; } /** * Gets the value of the subcontractTerms 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 subcontractTerms property. * *

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

     *    getSubcontractTerms().add(newItem);
     * 
* * *

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

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

     *    getWinningParty().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link WinningPartyType } * * */ public List getWinningParty() { if (winningParty == null) { winningParty = new ArrayList(); } return this.winningParty; } public String toString() { final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { TenderResultCodeType theTenderResultCode; theTenderResultCode = this.getTenderResultCode(); strategy.appendField(locator, this, "tenderResultCode", buffer, theTenderResultCode); } { List theDescription; theDescription = (((this.description!= null)&&(!this.description.isEmpty()))?this.getDescription():null); strategy.appendField(locator, this, "description", buffer, theDescription); } { AdvertisementAmountType theAdvertisementAmount; theAdvertisementAmount = this.getAdvertisementAmount(); strategy.appendField(locator, this, "advertisementAmount", buffer, theAdvertisementAmount); } { AwardDateType theAwardDate; theAwardDate = this.getAwardDate(); strategy.appendField(locator, this, "awardDate", buffer, theAwardDate); } { AwardTimeType theAwardTime; theAwardTime = this.getAwardTime(); strategy.appendField(locator, this, "awardTime", buffer, theAwardTime); } { ReceivedTenderQuantityType theReceivedTenderQuantity; theReceivedTenderQuantity = this.getReceivedTenderQuantity(); strategy.appendField(locator, this, "receivedTenderQuantity", buffer, theReceivedTenderQuantity); } { LowerTenderAmountType theLowerTenderAmount; theLowerTenderAmount = this.getLowerTenderAmount(); strategy.appendField(locator, this, "lowerTenderAmount", buffer, theLowerTenderAmount); } { HigherTenderAmountType theHigherTenderAmount; theHigherTenderAmount = this.getHigherTenderAmount(); strategy.appendField(locator, this, "higherTenderAmount", buffer, theHigherTenderAmount); } { StartDateType theStartDate; theStartDate = this.getStartDate(); strategy.appendField(locator, this, "startDate", buffer, theStartDate); } { ReceivedElectronicTenderQuantityType theReceivedElectronicTenderQuantity; theReceivedElectronicTenderQuantity = this.getReceivedElectronicTenderQuantity(); strategy.appendField(locator, this, "receivedElectronicTenderQuantity", buffer, theReceivedElectronicTenderQuantity); } { ReceivedForeignTenderQuantityType theReceivedForeignTenderQuantity; theReceivedForeignTenderQuantity = this.getReceivedForeignTenderQuantity(); strategy.appendField(locator, this, "receivedForeignTenderQuantity", buffer, theReceivedForeignTenderQuantity); } { ContractType theContract; theContract = this.getContract(); strategy.appendField(locator, this, "contract", buffer, theContract); } { TenderedProjectType theAwardedTenderedProject; theAwardedTenderedProject = this.getAwardedTenderedProject(); strategy.appendField(locator, this, "awardedTenderedProject", buffer, theAwardedTenderedProject); } { PeriodType theContractFormalizationPeriod; theContractFormalizationPeriod = this.getContractFormalizationPeriod(); strategy.appendField(locator, this, "contractFormalizationPeriod", buffer, theContractFormalizationPeriod); } { List theSubcontractTerms; theSubcontractTerms = (((this.subcontractTerms!= null)&&(!this.subcontractTerms.isEmpty()))?this.getSubcontractTerms():null); strategy.appendField(locator, this, "subcontractTerms", buffer, theSubcontractTerms); } { List theWinningParty; theWinningParty = (((this.winningParty!= null)&&(!this.winningParty.isEmpty()))?this.getWinningParty():null); strategy.appendField(locator, this, "winningParty", buffer, theWinningParty); } return buffer; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof TenderResultType)) { return false; } if (this == object) { return true; } final TenderResultType that = ((TenderResultType) object); { TenderResultCodeType lhsTenderResultCode; lhsTenderResultCode = this.getTenderResultCode(); TenderResultCodeType rhsTenderResultCode; rhsTenderResultCode = that.getTenderResultCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "tenderResultCode", lhsTenderResultCode), LocatorUtils.property(thatLocator, "tenderResultCode", rhsTenderResultCode), lhsTenderResultCode, rhsTenderResultCode)) { 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)) { return false; } } { AdvertisementAmountType lhsAdvertisementAmount; lhsAdvertisementAmount = this.getAdvertisementAmount(); AdvertisementAmountType rhsAdvertisementAmount; rhsAdvertisementAmount = that.getAdvertisementAmount(); if (!strategy.equals(LocatorUtils.property(thisLocator, "advertisementAmount", lhsAdvertisementAmount), LocatorUtils.property(thatLocator, "advertisementAmount", rhsAdvertisementAmount), lhsAdvertisementAmount, rhsAdvertisementAmount)) { return false; } } { AwardDateType lhsAwardDate; lhsAwardDate = this.getAwardDate(); AwardDateType rhsAwardDate; rhsAwardDate = that.getAwardDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "awardDate", lhsAwardDate), LocatorUtils.property(thatLocator, "awardDate", rhsAwardDate), lhsAwardDate, rhsAwardDate)) { return false; } } { AwardTimeType lhsAwardTime; lhsAwardTime = this.getAwardTime(); AwardTimeType rhsAwardTime; rhsAwardTime = that.getAwardTime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "awardTime", lhsAwardTime), LocatorUtils.property(thatLocator, "awardTime", rhsAwardTime), lhsAwardTime, rhsAwardTime)) { return false; } } { ReceivedTenderQuantityType lhsReceivedTenderQuantity; lhsReceivedTenderQuantity = this.getReceivedTenderQuantity(); ReceivedTenderQuantityType rhsReceivedTenderQuantity; rhsReceivedTenderQuantity = that.getReceivedTenderQuantity(); if (!strategy.equals(LocatorUtils.property(thisLocator, "receivedTenderQuantity", lhsReceivedTenderQuantity), LocatorUtils.property(thatLocator, "receivedTenderQuantity", rhsReceivedTenderQuantity), lhsReceivedTenderQuantity, rhsReceivedTenderQuantity)) { return false; } } { LowerTenderAmountType lhsLowerTenderAmount; lhsLowerTenderAmount = this.getLowerTenderAmount(); LowerTenderAmountType rhsLowerTenderAmount; rhsLowerTenderAmount = that.getLowerTenderAmount(); if (!strategy.equals(LocatorUtils.property(thisLocator, "lowerTenderAmount", lhsLowerTenderAmount), LocatorUtils.property(thatLocator, "lowerTenderAmount", rhsLowerTenderAmount), lhsLowerTenderAmount, rhsLowerTenderAmount)) { return false; } } { HigherTenderAmountType lhsHigherTenderAmount; lhsHigherTenderAmount = this.getHigherTenderAmount(); HigherTenderAmountType rhsHigherTenderAmount; rhsHigherTenderAmount = that.getHigherTenderAmount(); if (!strategy.equals(LocatorUtils.property(thisLocator, "higherTenderAmount", lhsHigherTenderAmount), LocatorUtils.property(thatLocator, "higherTenderAmount", rhsHigherTenderAmount), lhsHigherTenderAmount, rhsHigherTenderAmount)) { return false; } } { StartDateType lhsStartDate; lhsStartDate = this.getStartDate(); StartDateType rhsStartDate; rhsStartDate = that.getStartDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "startDate", lhsStartDate), LocatorUtils.property(thatLocator, "startDate", rhsStartDate), lhsStartDate, rhsStartDate)) { return false; } } { ReceivedElectronicTenderQuantityType lhsReceivedElectronicTenderQuantity; lhsReceivedElectronicTenderQuantity = this.getReceivedElectronicTenderQuantity(); ReceivedElectronicTenderQuantityType rhsReceivedElectronicTenderQuantity; rhsReceivedElectronicTenderQuantity = that.getReceivedElectronicTenderQuantity(); if (!strategy.equals(LocatorUtils.property(thisLocator, "receivedElectronicTenderQuantity", lhsReceivedElectronicTenderQuantity), LocatorUtils.property(thatLocator, "receivedElectronicTenderQuantity", rhsReceivedElectronicTenderQuantity), lhsReceivedElectronicTenderQuantity, rhsReceivedElectronicTenderQuantity)) { return false; } } { ReceivedForeignTenderQuantityType lhsReceivedForeignTenderQuantity; lhsReceivedForeignTenderQuantity = this.getReceivedForeignTenderQuantity(); ReceivedForeignTenderQuantityType rhsReceivedForeignTenderQuantity; rhsReceivedForeignTenderQuantity = that.getReceivedForeignTenderQuantity(); if (!strategy.equals(LocatorUtils.property(thisLocator, "receivedForeignTenderQuantity", lhsReceivedForeignTenderQuantity), LocatorUtils.property(thatLocator, "receivedForeignTenderQuantity", rhsReceivedForeignTenderQuantity), lhsReceivedForeignTenderQuantity, rhsReceivedForeignTenderQuantity)) { return false; } } { ContractType lhsContract; lhsContract = this.getContract(); ContractType rhsContract; rhsContract = that.getContract(); if (!strategy.equals(LocatorUtils.property(thisLocator, "contract", lhsContract), LocatorUtils.property(thatLocator, "contract", rhsContract), lhsContract, rhsContract)) { return false; } } { TenderedProjectType lhsAwardedTenderedProject; lhsAwardedTenderedProject = this.getAwardedTenderedProject(); TenderedProjectType rhsAwardedTenderedProject; rhsAwardedTenderedProject = that.getAwardedTenderedProject(); if (!strategy.equals(LocatorUtils.property(thisLocator, "awardedTenderedProject", lhsAwardedTenderedProject), LocatorUtils.property(thatLocator, "awardedTenderedProject", rhsAwardedTenderedProject), lhsAwardedTenderedProject, rhsAwardedTenderedProject)) { return false; } } { PeriodType lhsContractFormalizationPeriod; lhsContractFormalizationPeriod = this.getContractFormalizationPeriod(); PeriodType rhsContractFormalizationPeriod; rhsContractFormalizationPeriod = that.getContractFormalizationPeriod(); if (!strategy.equals(LocatorUtils.property(thisLocator, "contractFormalizationPeriod", lhsContractFormalizationPeriod), LocatorUtils.property(thatLocator, "contractFormalizationPeriod", rhsContractFormalizationPeriod), lhsContractFormalizationPeriod, rhsContractFormalizationPeriod)) { return false; } } { List lhsSubcontractTerms; lhsSubcontractTerms = (((this.subcontractTerms!= null)&&(!this.subcontractTerms.isEmpty()))?this.getSubcontractTerms():null); List rhsSubcontractTerms; rhsSubcontractTerms = (((that.subcontractTerms!= null)&&(!that.subcontractTerms.isEmpty()))?that.getSubcontractTerms():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "subcontractTerms", lhsSubcontractTerms), LocatorUtils.property(thatLocator, "subcontractTerms", rhsSubcontractTerms), lhsSubcontractTerms, rhsSubcontractTerms)) { return false; } } { List lhsWinningParty; lhsWinningParty = (((this.winningParty!= null)&&(!this.winningParty.isEmpty()))?this.getWinningParty():null); List rhsWinningParty; rhsWinningParty = (((that.winningParty!= null)&&(!that.winningParty.isEmpty()))?that.getWinningParty():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "winningParty", lhsWinningParty), LocatorUtils.property(thatLocator, "winningParty", rhsWinningParty), lhsWinningParty, rhsWinningParty)) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { TenderResultCodeType theTenderResultCode; theTenderResultCode = this.getTenderResultCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tenderResultCode", theTenderResultCode), currentHashCode, theTenderResultCode); } { List theDescription; theDescription = (((this.description!= null)&&(!this.description.isEmpty()))?this.getDescription():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "description", theDescription), currentHashCode, theDescription); } { AdvertisementAmountType theAdvertisementAmount; theAdvertisementAmount = this.getAdvertisementAmount(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "advertisementAmount", theAdvertisementAmount), currentHashCode, theAdvertisementAmount); } { AwardDateType theAwardDate; theAwardDate = this.getAwardDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awardDate", theAwardDate), currentHashCode, theAwardDate); } { AwardTimeType theAwardTime; theAwardTime = this.getAwardTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awardTime", theAwardTime), currentHashCode, theAwardTime); } { ReceivedTenderQuantityType theReceivedTenderQuantity; theReceivedTenderQuantity = this.getReceivedTenderQuantity(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "receivedTenderQuantity", theReceivedTenderQuantity), currentHashCode, theReceivedTenderQuantity); } { LowerTenderAmountType theLowerTenderAmount; theLowerTenderAmount = this.getLowerTenderAmount(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lowerTenderAmount", theLowerTenderAmount), currentHashCode, theLowerTenderAmount); } { HigherTenderAmountType theHigherTenderAmount; theHigherTenderAmount = this.getHigherTenderAmount(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "higherTenderAmount", theHigherTenderAmount), currentHashCode, theHigherTenderAmount); } { StartDateType theStartDate; theStartDate = this.getStartDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "startDate", theStartDate), currentHashCode, theStartDate); } { ReceivedElectronicTenderQuantityType theReceivedElectronicTenderQuantity; theReceivedElectronicTenderQuantity = this.getReceivedElectronicTenderQuantity(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "receivedElectronicTenderQuantity", theReceivedElectronicTenderQuantity), currentHashCode, theReceivedElectronicTenderQuantity); } { ReceivedForeignTenderQuantityType theReceivedForeignTenderQuantity; theReceivedForeignTenderQuantity = this.getReceivedForeignTenderQuantity(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "receivedForeignTenderQuantity", theReceivedForeignTenderQuantity), currentHashCode, theReceivedForeignTenderQuantity); } { ContractType theContract; theContract = this.getContract(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contract", theContract), currentHashCode, theContract); } { TenderedProjectType theAwardedTenderedProject; theAwardedTenderedProject = this.getAwardedTenderedProject(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awardedTenderedProject", theAwardedTenderedProject), currentHashCode, theAwardedTenderedProject); } { PeriodType theContractFormalizationPeriod; theContractFormalizationPeriod = this.getContractFormalizationPeriod(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contractFormalizationPeriod", theContractFormalizationPeriod), currentHashCode, theContractFormalizationPeriod); } { List theSubcontractTerms; theSubcontractTerms = (((this.subcontractTerms!= null)&&(!this.subcontractTerms.isEmpty()))?this.getSubcontractTerms():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subcontractTerms", theSubcontractTerms), currentHashCode, theSubcontractTerms); } { List theWinningParty; theWinningParty = (((this.winningParty!= null)&&(!this.winningParty.isEmpty()))?this.getWinningParty():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "winningParty", theWinningParty), currentHashCode, theWinningParty); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy