Class FloatingRateOptionBase
java.lang.Object
net.finmath.smartcontract.product.xml.AccrualOptionBase
net.finmath.smartcontract.product.xml.FloatingRateOptionBase
- Direct Known Subclasses:
FloatingRateAccrual
,FloatingRateOption
Specifies the abstract type underlying a floating rate cash accrual
option.
Java class for FloatingRateOptionBase complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FloatingRateOptionBase"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}AccrualOptionBase"> <sequence> <group ref="{http://www.fpml.org/FpML-5/confirmation}FloatingRateIndexLoan.model"/> <element name="spread" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="pikSpread" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected FloatingRateIndexLoan
protected Period
protected BigDecimal
protected BigDecimal
Fields inherited from class net.finmath.smartcontract.product.xml.AccrualOptionBase
accrualOptionId, dayCountFraction, paymentFrequency
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the floatingRateIndex property.Gets the value of the indexTenor property.Gets the value of the pikSpread property.Gets the value of the spread property.void
Sets the value of the floatingRateIndex property.void
setIndexTenor
(Period value) Sets the value of the indexTenor property.void
setPikSpread
(BigDecimal value) Sets the value of the pikSpread property.void
setSpread
(BigDecimal value) Sets the value of the spread property.Methods inherited from class net.finmath.smartcontract.product.xml.AccrualOptionBase
getAccrualOptionId, getDayCountFraction, getPaymentFrequency, setAccrualOptionId, setDayCountFraction, setPaymentFrequency
-
Field Details
-
floatingRateIndex
-
indexTenor
-
spread
-
pikSpread
-
-
Constructor Details
-
FloatingRateOptionBase
public FloatingRateOptionBase()
-
-
Method Details
-
getFloatingRateIndex
Gets the value of the floatingRateIndex property.- Returns:
- possible object is
FloatingRateIndexLoan
-
setFloatingRateIndex
Sets the value of the floatingRateIndex property.- Parameters:
value
- allowed object isFloatingRateIndexLoan
-
getIndexTenor
-
setIndexTenor
-
getSpread
Gets the value of the spread property.- Returns:
- possible object is
BigDecimal
-
setSpread
Sets the value of the spread property.- Parameters:
value
- allowed object isBigDecimal
-
getPikSpread
Gets the value of the pikSpread property.- Returns:
- possible object is
BigDecimal
-
setPikSpread
Sets the value of the pikSpread property.- Parameters:
value
- allowed object isBigDecimal
-