oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.ContractType 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.ContractTypeCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ContractTypeType;
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.IssueDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IssueTimeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.NominationDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.NominationTimeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.NoteType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.VersionIDType;
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 ContractType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ContractType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <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}IssueDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}IssueTime" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}NominationDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}NominationTime" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ContractTypeCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ContractType" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Note" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}VersionID" 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:CommonAggregateComponents-2}ValidityPeriod" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ContractDocumentReference" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}NominationPeriod" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ContractualDelivery" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ContractType", propOrder = {
"id",
"issueDate",
"issueTime",
"nominationDate",
"nominationTime",
"contractTypeCode",
"contractType",
"note",
"versionID",
"description",
"validityPeriod",
"contractDocumentReference",
"nominationPeriod",
"contractualDelivery"
})
public class ContractType
implements Serializable, Equals, HashCode, ToString
{
private final static long serialVersionUID = 100L;
@XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected IDType id;
@XmlElement(name = "IssueDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected IssueDateType issueDate;
@XmlElement(name = "IssueTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected IssueTimeType issueTime;
@XmlElement(name = "NominationDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected NominationDateType nominationDate;
@XmlElement(name = "NominationTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected NominationTimeType nominationTime;
@XmlElement(name = "ContractTypeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ContractTypeCodeType contractTypeCode;
@XmlElement(name = "ContractType", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ContractTypeType contractType;
@XmlElement(name = "Note", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List note;
@XmlElement(name = "VersionID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected VersionIDType versionID;
@XmlElement(name = "Description", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List description;
@XmlElement(name = "ValidityPeriod")
protected PeriodType validityPeriod;
@XmlElement(name = "ContractDocumentReference")
protected List contractDocumentReference;
@XmlElement(name = "NominationPeriod")
protected PeriodType nominationPeriod;
@XmlElement(name = "ContractualDelivery")
protected DeliveryType contractualDelivery;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link IDType }
*
*/
public IDType getID() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link IDType }
*
*/
public void setID(IDType value) {
this.id = value;
}
/**
* Gets the value of the issueDate property.
*
* @return
* possible object is
* {@link IssueDateType }
*
*/
public IssueDateType getIssueDate() {
return issueDate;
}
/**
* Sets the value of the issueDate property.
*
* @param value
* allowed object is
* {@link IssueDateType }
*
*/
public void setIssueDate(IssueDateType value) {
this.issueDate = value;
}
/**
* Gets the value of the issueTime property.
*
* @return
* possible object is
* {@link IssueTimeType }
*
*/
public IssueTimeType getIssueTime() {
return issueTime;
}
/**
* Sets the value of the issueTime property.
*
* @param value
* allowed object is
* {@link IssueTimeType }
*
*/
public void setIssueTime(IssueTimeType value) {
this.issueTime = value;
}
/**
* Gets the value of the nominationDate property.
*
* @return
* possible object is
* {@link NominationDateType }
*
*/
public NominationDateType getNominationDate() {
return nominationDate;
}
/**
* Sets the value of the nominationDate property.
*
* @param value
* allowed object is
* {@link NominationDateType }
*
*/
public void setNominationDate(NominationDateType value) {
this.nominationDate = value;
}
/**
* Gets the value of the nominationTime property.
*
* @return
* possible object is
* {@link NominationTimeType }
*
*/
public NominationTimeType getNominationTime() {
return nominationTime;
}
/**
* Sets the value of the nominationTime property.
*
* @param value
* allowed object is
* {@link NominationTimeType }
*
*/
public void setNominationTime(NominationTimeType value) {
this.nominationTime = value;
}
/**
* Gets the value of the contractTypeCode property.
*
* @return
* possible object is
* {@link ContractTypeCodeType }
*
*/
public ContractTypeCodeType getContractTypeCode() {
return contractTypeCode;
}
/**
* Sets the value of the contractTypeCode property.
*
* @param value
* allowed object is
* {@link ContractTypeCodeType }
*
*/
public void setContractTypeCode(ContractTypeCodeType value) {
this.contractTypeCode = value;
}
/**
* Gets the value of the contractType property.
*
* @return
* possible object is
* {@link ContractTypeType }
*
*/
public ContractTypeType getContractType() {
return contractType;
}
/**
* Sets the value of the contractType property.
*
* @param value
* allowed object is
* {@link ContractTypeType }
*
*/
public void setContractType(ContractTypeType value) {
this.contractType = value;
}
/**
* Gets the value of the note 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 note property.
*
*
* For example, to add a new item, do as follows:
*
* getNote().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NoteType }
*
*
*/
public List getNote() {
if (note == null) {
note = new ArrayList();
}
return this.note;
}
/**
* Gets the value of the versionID property.
*
* @return
* possible object is
* {@link VersionIDType }
*
*/
public VersionIDType getVersionID() {
return versionID;
}
/**
* Sets the value of the versionID property.
*
* @param value
* allowed object is
* {@link VersionIDType }
*
*/
public void setVersionID(VersionIDType value) {
this.versionID = 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 validityPeriod property.
*
* @return
* possible object is
* {@link PeriodType }
*
*/
public PeriodType getValidityPeriod() {
return validityPeriod;
}
/**
* Sets the value of the validityPeriod property.
*
* @param value
* allowed object is
* {@link PeriodType }
*
*/
public void setValidityPeriod(PeriodType value) {
this.validityPeriod = value;
}
/**
* Gets the value of the contractDocumentReference 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 contractDocumentReference property.
*
*
* For example, to add a new item, do as follows:
*
* getContractDocumentReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentReferenceType }
*
*
*/
public List getContractDocumentReference() {
if (contractDocumentReference == null) {
contractDocumentReference = new ArrayList();
}
return this.contractDocumentReference;
}
/**
* Gets the value of the nominationPeriod property.
*
* @return
* possible object is
* {@link PeriodType }
*
*/
public PeriodType getNominationPeriod() {
return nominationPeriod;
}
/**
* Sets the value of the nominationPeriod property.
*
* @param value
* allowed object is
* {@link PeriodType }
*
*/
public void setNominationPeriod(PeriodType value) {
this.nominationPeriod = value;
}
/**
* Gets the value of the contractualDelivery property.
*
* @return
* possible object is
* {@link DeliveryType }
*
*/
public DeliveryType getContractualDelivery() {
return contractualDelivery;
}
/**
* Sets the value of the contractualDelivery property.
*
* @param value
* allowed object is
* {@link DeliveryType }
*
*/
public void setContractualDelivery(DeliveryType value) {
this.contractualDelivery = value;
}
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) {
{
IDType theID;
theID = this.getID();
strategy.appendField(locator, this, "id", buffer, theID);
}
{
IssueDateType theIssueDate;
theIssueDate = this.getIssueDate();
strategy.appendField(locator, this, "issueDate", buffer, theIssueDate);
}
{
IssueTimeType theIssueTime;
theIssueTime = this.getIssueTime();
strategy.appendField(locator, this, "issueTime", buffer, theIssueTime);
}
{
NominationDateType theNominationDate;
theNominationDate = this.getNominationDate();
strategy.appendField(locator, this, "nominationDate", buffer, theNominationDate);
}
{
NominationTimeType theNominationTime;
theNominationTime = this.getNominationTime();
strategy.appendField(locator, this, "nominationTime", buffer, theNominationTime);
}
{
ContractTypeCodeType theContractTypeCode;
theContractTypeCode = this.getContractTypeCode();
strategy.appendField(locator, this, "contractTypeCode", buffer, theContractTypeCode);
}
{
ContractTypeType theContractType;
theContractType = this.getContractType();
strategy.appendField(locator, this, "contractType", buffer, theContractType);
}
{
List theNote;
theNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null);
strategy.appendField(locator, this, "note", buffer, theNote);
}
{
VersionIDType theVersionID;
theVersionID = this.getVersionID();
strategy.appendField(locator, this, "versionID", buffer, theVersionID);
}
{
List theDescription;
theDescription = (((this.description!= null)&&(!this.description.isEmpty()))?this.getDescription():null);
strategy.appendField(locator, this, "description", buffer, theDescription);
}
{
PeriodType theValidityPeriod;
theValidityPeriod = this.getValidityPeriod();
strategy.appendField(locator, this, "validityPeriod", buffer, theValidityPeriod);
}
{
List theContractDocumentReference;
theContractDocumentReference = (((this.contractDocumentReference!= null)&&(!this.contractDocumentReference.isEmpty()))?this.getContractDocumentReference():null);
strategy.appendField(locator, this, "contractDocumentReference", buffer, theContractDocumentReference);
}
{
PeriodType theNominationPeriod;
theNominationPeriod = this.getNominationPeriod();
strategy.appendField(locator, this, "nominationPeriod", buffer, theNominationPeriod);
}
{
DeliveryType theContractualDelivery;
theContractualDelivery = this.getContractualDelivery();
strategy.appendField(locator, this, "contractualDelivery", buffer, theContractualDelivery);
}
return buffer;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof ContractType)) {
return false;
}
if (this == object) {
return true;
}
final ContractType that = ((ContractType) object);
{
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)) {
return false;
}
}
{
IssueDateType lhsIssueDate;
lhsIssueDate = this.getIssueDate();
IssueDateType rhsIssueDate;
rhsIssueDate = that.getIssueDate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "issueDate", lhsIssueDate), LocatorUtils.property(thatLocator, "issueDate", rhsIssueDate), lhsIssueDate, rhsIssueDate)) {
return false;
}
}
{
IssueTimeType lhsIssueTime;
lhsIssueTime = this.getIssueTime();
IssueTimeType rhsIssueTime;
rhsIssueTime = that.getIssueTime();
if (!strategy.equals(LocatorUtils.property(thisLocator, "issueTime", lhsIssueTime), LocatorUtils.property(thatLocator, "issueTime", rhsIssueTime), lhsIssueTime, rhsIssueTime)) {
return false;
}
}
{
NominationDateType lhsNominationDate;
lhsNominationDate = this.getNominationDate();
NominationDateType rhsNominationDate;
rhsNominationDate = that.getNominationDate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "nominationDate", lhsNominationDate), LocatorUtils.property(thatLocator, "nominationDate", rhsNominationDate), lhsNominationDate, rhsNominationDate)) {
return false;
}
}
{
NominationTimeType lhsNominationTime;
lhsNominationTime = this.getNominationTime();
NominationTimeType rhsNominationTime;
rhsNominationTime = that.getNominationTime();
if (!strategy.equals(LocatorUtils.property(thisLocator, "nominationTime", lhsNominationTime), LocatorUtils.property(thatLocator, "nominationTime", rhsNominationTime), lhsNominationTime, rhsNominationTime)) {
return false;
}
}
{
ContractTypeCodeType lhsContractTypeCode;
lhsContractTypeCode = this.getContractTypeCode();
ContractTypeCodeType rhsContractTypeCode;
rhsContractTypeCode = that.getContractTypeCode();
if (!strategy.equals(LocatorUtils.property(thisLocator, "contractTypeCode", lhsContractTypeCode), LocatorUtils.property(thatLocator, "contractTypeCode", rhsContractTypeCode), lhsContractTypeCode, rhsContractTypeCode)) {
return false;
}
}
{
ContractTypeType lhsContractType;
lhsContractType = this.getContractType();
ContractTypeType rhsContractType;
rhsContractType = that.getContractType();
if (!strategy.equals(LocatorUtils.property(thisLocator, "contractType", lhsContractType), LocatorUtils.property(thatLocator, "contractType", rhsContractType), lhsContractType, rhsContractType)) {
return false;
}
}
{
List lhsNote;
lhsNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null);
List rhsNote;
rhsNote = (((that.note!= null)&&(!that.note.isEmpty()))?that.getNote():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "note", lhsNote), LocatorUtils.property(thatLocator, "note", rhsNote), lhsNote, rhsNote)) {
return false;
}
}
{
VersionIDType lhsVersionID;
lhsVersionID = this.getVersionID();
VersionIDType rhsVersionID;
rhsVersionID = that.getVersionID();
if (!strategy.equals(LocatorUtils.property(thisLocator, "versionID", lhsVersionID), LocatorUtils.property(thatLocator, "versionID", rhsVersionID), lhsVersionID, rhsVersionID)) {
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;
}
}
{
PeriodType lhsValidityPeriod;
lhsValidityPeriod = this.getValidityPeriod();
PeriodType rhsValidityPeriod;
rhsValidityPeriod = that.getValidityPeriod();
if (!strategy.equals(LocatorUtils.property(thisLocator, "validityPeriod", lhsValidityPeriod), LocatorUtils.property(thatLocator, "validityPeriod", rhsValidityPeriod), lhsValidityPeriod, rhsValidityPeriod)) {
return false;
}
}
{
List lhsContractDocumentReference;
lhsContractDocumentReference = (((this.contractDocumentReference!= null)&&(!this.contractDocumentReference.isEmpty()))?this.getContractDocumentReference():null);
List rhsContractDocumentReference;
rhsContractDocumentReference = (((that.contractDocumentReference!= null)&&(!that.contractDocumentReference.isEmpty()))?that.getContractDocumentReference():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "contractDocumentReference", lhsContractDocumentReference), LocatorUtils.property(thatLocator, "contractDocumentReference", rhsContractDocumentReference), lhsContractDocumentReference, rhsContractDocumentReference)) {
return false;
}
}
{
PeriodType lhsNominationPeriod;
lhsNominationPeriod = this.getNominationPeriod();
PeriodType rhsNominationPeriod;
rhsNominationPeriod = that.getNominationPeriod();
if (!strategy.equals(LocatorUtils.property(thisLocator, "nominationPeriod", lhsNominationPeriod), LocatorUtils.property(thatLocator, "nominationPeriod", rhsNominationPeriod), lhsNominationPeriod, rhsNominationPeriod)) {
return false;
}
}
{
DeliveryType lhsContractualDelivery;
lhsContractualDelivery = this.getContractualDelivery();
DeliveryType rhsContractualDelivery;
rhsContractualDelivery = that.getContractualDelivery();
if (!strategy.equals(LocatorUtils.property(thisLocator, "contractualDelivery", lhsContractualDelivery), LocatorUtils.property(thatLocator, "contractualDelivery", rhsContractualDelivery), lhsContractualDelivery, rhsContractualDelivery)) {
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;
{
IDType theID;
theID = this.getID();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theID), currentHashCode, theID);
}
{
IssueDateType theIssueDate;
theIssueDate = this.getIssueDate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "issueDate", theIssueDate), currentHashCode, theIssueDate);
}
{
IssueTimeType theIssueTime;
theIssueTime = this.getIssueTime();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "issueTime", theIssueTime), currentHashCode, theIssueTime);
}
{
NominationDateType theNominationDate;
theNominationDate = this.getNominationDate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "nominationDate", theNominationDate), currentHashCode, theNominationDate);
}
{
NominationTimeType theNominationTime;
theNominationTime = this.getNominationTime();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "nominationTime", theNominationTime), currentHashCode, theNominationTime);
}
{
ContractTypeCodeType theContractTypeCode;
theContractTypeCode = this.getContractTypeCode();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contractTypeCode", theContractTypeCode), currentHashCode, theContractTypeCode);
}
{
ContractTypeType theContractType;
theContractType = this.getContractType();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contractType", theContractType), currentHashCode, theContractType);
}
{
List theNote;
theNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "note", theNote), currentHashCode, theNote);
}
{
VersionIDType theVersionID;
theVersionID = this.getVersionID();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "versionID", theVersionID), currentHashCode, theVersionID);
}
{
List theDescription;
theDescription = (((this.description!= null)&&(!this.description.isEmpty()))?this.getDescription():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "description", theDescription), currentHashCode, theDescription);
}
{
PeriodType theValidityPeriod;
theValidityPeriod = this.getValidityPeriod();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "validityPeriod", theValidityPeriod), currentHashCode, theValidityPeriod);
}
{
List theContractDocumentReference;
theContractDocumentReference = (((this.contractDocumentReference!= null)&&(!this.contractDocumentReference.isEmpty()))?this.getContractDocumentReference():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contractDocumentReference", theContractDocumentReference), currentHashCode, theContractDocumentReference);
}
{
PeriodType theNominationPeriod;
theNominationPeriod = this.getNominationPeriod();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "nominationPeriod", theNominationPeriod), currentHashCode, theNominationPeriod);
}
{
DeliveryType theContractualDelivery;
theContractualDelivery = this.getContractualDelivery();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contractualDelivery", theContractualDelivery), currentHashCode, theContractualDelivery);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}