org.jfin.date.accrual
Class Notional
- java.lang.Object
-
- org.jfin.date.accrual.Notional
-
public class Notional extends java.lang.ObjectUsed to describe a Notional
-
-
Constructor Summary
Constructors Constructor and Description Notional()Default constructorNotional(double amount, Iso4217Currency currency)Utility constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetAmount()Gets the amount (in currency) of the NotionalIso4217CurrencygetCurrency()Gets the currency of the NotionalvoidsetAmount(double amount)Sets the amount (in currency) of the NotionalvoidsetCurrency(Iso4217Currency currency)Sets the currency of the Notional
-
-
-
Constructor Detail
-
Notional
public Notional()
Default constructor
-
Notional
public Notional(double amount, Iso4217Currency currency)Utility constructor- Parameters:
amount- The in currency amountcurrency- The currency of the notional
-
-
Method Detail
-
getAmount
public double getAmount()
Gets the amount (in currency) of the Notional- Returns:
- The amount
-
setAmount
public void setAmount(double amount)
Sets the amount (in currency) of the Notional- Parameters:
amount- The amount
-
getCurrency
public Iso4217Currency getCurrency()
Gets the currency of the Notional- Returns:
- The currency
-
setCurrency
public void setCurrency(Iso4217Currency currency)
Sets the currency of the Notional- Parameters:
currency- The currency
-
-
DataMelt 3.0 © DataMelt by jWork.ORG