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

net.finmath.smartcontract.product.xml.FxSingleLeg Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
//
// 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 java.util.ArrayList;
import java.util.List;
import javax.xml.datatype.XMLGregorianCalendar;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;


/**
 * A type defining either a spot or forward FX transactions.
 *             
 * 
 * 

Java class for FxSingleLeg complex type. * *

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

 * <complexType name="FxSingleLeg">
 *   <complexContent>
 *     <extension base="{http://www.fpml.org/FpML-5/confirmation}Product">
 *       <sequence>
 *         <group ref="{http://www.fpml.org/FpML-5/confirmation}FxCoreDetails.model"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FxSingleLeg", propOrder = { "exchangedCurrency1", "exchangedCurrency2", "dealtCurrency", "tenorName", "tenorPeriod", "valueDate", "currency1ValueDate", "currency2ValueDate", "exchangeRate", "nonDeliverableSettlement", "disruption" }) public class FxSingleLeg extends Product { @XmlElement(required = true) protected Payment exchangedCurrency1; @XmlElement(required = true) protected Payment exchangedCurrency2; @XmlSchemaType(name = "token") protected DealtCurrencyEnum dealtCurrency; @XmlSchemaType(name = "token") protected FxTenorPeriodEnum tenorName; protected Period tenorPeriod; @XmlSchemaType(name = "date") protected XMLGregorianCalendar valueDate; @XmlSchemaType(name = "date") protected XMLGregorianCalendar currency1ValueDate; @XmlSchemaType(name = "date") protected XMLGregorianCalendar currency2ValueDate; @XmlElement(required = true) protected ExchangeRate exchangeRate; protected FxCashSettlement nonDeliverableSettlement; protected List disruption; /** * Gets the value of the exchangedCurrency1 property. * * @return * possible object is * {@link Payment } * */ public Payment getExchangedCurrency1() { return exchangedCurrency1; } /** * Sets the value of the exchangedCurrency1 property. * * @param value * allowed object is * {@link Payment } * */ public void setExchangedCurrency1(Payment value) { this.exchangedCurrency1 = value; } /** * Gets the value of the exchangedCurrency2 property. * * @return * possible object is * {@link Payment } * */ public Payment getExchangedCurrency2() { return exchangedCurrency2; } /** * Sets the value of the exchangedCurrency2 property. * * @param value * allowed object is * {@link Payment } * */ public void setExchangedCurrency2(Payment value) { this.exchangedCurrency2 = value; } /** * Gets the value of the dealtCurrency property. * * @return * possible object is * {@link DealtCurrencyEnum } * */ public DealtCurrencyEnum getDealtCurrency() { return dealtCurrency; } /** * Sets the value of the dealtCurrency property. * * @param value * allowed object is * {@link DealtCurrencyEnum } * */ public void setDealtCurrency(DealtCurrencyEnum value) { this.dealtCurrency = value; } /** * Gets the value of the tenorName property. * * @return * possible object is * {@link FxTenorPeriodEnum } * */ public FxTenorPeriodEnum getTenorName() { return tenorName; } /** * Sets the value of the tenorName property. * * @param value * allowed object is * {@link FxTenorPeriodEnum } * */ public void setTenorName(FxTenorPeriodEnum value) { this.tenorName = value; } /** * Gets the value of the tenorPeriod property. * * @return * possible object is * {@link Period } * */ public Period getTenorPeriod() { return tenorPeriod; } /** * Sets the value of the tenorPeriod property. * * @param value * allowed object is * {@link Period } * */ public void setTenorPeriod(Period value) { this.tenorPeriod = value; } /** * Gets the value of the valueDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getValueDate() { return valueDate; } /** * Sets the value of the valueDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setValueDate(XMLGregorianCalendar value) { this.valueDate = value; } /** * Gets the value of the currency1ValueDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getCurrency1ValueDate() { return currency1ValueDate; } /** * Sets the value of the currency1ValueDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setCurrency1ValueDate(XMLGregorianCalendar value) { this.currency1ValueDate = value; } /** * Gets the value of the currency2ValueDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getCurrency2ValueDate() { return currency2ValueDate; } /** * Sets the value of the currency2ValueDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setCurrency2ValueDate(XMLGregorianCalendar value) { this.currency2ValueDate = value; } /** * Gets the value of the exchangeRate property. * * @return * possible object is * {@link ExchangeRate } * */ public ExchangeRate getExchangeRate() { return exchangeRate; } /** * Sets the value of the exchangeRate property. * * @param value * allowed object is * {@link ExchangeRate } * */ public void setExchangeRate(ExchangeRate value) { this.exchangeRate = value; } /** * Gets the value of the nonDeliverableSettlement property. * * @return * possible object is * {@link FxCashSettlement } * */ public FxCashSettlement getNonDeliverableSettlement() { return nonDeliverableSettlement; } /** * Sets the value of the nonDeliverableSettlement property. * * @param value * allowed object is * {@link FxCashSettlement } * */ public void setNonDeliverableSettlement(FxCashSettlement value) { this.nonDeliverableSettlement = value; } /** * Gets the value of the disruption 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 Jakarta XML Binding object. * This is why there is not a set method for the disruption property. * *

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

     *    getDisruption().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link FxDisruption } * * */ public List getDisruption() { if (disruption == null) { disruption = new ArrayList(); } return this.disruption; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy