Class FloatingRateAccrual
java.lang.Object
net.finmath.smartcontract.product.xml.AccrualOptionBase
net.finmath.smartcontract.product.xml.FloatingRateOptionBase
net.finmath.smartcontract.product.xml.FloatingRateAccrual
A full definition of the accrual characteristics of a loan contract. This
structure defines both the underlying base rate as well as any additional margins and costs associated
with the loan contract.
Java class for FloatingRateAccrual complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FloatingRateAccrual"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}FloatingRateOptionBase"> <sequence> <group ref="{http://www.fpml.org/FpML-5/confirmation}PeriodWithDays.model"/> <sequence minOccurs="0"> <sequence> <element name="rateFixingDate" type="{http://www.w3.org/2001/XMLSchema}date"/> <element name="baseRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> </sequence> <sequence minOccurs="0"> <element name="penaltySpread" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="defaultSpread" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="mandatoryCostRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="allInRate" type="{http://www.w3.org/2001/XMLSchema}decimal"/> </sequence> </sequence> <element name="paymentProjection" type="{http://www.fpml.org/FpML-5/confirmation}PaymentProjection" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected BigDecimal
protected BigDecimal
protected XMLGregorianCalendar
protected BigDecimal
protected BigDecimal
protected PaymentProjection
protected BigDecimal
protected XMLGregorianCalendar
protected XMLGregorianCalendar
Fields inherited from class net.finmath.smartcontract.product.xml.FloatingRateOptionBase
floatingRateIndex, indexTenor, pikSpread, spread
Fields inherited from class net.finmath.smartcontract.product.xml.AccrualOptionBase
accrualOptionId, dayCountFraction, paymentFrequency
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the allInRate property.Gets the value of the baseRate property.Gets the value of the defaultSpread property.Gets the value of the endDate property.Gets the value of the mandatoryCostRate property.Gets the value of the numberOfDays property.Gets the value of the paymentProjection property.Gets the value of the penaltySpread property.Gets the value of the rateFixingDate property.Gets the value of the startDate property.void
setAllInRate
(BigDecimal value) Sets the value of the allInRate property.void
setBaseRate
(BigDecimal value) Sets the value of the baseRate property.void
setDefaultSpread
(BigDecimal value) Sets the value of the defaultSpread property.void
setEndDate
(XMLGregorianCalendar value) Sets the value of the endDate property.void
setMandatoryCostRate
(BigDecimal value) Sets the value of the mandatoryCostRate property.void
setNumberOfDays
(BigDecimal value) Sets the value of the numberOfDays property.void
Sets the value of the paymentProjection property.void
setPenaltySpread
(BigDecimal value) Sets the value of the penaltySpread property.void
Sets the value of the rateFixingDate property.void
setStartDate
(XMLGregorianCalendar value) Sets the value of the startDate property.Methods inherited from class net.finmath.smartcontract.product.xml.FloatingRateOptionBase
getFloatingRateIndex, getIndexTenor, getPikSpread, getSpread, setFloatingRateIndex, setIndexTenor, setPikSpread, setSpread
Methods inherited from class net.finmath.smartcontract.product.xml.AccrualOptionBase
getAccrualOptionId, getDayCountFraction, getPaymentFrequency, setAccrualOptionId, setDayCountFraction, setPaymentFrequency
-
Field Details
-
startDate
-
endDate
-
numberOfDays
-
rateFixingDate
-
baseRate
-
penaltySpread
-
defaultSpread
-
mandatoryCostRate
-
allInRate
-
paymentProjection
-
-
Constructor Details
-
FloatingRateAccrual
public FloatingRateAccrual()
-
-
Method Details
-
getStartDate
Gets the value of the startDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setStartDate
Sets the value of the startDate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getEndDate
Gets the value of the endDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setEndDate
Sets the value of the endDate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getNumberOfDays
Gets the value of the numberOfDays property.- Returns:
- possible object is
BigDecimal
-
setNumberOfDays
Sets the value of the numberOfDays property.- Parameters:
value
- allowed object isBigDecimal
-
getRateFixingDate
Gets the value of the rateFixingDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setRateFixingDate
Sets the value of the rateFixingDate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getBaseRate
Gets the value of the baseRate property.- Returns:
- possible object is
BigDecimal
-
setBaseRate
Sets the value of the baseRate property.- Parameters:
value
- allowed object isBigDecimal
-
getPenaltySpread
Gets the value of the penaltySpread property.- Returns:
- possible object is
BigDecimal
-
setPenaltySpread
Sets the value of the penaltySpread property.- Parameters:
value
- allowed object isBigDecimal
-
getDefaultSpread
Gets the value of the defaultSpread property.- Returns:
- possible object is
BigDecimal
-
setDefaultSpread
Sets the value of the defaultSpread property.- Parameters:
value
- allowed object isBigDecimal
-
getMandatoryCostRate
Gets the value of the mandatoryCostRate property.- Returns:
- possible object is
BigDecimal
-
setMandatoryCostRate
Sets the value of the mandatoryCostRate property.- Parameters:
value
- allowed object isBigDecimal
-
getAllInRate
Gets the value of the allInRate property.- Returns:
- possible object is
BigDecimal
-
setAllInRate
Sets the value of the allInRate property.- Parameters:
value
- allowed object isBigDecimal
-
getPaymentProjection
Gets the value of the paymentProjection property.- Returns:
- possible object is
PaymentProjection
-
setPaymentProjection
Sets the value of the paymentProjection property.- Parameters:
value
- allowed object isPaymentProjection
-