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

net.finmath.smartcontract.product.xml.RepoFarLeg 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.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlType;


/**
 * A transaction leg for a repo is equivalent to a single cash transaction. It
 *                 is augmented here to carry some values that are of interest for the repo. Also note that the BuyerSeller
 *                 model in this transaction must be the exact opposite of the one found in the near leg.
 *             
 * 
 * 

Java class for RepoFarLeg complex type. * *

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

 * <complexType name="RepoFarLeg">
 *   <complexContent>
 *     <extension base="{http://www.fpml.org/FpML-5/confirmation}RepoLegBase">
 *       <sequence>
 *         <group ref="{http://www.fpml.org/FpML-5/confirmation}SettlementAmountOrCurrency.model"/>
 *         <element name="fxRate" type="{http://www.fpml.org/FpML-5/confirmation}FxRate" minOccurs="0"/>
 *         <sequence minOccurs="0">
 *           <element name="deliveryMethod" type="{http://www.fpml.org/FpML-5/confirmation}DeliveryMethod"/>
 *           <element name="deliveryDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableOrRelativeDate" minOccurs="0"/>
 *           <element name="collateral" type="{http://www.fpml.org/FpML-5/confirmation}CollateralValuation" maxOccurs="unbounded"/>
 *         </sequence>
 *         <element name="repoInterest" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "RepoFarLeg", propOrder = { "settlementAmount", "settlementCurrency", "fxRate", "deliveryMethod", "deliveryDate", "collateral", "repoInterest" }) public class RepoFarLeg extends RepoLegBase { protected Money settlementAmount; protected Currency settlementCurrency; protected FxRate fxRate; protected DeliveryMethod deliveryMethod; protected AdjustableOrRelativeDate deliveryDate; protected List collateral; protected BigDecimal repoInterest; /** * Gets the value of the settlementAmount property. * * @return * possible object is * {@link Money } * */ public Money getSettlementAmount() { return settlementAmount; } /** * Sets the value of the settlementAmount property. * * @param value * allowed object is * {@link Money } * */ public void setSettlementAmount(Money value) { this.settlementAmount = value; } /** * Gets the value of the settlementCurrency property. * * @return * possible object is * {@link Currency } * */ public Currency getSettlementCurrency() { return settlementCurrency; } /** * Sets the value of the settlementCurrency property. * * @param value * allowed object is * {@link Currency } * */ public void setSettlementCurrency(Currency value) { this.settlementCurrency = value; } /** * Gets the value of the fxRate property. * * @return * possible object is * {@link FxRate } * */ public FxRate getFxRate() { return fxRate; } /** * Sets the value of the fxRate property. * * @param value * allowed object is * {@link FxRate } * */ public void setFxRate(FxRate value) { this.fxRate = value; } /** * Gets the value of the deliveryMethod property. * * @return * possible object is * {@link DeliveryMethod } * */ public DeliveryMethod getDeliveryMethod() { return deliveryMethod; } /** * Sets the value of the deliveryMethod property. * * @param value * allowed object is * {@link DeliveryMethod } * */ public void setDeliveryMethod(DeliveryMethod value) { this.deliveryMethod = value; } /** * Gets the value of the deliveryDate property. * * @return * possible object is * {@link AdjustableOrRelativeDate } * */ public AdjustableOrRelativeDate getDeliveryDate() { return deliveryDate; } /** * Sets the value of the deliveryDate property. * * @param value * allowed object is * {@link AdjustableOrRelativeDate } * */ public void setDeliveryDate(AdjustableOrRelativeDate value) { this.deliveryDate = value; } /** * Gets the value of the collateral 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 collateral property. * *

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

     *    getCollateral().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CollateralValuation } * * */ public List getCollateral() { if (collateral == null) { collateral = new ArrayList(); } return this.collateral; } /** * Gets the value of the repoInterest property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getRepoInterest() { return repoInterest; } /** * Sets the value of the repoInterest property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setRepoInterest(BigDecimal value) { this.repoInterest = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy