net.finmath.smartcontract.product.xml.SwapCurveValuation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finmath-smart-derivative-contract Show documentation
Show all versions of finmath-smart-derivative-contract Show documentation
Project to support the implementation a of smart derivative contract.
//
// 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 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.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
/**
* A complex type to specify a valuation swap curve, which is used as part of
* the strike construct for the bond and convertible bond options.
*
*
* Java class for SwapCurveValuation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SwapCurveValuation">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}FloatingRateIndex.model"/>
* <element name="spread" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="side" type="{http://www.fpml.org/FpML-5/confirmation}QuotationSideEnum" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SwapCurveValuation", propOrder = {
"floatingRateIndex",
"indexTenor",
"spread",
"side"
})
@XmlSeeAlso({
MakeWholeAmount.class
})
public class SwapCurveValuation {
@XmlElement(required = true)
protected FloatingRateIndex floatingRateIndex;
protected Period indexTenor;
@XmlElement(required = true)
protected BigDecimal spread;
@XmlSchemaType(name = "token")
protected QuotationSideEnum side;
/**
* Gets the value of the floatingRateIndex property.
*
* @return
* possible object is
* {@link FloatingRateIndex }
*
*/
public FloatingRateIndex getFloatingRateIndex() {
return floatingRateIndex;
}
/**
* Sets the value of the floatingRateIndex property.
*
* @param value
* allowed object is
* {@link FloatingRateIndex }
*
*/
public void setFloatingRateIndex(FloatingRateIndex value) {
this.floatingRateIndex = value;
}
/**
* Gets the value of the indexTenor property.
*
* @return
* possible object is
* {@link Period }
*
*/
public Period getIndexTenor() {
return indexTenor;
}
/**
* Sets the value of the indexTenor property.
*
* @param value
* allowed object is
* {@link Period }
*
*/
public void setIndexTenor(Period value) {
this.indexTenor = value;
}
/**
* Gets the value of the spread property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSpread() {
return spread;
}
/**
* Sets the value of the spread property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setSpread(BigDecimal value) {
this.spread = value;
}
/**
* Gets the value of the side property.
*
* @return
* possible object is
* {@link QuotationSideEnum }
*
*/
public QuotationSideEnum getSide() {
return side;
}
/**
* Sets the value of the side property.
*
* @param value
* allowed object is
* {@link QuotationSideEnum }
*
*/
public void setSide(QuotationSideEnum value) {
this.side = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy