Class FixedRateAccrual
java.lang.Object
net.finmath.smartcontract.product.xml.AccrualOptionBase
net.finmath.smartcontract.product.xml.FixedRateOptionBase
net.finmath.smartcontract.product.xml.FixedRateAccrual
A full definition of the fixed rate 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 FixedRateAccrual complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FixedRateAccrual">
<complexContent>
<extension base="{http://www.fpml.org/FpML-5/confirmation}FixedRateOptionBase">
<sequence>
<group ref="{http://www.fpml.org/FpML-5/confirmation}PeriodWithDays.model"/>
<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>
<element name="paymentProjection" type="{http://www.fpml.org/FpML-5/confirmation}PaymentProjection" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigDecimalprotected BigDecimalprotected XMLGregorianCalendarprotected BigDecimalprotected BigDecimalprotected PaymentProjectionprotected BigDecimalprotected XMLGregorianCalendarFields inherited from class net.finmath.smartcontract.product.xml.FixedRateOptionBase
pikSpread, rateFields inherited from class net.finmath.smartcontract.product.xml.AccrualOptionBase
accrualOptionId, dayCountFraction, paymentFrequency -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the allInRate 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 startDate property.voidsetAllInRate(BigDecimal value) Sets the value of the allInRate property.voidsetDefaultSpread(BigDecimal value) Sets the value of the defaultSpread property.voidsetEndDate(XMLGregorianCalendar value) Sets the value of the endDate property.voidsetMandatoryCostRate(BigDecimal value) Sets the value of the mandatoryCostRate property.voidsetNumberOfDays(BigDecimal value) Sets the value of the numberOfDays property.voidSets the value of the paymentProjection property.voidsetPenaltySpread(BigDecimal value) Sets the value of the penaltySpread property.voidsetStartDate(XMLGregorianCalendar value) Sets the value of the startDate property.Methods inherited from class net.finmath.smartcontract.product.xml.FixedRateOptionBase
getPikSpread, getRate, setPikSpread, setRateMethods inherited from class net.finmath.smartcontract.product.xml.AccrualOptionBase
getAccrualOptionId, getDayCountFraction, getPaymentFrequency, setAccrualOptionId, setDayCountFraction, setPaymentFrequency
-
Field Details
-
startDate
-
endDate
-
numberOfDays
-
penaltySpread
-
defaultSpread
-
mandatoryCostRate
-
allInRate
-
paymentProjection
-
-
Constructor Details
-
FixedRateAccrual
public FixedRateAccrual()
-
-
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
-
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
-