com.ftlabs.fisa.calc.cd
Class CDFixedInterestRateCalculatorFactory

java.lang.Object
  extended by com.ftlabs.fisa.calc.cd.CDFixedInterestRateCalculatorFactory
All Implemented Interfaces:
FixedInterestRateCalculatorFactory

public class CDFixedInterestRateCalculatorFactory
extends java.lang.Object
implements FixedInterestRateCalculatorFactory

A FixedInterestRateCalculatorFactory implementation for CD's.


Method Summary
 Calculator createCalculator(FISADate settlementDate, Redemption redemption, double parValue, double interestRate, DayCountBasis dayCountBasis, int interestFrequency, boolean eomAdjust, FISADate datedDate, FISADate firstInterestDate)
           
 Calculator createCalculator(FixedInterestRateSecurity security, FISADate settlementDate, Redemption redemption)
           
static CDFixedInterestRateCalculatorFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static CDFixedInterestRateCalculatorFactory getInstance()

createCalculator

public Calculator createCalculator(FixedInterestRateSecurity security,
                                   FISADate settlementDate,
                                   Redemption redemption)
                            throws CalculationException
Specified by:
createCalculator in interface FixedInterestRateCalculatorFactory
Throws:
CalculationException

createCalculator

public Calculator createCalculator(FISADate settlementDate,
                                   Redemption redemption,
                                   double parValue,
                                   double interestRate,
                                   DayCountBasis dayCountBasis,
                                   int interestFrequency,
                                   boolean eomAdjust,
                                   FISADate datedDate,
                                   FISADate firstInterestDate)
                            throws CalculationException
Throws:
CalculationException