net.finmath.smartcontract.product.xml.RepoNearLeg 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 java.util.ArrayList;
import java.util.List;
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 transaction leg for a repo is equivalent to a single cash transaction.
*
*
* Java class for RepoNearLeg complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RepoNearLeg">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}RepoLegBase">
* <sequence>
* <element name="settlementAmount" type="{http://www.fpml.org/FpML-5/confirmation}Money"/>
* <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>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RepoNearLeg", propOrder = {
"settlementAmount",
"fxRate",
"deliveryMethod",
"deliveryDate",
"collateral"
})
public class RepoNearLeg
extends RepoLegBase
{
@XmlElement(required = true)
protected Money settlementAmount;
protected FxRate fxRate;
protected DeliveryMethod deliveryMethod;
protected AdjustableOrRelativeDate deliveryDate;
protected List collateral;
/**
* 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 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;
}
}