oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.ExchangeRateType 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 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.CalculationRateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ExchangeMarketIDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MathematicOperatorCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.SourceCurrencyBaseRateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.SourceCurrencyCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TargetCurrencyBaseRateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TargetCurrencyCodeType;
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 ExchangeRateType complex type.
*
*
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
*
* <complexType name="ExchangeRateType">
* <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}SourceCurrencyCode"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SourceCurrencyBaseRate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TargetCurrencyCode"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TargetCurrencyBaseRate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ExchangeMarketID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CalculationRate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MathematicOperatorCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Date" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ForeignExchangeContract" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ExchangeRateType", propOrder = {
"ublExtensions",
"sourceCurrencyCode",
"sourceCurrencyBaseRate",
"targetCurrencyCode",
"targetCurrencyBaseRate",
"exchangeMarketID",
"calculationRate",
"mathematicOperatorCode",
"date",
"foreignExchangeContract"
})
public class ExchangeRateType 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 = "SourceCurrencyCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
protected SourceCurrencyCodeType sourceCurrencyCode;
@XmlElement(name = "SourceCurrencyBaseRate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected SourceCurrencyBaseRateType sourceCurrencyBaseRate;
@XmlElement(name = "TargetCurrencyCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
protected TargetCurrencyCodeType targetCurrencyCode;
@XmlElement(name = "TargetCurrencyBaseRate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected TargetCurrencyBaseRateType targetCurrencyBaseRate;
@XmlElement(name = "ExchangeMarketID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ExchangeMarketIDType exchangeMarketID;
@XmlElement(name = "CalculationRate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected CalculationRateType calculationRate;
@XmlElement(name = "MathematicOperatorCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected MathematicOperatorCodeType mathematicOperatorCode;
@XmlElement(name = "Date", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected DateType date;
@XmlElement(name = "ForeignExchangeContract")
protected ContractType foreignExchangeContract;
/**
* 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 sourceCurrencyCode.
*
* @return
* possible object is
* {@link SourceCurrencyCodeType }
*
*/
public SourceCurrencyCodeType getSourceCurrencyCode() {
return sourceCurrencyCode;
}
/**
* Define el valor de la propiedad sourceCurrencyCode.
*
* @param value
* allowed object is
* {@link SourceCurrencyCodeType }
*
*/
public void setSourceCurrencyCode(SourceCurrencyCodeType value) {
this.sourceCurrencyCode = value;
}
/**
* Obtiene el valor de la propiedad sourceCurrencyBaseRate.
*
* @return
* possible object is
* {@link SourceCurrencyBaseRateType }
*
*/
public SourceCurrencyBaseRateType getSourceCurrencyBaseRate() {
return sourceCurrencyBaseRate;
}
/**
* Define el valor de la propiedad sourceCurrencyBaseRate.
*
* @param value
* allowed object is
* {@link SourceCurrencyBaseRateType }
*
*/
public void setSourceCurrencyBaseRate(SourceCurrencyBaseRateType value) {
this.sourceCurrencyBaseRate = value;
}
/**
* Obtiene el valor de la propiedad targetCurrencyCode.
*
* @return
* possible object is
* {@link TargetCurrencyCodeType }
*
*/
public TargetCurrencyCodeType getTargetCurrencyCode() {
return targetCurrencyCode;
}
/**
* Define el valor de la propiedad targetCurrencyCode.
*
* @param value
* allowed object is
* {@link TargetCurrencyCodeType }
*
*/
public void setTargetCurrencyCode(TargetCurrencyCodeType value) {
this.targetCurrencyCode = value;
}
/**
* Obtiene el valor de la propiedad targetCurrencyBaseRate.
*
* @return
* possible object is
* {@link TargetCurrencyBaseRateType }
*
*/
public TargetCurrencyBaseRateType getTargetCurrencyBaseRate() {
return targetCurrencyBaseRate;
}
/**
* Define el valor de la propiedad targetCurrencyBaseRate.
*
* @param value
* allowed object is
* {@link TargetCurrencyBaseRateType }
*
*/
public void setTargetCurrencyBaseRate(TargetCurrencyBaseRateType value) {
this.targetCurrencyBaseRate = value;
}
/**
* Obtiene el valor de la propiedad exchangeMarketID.
*
* @return
* possible object is
* {@link ExchangeMarketIDType }
*
*/
public ExchangeMarketIDType getExchangeMarketID() {
return exchangeMarketID;
}
/**
* Define el valor de la propiedad exchangeMarketID.
*
* @param value
* allowed object is
* {@link ExchangeMarketIDType }
*
*/
public void setExchangeMarketID(ExchangeMarketIDType value) {
this.exchangeMarketID = value;
}
/**
* Obtiene el valor de la propiedad calculationRate.
*
* @return
* possible object is
* {@link CalculationRateType }
*
*/
public CalculationRateType getCalculationRate() {
return calculationRate;
}
/**
* Define el valor de la propiedad calculationRate.
*
* @param value
* allowed object is
* {@link CalculationRateType }
*
*/
public void setCalculationRate(CalculationRateType value) {
this.calculationRate = value;
}
/**
* Obtiene el valor de la propiedad mathematicOperatorCode.
*
* @return
* possible object is
* {@link MathematicOperatorCodeType }
*
*/
public MathematicOperatorCodeType getMathematicOperatorCode() {
return mathematicOperatorCode;
}
/**
* Define el valor de la propiedad mathematicOperatorCode.
*
* @param value
* allowed object is
* {@link MathematicOperatorCodeType }
*
*/
public void setMathematicOperatorCode(MathematicOperatorCodeType value) {
this.mathematicOperatorCode = value;
}
/**
* Obtiene el valor de la propiedad date.
*
* @return
* possible object is
* {@link DateType }
*
*/
public DateType getDate() {
return date;
}
/**
* Define el valor de la propiedad date.
*
* @param value
* allowed object is
* {@link DateType }
*
*/
public void setDate(DateType value) {
this.date = value;
}
/**
* Obtiene el valor de la propiedad foreignExchangeContract.
*
* @return
* possible object is
* {@link ContractType }
*
*/
public ContractType getForeignExchangeContract() {
return foreignExchangeContract;
}
/**
* Define el valor de la propiedad foreignExchangeContract.
*
* @param value
* allowed object is
* {@link ContractType }
*
*/
public void setForeignExchangeContract(ContractType value) {
this.foreignExchangeContract = value;
}
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));
}
{
SourceCurrencyCodeType theSourceCurrencyCode;
theSourceCurrencyCode = this.getSourceCurrencyCode();
strategy.appendField(locator, this, "sourceCurrencyCode", buffer, theSourceCurrencyCode, (this.sourceCurrencyCode!= null));
}
{
SourceCurrencyBaseRateType theSourceCurrencyBaseRate;
theSourceCurrencyBaseRate = this.getSourceCurrencyBaseRate();
strategy.appendField(locator, this, "sourceCurrencyBaseRate", buffer, theSourceCurrencyBaseRate, (this.sourceCurrencyBaseRate!= null));
}
{
TargetCurrencyCodeType theTargetCurrencyCode;
theTargetCurrencyCode = this.getTargetCurrencyCode();
strategy.appendField(locator, this, "targetCurrencyCode", buffer, theTargetCurrencyCode, (this.targetCurrencyCode!= null));
}
{
TargetCurrencyBaseRateType theTargetCurrencyBaseRate;
theTargetCurrencyBaseRate = this.getTargetCurrencyBaseRate();
strategy.appendField(locator, this, "targetCurrencyBaseRate", buffer, theTargetCurrencyBaseRate, (this.targetCurrencyBaseRate!= null));
}
{
ExchangeMarketIDType theExchangeMarketID;
theExchangeMarketID = this.getExchangeMarketID();
strategy.appendField(locator, this, "exchangeMarketID", buffer, theExchangeMarketID, (this.exchangeMarketID!= null));
}
{
CalculationRateType theCalculationRate;
theCalculationRate = this.getCalculationRate();
strategy.appendField(locator, this, "calculationRate", buffer, theCalculationRate, (this.calculationRate!= null));
}
{
MathematicOperatorCodeType theMathematicOperatorCode;
theMathematicOperatorCode = this.getMathematicOperatorCode();
strategy.appendField(locator, this, "mathematicOperatorCode", buffer, theMathematicOperatorCode, (this.mathematicOperatorCode!= null));
}
{
DateType theDate;
theDate = this.getDate();
strategy.appendField(locator, this, "date", buffer, theDate, (this.date!= null));
}
{
ContractType theForeignExchangeContract;
theForeignExchangeContract = this.getForeignExchangeContract();
strategy.appendField(locator, this, "foreignExchangeContract", buffer, theForeignExchangeContract, (this.foreignExchangeContract!= null));
}
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 ExchangeRateType that = ((ExchangeRateType) 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;
}
}
{
SourceCurrencyCodeType lhsSourceCurrencyCode;
lhsSourceCurrencyCode = this.getSourceCurrencyCode();
SourceCurrencyCodeType rhsSourceCurrencyCode;
rhsSourceCurrencyCode = that.getSourceCurrencyCode();
if (!strategy.equals(LocatorUtils.property(thisLocator, "sourceCurrencyCode", lhsSourceCurrencyCode), LocatorUtils.property(thatLocator, "sourceCurrencyCode", rhsSourceCurrencyCode), lhsSourceCurrencyCode, rhsSourceCurrencyCode, (this.sourceCurrencyCode!= null), (that.sourceCurrencyCode!= null))) {
return false;
}
}
{
SourceCurrencyBaseRateType lhsSourceCurrencyBaseRate;
lhsSourceCurrencyBaseRate = this.getSourceCurrencyBaseRate();
SourceCurrencyBaseRateType rhsSourceCurrencyBaseRate;
rhsSourceCurrencyBaseRate = that.getSourceCurrencyBaseRate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "sourceCurrencyBaseRate", lhsSourceCurrencyBaseRate), LocatorUtils.property(thatLocator, "sourceCurrencyBaseRate", rhsSourceCurrencyBaseRate), lhsSourceCurrencyBaseRate, rhsSourceCurrencyBaseRate, (this.sourceCurrencyBaseRate!= null), (that.sourceCurrencyBaseRate!= null))) {
return false;
}
}
{
TargetCurrencyCodeType lhsTargetCurrencyCode;
lhsTargetCurrencyCode = this.getTargetCurrencyCode();
TargetCurrencyCodeType rhsTargetCurrencyCode;
rhsTargetCurrencyCode = that.getTargetCurrencyCode();
if (!strategy.equals(LocatorUtils.property(thisLocator, "targetCurrencyCode", lhsTargetCurrencyCode), LocatorUtils.property(thatLocator, "targetCurrencyCode", rhsTargetCurrencyCode), lhsTargetCurrencyCode, rhsTargetCurrencyCode, (this.targetCurrencyCode!= null), (that.targetCurrencyCode!= null))) {
return false;
}
}
{
TargetCurrencyBaseRateType lhsTargetCurrencyBaseRate;
lhsTargetCurrencyBaseRate = this.getTargetCurrencyBaseRate();
TargetCurrencyBaseRateType rhsTargetCurrencyBaseRate;
rhsTargetCurrencyBaseRate = that.getTargetCurrencyBaseRate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "targetCurrencyBaseRate", lhsTargetCurrencyBaseRate), LocatorUtils.property(thatLocator, "targetCurrencyBaseRate", rhsTargetCurrencyBaseRate), lhsTargetCurrencyBaseRate, rhsTargetCurrencyBaseRate, (this.targetCurrencyBaseRate!= null), (that.targetCurrencyBaseRate!= null))) {
return false;
}
}
{
ExchangeMarketIDType lhsExchangeMarketID;
lhsExchangeMarketID = this.getExchangeMarketID();
ExchangeMarketIDType rhsExchangeMarketID;
rhsExchangeMarketID = that.getExchangeMarketID();
if (!strategy.equals(LocatorUtils.property(thisLocator, "exchangeMarketID", lhsExchangeMarketID), LocatorUtils.property(thatLocator, "exchangeMarketID", rhsExchangeMarketID), lhsExchangeMarketID, rhsExchangeMarketID, (this.exchangeMarketID!= null), (that.exchangeMarketID!= null))) {
return false;
}
}
{
CalculationRateType lhsCalculationRate;
lhsCalculationRate = this.getCalculationRate();
CalculationRateType rhsCalculationRate;
rhsCalculationRate = that.getCalculationRate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "calculationRate", lhsCalculationRate), LocatorUtils.property(thatLocator, "calculationRate", rhsCalculationRate), lhsCalculationRate, rhsCalculationRate, (this.calculationRate!= null), (that.calculationRate!= null))) {
return false;
}
}
{
MathematicOperatorCodeType lhsMathematicOperatorCode;
lhsMathematicOperatorCode = this.getMathematicOperatorCode();
MathematicOperatorCodeType rhsMathematicOperatorCode;
rhsMathematicOperatorCode = that.getMathematicOperatorCode();
if (!strategy.equals(LocatorUtils.property(thisLocator, "mathematicOperatorCode", lhsMathematicOperatorCode), LocatorUtils.property(thatLocator, "mathematicOperatorCode", rhsMathematicOperatorCode), lhsMathematicOperatorCode, rhsMathematicOperatorCode, (this.mathematicOperatorCode!= null), (that.mathematicOperatorCode!= null))) {
return false;
}
}
{
DateType lhsDate;
lhsDate = this.getDate();
DateType rhsDate;
rhsDate = that.getDate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "date", lhsDate), LocatorUtils.property(thatLocator, "date", rhsDate), lhsDate, rhsDate, (this.date!= null), (that.date!= null))) {
return false;
}
}
{
ContractType lhsForeignExchangeContract;
lhsForeignExchangeContract = this.getForeignExchangeContract();
ContractType rhsForeignExchangeContract;
rhsForeignExchangeContract = that.getForeignExchangeContract();
if (!strategy.equals(LocatorUtils.property(thisLocator, "foreignExchangeContract", lhsForeignExchangeContract), LocatorUtils.property(thatLocator, "foreignExchangeContract", rhsForeignExchangeContract), lhsForeignExchangeContract, rhsForeignExchangeContract, (this.foreignExchangeContract!= null), (that.foreignExchangeContract!= null))) {
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));
}
{
SourceCurrencyCodeType theSourceCurrencyCode;
theSourceCurrencyCode = this.getSourceCurrencyCode();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sourceCurrencyCode", theSourceCurrencyCode), currentHashCode, theSourceCurrencyCode, (this.sourceCurrencyCode!= null));
}
{
SourceCurrencyBaseRateType theSourceCurrencyBaseRate;
theSourceCurrencyBaseRate = this.getSourceCurrencyBaseRate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sourceCurrencyBaseRate", theSourceCurrencyBaseRate), currentHashCode, theSourceCurrencyBaseRate, (this.sourceCurrencyBaseRate!= null));
}
{
TargetCurrencyCodeType theTargetCurrencyCode;
theTargetCurrencyCode = this.getTargetCurrencyCode();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "targetCurrencyCode", theTargetCurrencyCode), currentHashCode, theTargetCurrencyCode, (this.targetCurrencyCode!= null));
}
{
TargetCurrencyBaseRateType theTargetCurrencyBaseRate;
theTargetCurrencyBaseRate = this.getTargetCurrencyBaseRate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "targetCurrencyBaseRate", theTargetCurrencyBaseRate), currentHashCode, theTargetCurrencyBaseRate, (this.targetCurrencyBaseRate!= null));
}
{
ExchangeMarketIDType theExchangeMarketID;
theExchangeMarketID = this.getExchangeMarketID();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "exchangeMarketID", theExchangeMarketID), currentHashCode, theExchangeMarketID, (this.exchangeMarketID!= null));
}
{
CalculationRateType theCalculationRate;
theCalculationRate = this.getCalculationRate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "calculationRate", theCalculationRate), currentHashCode, theCalculationRate, (this.calculationRate!= null));
}
{
MathematicOperatorCodeType theMathematicOperatorCode;
theMathematicOperatorCode = this.getMathematicOperatorCode();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mathematicOperatorCode", theMathematicOperatorCode), currentHashCode, theMathematicOperatorCode, (this.mathematicOperatorCode!= null));
}
{
DateType theDate;
theDate = this.getDate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "date", theDate), currentHashCode, theDate, (this.date!= null));
}
{
ContractType theForeignExchangeContract;
theForeignExchangeContract = this.getForeignExchangeContract();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "foreignExchangeContract", theForeignExchangeContract), currentHashCode, theForeignExchangeContract, (this.foreignExchangeContract!= null));
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}