WebCab Bonds Demo
(J2EE Edition)

com.webcab.ejb.finance.interest
Interface ValueOfAnnuityCertainLocal

All Superinterfaces:
EJBLocalObject

public interface ValueOfAnnuityCertainLocal
extends EJBLocalObject

Local interface of ValueOfAnnuityCertain. This interface provides the same functionality as the ValueOfAnnuityCertain remote interface.

See Also:
ValueOfAnnuityCertain

Method Summary
 double accumulatedSeriesOfPayments(double interest, int noOfIntervals)
          Method accumulatedSeriesOfPayments(double, int) as defined in the ValueOfAnnuityCertain remote interface.
 double accumulatedSeriesOfPaymentsInAdvance(double interest, int noOfIntervals)
          Method accumulatedSeriesOfPaymentsInAdvance(double, int) as defined in the ValueOfAnnuityCertain remote interface.
 double continuousSeriesOfPaymentsAtEndOfInterval(double discountingRate, double ratio, double initialPayment)
          Method continuousSeriesOfPaymentsAtEndOfInterval(double, double, double) as defined in the ValueOfAnnuityCertain remote interface.
 double paymentsOfOnePerInterval(double discountingRate, int noOfIntervals)
          Method paymentsOfOnePerInterval(double, int) as defined in the ValueOfAnnuityCertain remote interface.
 double paymentsOfOnePerIntervalInAdvance(double discountingRate, int noOfIntervals)
          Method paymentsOfOnePerIntervalInAdvance(double, int) as defined in the ValueOfAnnuityCertain remote interface.
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

accumulatedSeriesOfPayments

public double accumulatedSeriesOfPayments(double interest,
                                          int noOfIntervals)
                                   throws ValueOfAnnuityCertainDemoException
Method accumulatedSeriesOfPayments(double, int) as defined in the ValueOfAnnuityCertain remote interface.

Description copied from the ValueOfAnnuityCertain interface:

Evaluates the accumulated value of a series of payments of one per interval payable in arrears over all intervals.

Parameters:
interest - the fixed interest rate paid by the investment in decimal format (i.e. 1 percent = 0.01)
noOfIntervals - the number of intervals or equivalently the number of payments.
ValueOfAnnuityCertainDemoException
See Also:
ValueOfAnnuityCertain.accumulatedSeriesOfPayments(double, int)

accumulatedSeriesOfPaymentsInAdvance

public double accumulatedSeriesOfPaymentsInAdvance(double interest,
                                                   int noOfIntervals)
                                            throws ValueOfAnnuityCertainDemoException
Method accumulatedSeriesOfPaymentsInAdvance(double, int) as defined in the ValueOfAnnuityCertain remote interface.

Description copied from the ValueOfAnnuityCertain interface:

Evaluates the accumulated value of a series of payments of one per interval payable in advance for all intervals.

Parameters:
interest - the fixed interest rate paid by the investment in decimal format (i.e. 1 percent = 0.01)
noOfIntervals - the number of intervals or equivalently the number of payments.
ValueOfAnnuityCertainDemoException
See Also:
ValueOfAnnuityCertain.accumulatedSeriesOfPaymentsInAdvance(double, int)

paymentsOfOnePerInterval

public double paymentsOfOnePerInterval(double discountingRate,
                                       int noOfIntervals)
                                throws ValueOfAnnuityCertainDemoException
Method paymentsOfOnePerInterval(double, int) as defined in the ValueOfAnnuityCertain remote interface.

Description copied from the ValueOfAnnuityCertain interface:

Evaluates the present value of an annuity which consists of a series of payments of one per interval payable in arrears for all intervals.

Parameters:
discountingRate - the fixed rate expressed in decimal format (i.e. 1 percent = 0.01) at which the annuity payments are discounted over each interval. The discounting rate would in practice be equal to the rate of interest which could be obtained on a deposit during a given interval.
noOfIntervals - the number of intervals over which the annuity runs
ValueOfAnnuityCertainDemoException
See Also:
ValueOfAnnuityCertain.paymentsOfOnePerInterval(double, int)

paymentsOfOnePerIntervalInAdvance

public double paymentsOfOnePerIntervalInAdvance(double discountingRate,
                                                int noOfIntervals)
                                         throws ValueOfAnnuityCertainDemoException
Method paymentsOfOnePerIntervalInAdvance(double, int) as defined in the ValueOfAnnuityCertain remote interface.

Description copied from the ValueOfAnnuityCertain interface:

Calculates the present value of an annuity which consists of a series of payments of one per interval payable in advance for all intervals.

Parameters:
discountingRate - the fixed rate expressed in decimal format (i.e. 1 percent = 0.01) at which the annuity payments are discounted over each interval. The discounting rate would in practice be equal to the rate of interest which could be obtained on a deposit during a given interval.
noOfIntervals - number of intervals over which the annuity runs
ValueOfAnnuityCertainDemoException
See Also:
ValueOfAnnuityCertain.paymentsOfOnePerIntervalInAdvance(double, int)

continuousSeriesOfPaymentsAtEndOfInterval

public double continuousSeriesOfPaymentsAtEndOfInterval(double discountingRate,
                                                        double ratio,
                                                        double initialPayment)
                                                 throws InterestException,
                                                        ValueOfAnnuityCertainDemoException
Method continuousSeriesOfPaymentsAtEndOfInterval(double, double, double) as defined in the ValueOfAnnuityCertain remote interface.

Description copied from the ValueOfAnnuityCertain interface:

Evaluates the present value of a continuous annuity, that is, an infinite series of payments with each payment being made at the end of each interval. After the initial payment is made all subsequent payments are a common ratio times the previous payment.

Parameters:
discountingRate - the fixed rate expressed in decimal format (i.e. 1 percent = 0.01) at which the annuity payments are discounted over each interval. The discounting rate would in practice be equal to the rate of interest which could be obtained on a deposit during a given interval.
initialPayment - the initial payment from the annuity
ratio - the common ratio which determining all future payments from the initial payment. This ratio is expressed as a percentage increase of each term over the preceeding one expressed in decimal format (i.e. 1 percent = 0.01)
InterestException
ValueOfAnnuityCertainDemoException
See Also:
ValueOfAnnuityCertain.continuousSeriesOfPaymentsAtEndOfInterval(double, double, double)

WebCab Bonds Demo
(J2EE Edition)