|
||||||||||
| 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.InterestAtMaturitySecurity
public class InterestAtMaturitySecurity
An interest at maturity implementation of Security.
| Constructor Summary | |
|---|---|
InterestAtMaturitySecurity(Market market)
Creates an InterestAtMaturitySecurity object of the given Market. |
|
InterestAtMaturitySecurity(Market market,
FISADate maturityDate,
double interestRate,
FISADate datedDate)
Creates an InterestAtMaturitySecurity object of the given Market. |
|
| Method Summary | |
|---|---|
Calculator |
getCalculator(FISADate settlementDate,
Redemption redemption)
Get a Calculator for this InterestAtMaturitySecurity and provided
settlementDate to Redemption period using the overriding
DayCountBasis. |
double |
getInterestRate()
Get the interest rate. |
void |
setInterestRate(double interestRate)
Set the interest rate. |
void |
validateData(FISADate settlementDate,
FISADate redemptionDate)
|
| 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 InterestAtMaturitySecurity(Market market)
Market.
market - required and immutable Market for
this security. This constructor will throw a
java.lang.NullPointerException if Market is null.
public InterestAtMaturitySecurity(Market market,
FISADate maturityDate,
double interestRate,
FISADate datedDate)
Market.
market - required and immutable Market for
this security. This constructor will throw a
java.lang.NullPointerException if Market is null.maturityDate - the maturity date for this SecurityinterestRate - the interest rate for this SecuritydatedDate - the dated date or issue date| Method Detail |
|---|
public double getInterestRate()
public void setInterestRate(double interestRate)
interestRate - The new interest rate.
public Calculator getCalculator(FISADate settlementDate,
Redemption redemption)
throws CalculationException
Calculator for this InterestAtMaturitySecurity 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
public void validateData(FISADate settlementDate,
FISADate redemptionDate)
throws CalculationException
CalculationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||