Class FloatingRateCalculation
java.lang.Object
net.finmath.smartcontract.product.xml.Rate
net.finmath.smartcontract.product.xml.FloatingRate
net.finmath.smartcontract.product.xml.FloatingRateCalculation
- Direct Known Subclasses:
InflationRateCalculation
A type defining the floating rate and definitions relating to the
calculation of floating rate amounts.
Java class for FloatingRateCalculation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FloatingRateCalculation"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}FloatingRate"> <sequence> <element name="initialRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="finalRateRounding" type="{http://www.fpml.org/FpML-5/confirmation}Rounding" minOccurs="0"/> <element name="averagingMethod" type="{http://www.fpml.org/FpML-5/confirmation}AveragingMethodEnum" minOccurs="0"/> <element name="negativeInterestRateTreatment" type="{http://www.fpml.org/FpML-5/confirmation}NegativeInterestRateTreatmentEnum" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected AveragingMethodEnum
protected Rounding
protected BigDecimal
protected NegativeInterestRateTreatmentEnum
Fields inherited from class net.finmath.smartcontract.product.xml.FloatingRate
capRateSchedule, floatingRateIndex, floatingRateMultiplierSchedule, floorRateSchedule, indexTenor, rateTreatment, spreadSchedule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the averagingMethod property.Gets the value of the finalRateRounding property.Gets the value of the initialRate property.Gets the value of the negativeInterestRateTreatment property.void
Sets the value of the averagingMethod property.void
setFinalRateRounding
(Rounding value) Sets the value of the finalRateRounding property.void
setInitialRate
(BigDecimal value) Sets the value of the initialRate property.void
Sets the value of the negativeInterestRateTreatment property.Methods inherited from class net.finmath.smartcontract.product.xml.FloatingRate
getCapRateSchedule, getFloatingRateIndex, getFloatingRateMultiplierSchedule, getFloorRateSchedule, getIndexTenor, getRateTreatment, getSpreadSchedule, setFloatingRateIndex, setFloatingRateMultiplierSchedule, setIndexTenor, setRateTreatment
-
Field Details
-
initialRate
-
finalRateRounding
-
averagingMethod
-
negativeInterestRateTreatment
-
-
Constructor Details
-
FloatingRateCalculation
public FloatingRateCalculation()
-
-
Method Details
-
getInitialRate
Gets the value of the initialRate property.- Returns:
- possible object is
BigDecimal
-
setInitialRate
Sets the value of the initialRate property.- Parameters:
value
- allowed object isBigDecimal
-
getFinalRateRounding
-
setFinalRateRounding
-
getAveragingMethod
Gets the value of the averagingMethod property.- Returns:
- possible object is
AveragingMethodEnum
-
setAveragingMethod
Sets the value of the averagingMethod property.- Parameters:
value
- allowed object isAveragingMethodEnum
-
getNegativeInterestRateTreatment
Gets the value of the negativeInterestRateTreatment property.- Returns:
- possible object is
NegativeInterestRateTreatmentEnum
-
setNegativeInterestRateTreatment
Sets the value of the negativeInterestRateTreatment property.- Parameters:
value
- allowed object isNegativeInterestRateTreatmentEnum
-