org.jfin.date.accrual.impl
Class FlatNotionalSchedule
- java.lang.Object
-
- org.jfin.date.accrual.impl.FlatNotionalSchedule
-
- All Implemented Interfaces:
- NotionalSchedule
public class FlatNotionalSchedule extends java.lang.Object implements NotionalSchedule
Concrete implementation of NotionalSchedule where there is a single unchanging notional
-
-
Constructor Summary
Constructors Constructor and Description FlatNotionalSchedule()FlatNotionalSchedule(double amount, Iso4217Currency currency)FlatNotionalSchedule(Notional notional)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetAmount()Iso4217CurrencygetCurrency()java.util.List<NotionalPeriod>getNotionalPeriodsBetween(java.util.Calendar startDate, java.util.Calendar endDate)voidsetAmount(double amount)voidsetCurrency(Iso4217Currency currency)
-
-
-
Constructor Detail
-
FlatNotionalSchedule
public FlatNotionalSchedule()
-
FlatNotionalSchedule
public FlatNotionalSchedule(Notional notional)
-
FlatNotionalSchedule
public FlatNotionalSchedule(double amount, Iso4217Currency currency)
-
-
Method Detail
-
getAmount
public double getAmount()
-
setAmount
public void setAmount(double amount)
-
getCurrency
public Iso4217Currency getCurrency()
-
setCurrency
public void setCurrency(Iso4217Currency currency)
-
getNotionalPeriodsBetween
public java.util.List<NotionalPeriod> getNotionalPeriodsBetween(java.util.Calendar startDate, java.util.Calendar endDate)
- Specified by:
getNotionalPeriodsBetweenin interfaceNotionalSchedule
-
-
DataMelt 3.0 © DataMelt by jWork.ORG