com.javelin.fpml.ird
Interface Calculation

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable
All Known Implementing Classes:
CalculationBean

public interface Calculation
extends java.lang.Cloneable, java.io.Serializable

Calculation.java

null

Author:
Javelin Software
See Also:
CalculationHome, CalculationSession, CalculationValidator, CalculationBean, com.javelin.fpml.ird.lazy.LazyCalculationBean

Method Summary
 java.lang.Object clone()
          Clone bean without throwing an Exception.
 java.lang.Integer getCalculationKey()
          Get the Calculation Key.
 CalculationPeriodAmount getCalculationPeriodAmountCalculation()
          Get the CalculationPeriodAmountCalculation dependent on this table.
 CompoundingMethod getCompoundingMethod()
          Get the Compounding Method.
 DayCountFraction getDayCountFraction()
          Get the Day Count Fraction.
 Discounting getDiscounting()
          Get the Discounting.
 Schedule getFixedRateSchedule()
          Get the Fixed Rate Schedule.
 FloatingRateCalculation getFloatingRateCalculation()
          Get the Floating Rate Calculation.
 FxLinkedNotionalSchedule getFxLinkedNotionalSchedule()
          Get the Fx Linked Notional Schedule.
 Notional getNotionalSchedule()
          Get the Notional Schedule.
 void setCalculationKey(java.lang.Integer calculationKey)
          Set the Calculation Key.
 void setCalculationPeriodAmountCalculation(CalculationPeriodAmount calculationPeriodAmount)
          Set the CalculationPeriodAmountCalculation dependent on this table.
 void setCompoundingMethod(CompoundingMethod compoundingMethod)
          Set the Compounding Method.
 void setDayCountFraction(DayCountFraction dayCountFraction)
          Set the Day Count Fraction.
 void setDiscounting(Discounting discounting)
          Set the Discounting.
 void setFixedRateSchedule(Schedule fixedRateSchedule)
          Set the Fixed Rate Schedule.
 void setFloatingRateCalculation(FloatingRateCalculation floatingRateCalculation)
          Set the Floating Rate Calculation.
 void setFxLinkedNotionalSchedule(FxLinkedNotionalSchedule fxLinkedNotionalSchedule)
          Set the Fx Linked Notional Schedule.
 void setNotionalSchedule(Notional notionalSchedule)
          Set the Notional Schedule.
 

Method Detail

getCalculationKey

public java.lang.Integer getCalculationKey()
Get the Calculation Key.

Returns:
Integer or null if it has not been set.

setCalculationKey

public void setCalculationKey(java.lang.Integer calculationKey)
                       throws ValidationException
Set the Calculation Key.

Parameters:
calculationKey - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
CalculationValidator

getNotionalSchedule

public Notional getNotionalSchedule()
Get the Notional Schedule.

Returns:
Notional or a default value of null if it has not been set.

setNotionalSchedule

public void setNotionalSchedule(Notional notionalSchedule)
                         throws ValidationException
Set the Notional Schedule.

Parameters:
notionalSchedule - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
CalculationValidator

getFxLinkedNotionalSchedule

public FxLinkedNotionalSchedule getFxLinkedNotionalSchedule()
Get the Fx Linked Notional Schedule.

Returns:
FxLinkedNotionalSchedule or a default value of null if it has not been set.

setFxLinkedNotionalSchedule

public void setFxLinkedNotionalSchedule(FxLinkedNotionalSchedule fxLinkedNotionalSchedule)
                                 throws ValidationException
Set the Fx Linked Notional Schedule.

Parameters:
fxLinkedNotionalSchedule - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
CalculationValidator

getFixedRateSchedule

public Schedule getFixedRateSchedule()
Get the Fixed Rate Schedule.

Returns:
Schedule or a default value of null if it has not been set.

setFixedRateSchedule

public void setFixedRateSchedule(Schedule fixedRateSchedule)
                          throws ValidationException
Set the Fixed Rate Schedule.

Parameters:
fixedRateSchedule - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
CalculationValidator

getFloatingRateCalculation

public FloatingRateCalculation getFloatingRateCalculation()
Get the Floating Rate Calculation.

Returns:
FloatingRateCalculation or a default value of null if it has not been set.

setFloatingRateCalculation

public void setFloatingRateCalculation(FloatingRateCalculation floatingRateCalculation)
                                throws ValidationException
Set the Floating Rate Calculation.

Parameters:
floatingRateCalculation - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
CalculationValidator

getDayCountFraction

public DayCountFraction getDayCountFraction()
Get the Day Count Fraction.

Returns:
DayCountFraction or a default value of null if it has not been set.

setDayCountFraction

public void setDayCountFraction(DayCountFraction dayCountFraction)
                         throws ValidationException
Set the Day Count Fraction.

Parameters:
dayCountFraction - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
CalculationValidator

getDiscounting

public Discounting getDiscounting()
Get the Discounting.

Returns:
Discounting or null if it has not been set.

setDiscounting

public void setDiscounting(Discounting discounting)
                    throws ValidationException
Set the Discounting.

Parameters:
discounting - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
CalculationValidator

getCompoundingMethod

public CompoundingMethod getCompoundingMethod()
Get the Compounding Method.

Returns:
CompoundingMethod or null if it has not been set.

setCompoundingMethod

public void setCompoundingMethod(CompoundingMethod compoundingMethod)
                          throws ValidationException
Set the Compounding Method.

Parameters:
compoundingMethod - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
CalculationValidator

getCalculationPeriodAmountCalculation

public CalculationPeriodAmount getCalculationPeriodAmountCalculation()
                                                              throws ValidationException
Get the CalculationPeriodAmountCalculation dependent on this table.

Returns:
CalculationPeriodAmount.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
Calculation

setCalculationPeriodAmountCalculation

public void setCalculationPeriodAmountCalculation(CalculationPeriodAmount calculationPeriodAmount)
                                           throws ValidationException
Set the CalculationPeriodAmountCalculation dependent on this table.

Throws:
ValidationException - If there was a problem validating the value.
See Also:
Calculation

clone

public java.lang.Object clone()
Clone bean without throwing an Exception.

Overrides:
clone in class java.lang.Object