net.finmath.smartcontract.product.xml.FxSwap Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.12.05 at 10:53:57 AM CET
//
package net.finmath.smartcontract.product.xml;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* A type defining either a spot/forward or forward/forward FX swap
* transaction.
*
*
* Java class for FxSwap complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="FxSwap">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}Product">
* <sequence>
* <element name="nearLeg" type="{http://www.fpml.org/FpML-5/confirmation}FxSwapLeg"/>
* <element name="farLeg" type="{http://www.fpml.org/FpML-5/confirmation}FxSwapLeg"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FxSwap", propOrder = {
"nearLeg",
"farLeg"
})
public class FxSwap
extends Product
{
@XmlElement(required = true)
protected FxSwapLeg nearLeg;
@XmlElement(required = true)
protected FxSwapLeg farLeg;
/**
* Gets the value of the nearLeg property.
*
* @return
* possible object is
* {@link FxSwapLeg }
*
*/
public FxSwapLeg getNearLeg() {
return nearLeg;
}
/**
* Sets the value of the nearLeg property.
*
* @param value
* allowed object is
* {@link FxSwapLeg }
*
*/
public void setNearLeg(FxSwapLeg value) {
this.nearLeg = value;
}
/**
* Gets the value of the farLeg property.
*
* @return
* possible object is
* {@link FxSwapLeg }
*
*/
public FxSwapLeg getFarLeg() {
return farLeg;
}
/**
* Sets the value of the farLeg property.
*
* @param value
* allowed object is
* {@link FxSwapLeg }
*
*/
public void setFarLeg(FxSwapLeg value) {
this.farLeg = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy