|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ftlabs.fisa.AbstractSecurity
com.ftlabs.fisa.MaturingSecurity
com.ftlabs.fisa.MaturingCallableSecurity
com.ftlabs.fisa.SteppedCouponSecurity
public class SteppedCouponSecurity
A stepped coupon implementation of Security.
| Constructor Summary | |
|---|---|
SteppedCouponSecurity(Market market)
Creates a SteppedCouponSecurity object of the given Market. |
|
| Method Summary | |
|---|---|
Calculator |
getCalculator(FISADate settlementDate,
Redemption redemption)
Get a Calculator for this SteppedCouponSecurity and provided
settlementDate to Redemption period using the overriding
DayCountBasis. |
FISADate |
getFirstInterestDate()
Get the first interest date. |
InterestFrequency |
getInterestFrequency()
Get the current InterestFrequency. |
int |
getInterestFrequencyValue()
A convenience method to get the value of the current InterestFrequency. |
InterestRateSchedule |
getInterestRateSchedule()
Returns the InterestRateSchedule for this SteppedCouponSecurity. |
void |
setFirstInterestDate(FISADate firstInterestDate)
Set the first interest date. |
void |
setInterestFrequency(InterestFrequency interestFrequency)
Set the InterestFrequency. |
void |
setInterestRateSchedule(InterestRateSchedule interestRateSchedule)
Set the interestRateSchedule for this SteppedCouponSecurity. |
protected void |
validateData(FISADate settlementDate,
FISADate redemptionDate,
FISADate lastInterestDate)
|
| Methods inherited from class com.ftlabs.fisa.MaturingCallableSecurity |
|---|
createQuoteAnalytics, getCallSchedule, getRedemptions, setCallSchedule |
| Methods inherited from class com.ftlabs.fisa.MaturingSecurity |
|---|
calculate, calculate, calculateAccruedInterest, calculatePrice, calculatePrice, calculateYield, calculateYield, getCalculator, getMaturity, getMaturityDate, setMaturity, setMaturity, setMaturity |
| Methods inherited from class com.ftlabs.fisa.AbstractSecurity |
|---|
addSecurityInvalidationListener, getDatedDate, getDayCountBasis, getMarket, getParValue, invalidate, isEomAdjust, removeSecurityInvalidationListener, setDatedDate, setDayCountBasis, setEomAdjust, setParValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SteppedCouponSecurity(Market market)
Market.
market - required and immutable Market for
this security. This constructor will throw a
java.lang.NullPointerException if Market is null.| Method Detail |
|---|
public void setInterestRateSchedule(InterestRateSchedule interestRateSchedule)
interestRateSchedule - An InterestRateSchedule.public InterestRateSchedule getInterestRateSchedule()
InterestRateSchedule for this SteppedCouponSecurity.
public final InterestFrequency getInterestFrequency()
InterestFrequency.
InterestFrequency.public final int getInterestFrequencyValue()
InterestFrequency.
InterestFrequency.public final void setInterestFrequency(InterestFrequency interestFrequency)
InterestFrequency.
interestFrequency - The new InterestFrequency.public final FISADate getFirstInterestDate()
public final void setFirstInterestDate(FISADate firstInterestDate)
firstInterestDate - The new first interest date.
public Calculator getCalculator(FISADate settlementDate,
Redemption redemption)
throws CalculationException
Calculator for this SteppedCouponSecurity and provided
settlementDate to Redemption period using the overriding
DayCountBasis.
settlementDate - The binding settlementDate for which all calculations
will be run.redemption - The binding Redemption to which all calculations
will be run.
Calculator for this Security and provided settlementDate
to Redemption period.
com.ftlabs.fis.calc.CalculationException
CalculationException
protected void validateData(FISADate settlementDate,
FISADate redemptionDate,
FISADate lastInterestDate)
throws CalculationException
CalculationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||