Class InterestCalculation
java.lang.Object
net.finmath.smartcontract.product.xml.InterestAccrualsMethod
net.finmath.smartcontract.product.xml.InterestCalculation
Specifies the calculation method of the interest rate leg of the return
swap. Includes the floating or fixed rate calculation definitions, along with the determination of the
day count fraction.
Java class for InterestCalculation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="InterestCalculation"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}InterestAccrualsMethod"> <sequence> <element name="dayCountFraction" type="{http://www.fpml.org/FpML-5/confirmation}DayCountFraction"/> <element name="compounding" type="{http://www.fpml.org/FpML-5/confirmation}Compounding" minOccurs="0"/> <sequence minOccurs="0"> <element name="interpolationMethod" type="{http://www.fpml.org/FpML-5/confirmation}InterpolationMethod"/> <element name="interpolationPeriod" type="{http://www.fpml.org/FpML-5/confirmation}InterpolationPeriodEnum" minOccurs="0"/> </sequence> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected Compounding
protected DayCountFraction
protected String
protected InterpolationMethod
protected InterpolationPeriodEnum
Fields inherited from class net.finmath.smartcontract.product.xml.InterestAccrualsMethod
fixedRate, floatingRateCalculation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the compounding property.Gets the value of the dayCountFraction property.getId()
Gets the value of the id property.Gets the value of the interpolationMethod property.Gets the value of the interpolationPeriod property.void
setCompounding
(Compounding value) Sets the value of the compounding property.void
Sets the value of the dayCountFraction property.void
Sets the value of the id property.void
Sets the value of the interpolationMethod property.void
Sets the value of the interpolationPeriod property.Methods inherited from class net.finmath.smartcontract.product.xml.InterestAccrualsMethod
getFixedRate, getFloatingRateCalculation, setFixedRate, setFloatingRateCalculation
-
Field Details
-
dayCountFraction
-
compounding
-
interpolationMethod
-
interpolationPeriod
-
id
-
-
Constructor Details
-
InterestCalculation
public InterestCalculation()
-
-
Method Details
-
getDayCountFraction
Gets the value of the dayCountFraction property.- Returns:
- possible object is
DayCountFraction
-
setDayCountFraction
Sets the value of the dayCountFraction property.- Parameters:
value
- allowed object isDayCountFraction
-
getCompounding
Gets the value of the compounding property.- Returns:
- possible object is
Compounding
-
setCompounding
Sets the value of the compounding property.- Parameters:
value
- allowed object isCompounding
-
getInterpolationMethod
Gets the value of the interpolationMethod property.- Returns:
- possible object is
InterpolationMethod
-
setInterpolationMethod
Sets the value of the interpolationMethod property.- Parameters:
value
- allowed object isInterpolationMethod
-
getInterpolationPeriod
Gets the value of the interpolationPeriod property.- Returns:
- possible object is
InterpolationPeriodEnum
-
setInterpolationPeriod
Sets the value of the interpolationPeriod property.- Parameters:
value
- allowed object isInterpolationPeriodEnum
-
getId
-
setId
-