Documentation of 'org.jfin.date.accrual.NotionalPeriod' Java class
NotionalPeriod
org.jfin.date.accrual

Class NotionalPeriod

  • All Implemented Interfaces:
    java.lang.Comparable


    public class NotionalPeriod
    extends Period
    Used to model a Notional Period; a period of time during which the notional amount of a trade is unchanged.
    • Constructor Detail

      • NotionalPeriod

        public NotionalPeriod()
        Default constructor
      • NotionalPeriod

        public NotionalPeriod(NotionalPeriod toCopy)
        Copy constructor
        Parameters:
        toCopy - The notional period to copy
      • NotionalPeriod

        public NotionalPeriod(Notional notional)
        Constructor
        Parameters:
        notional - The notional to use
      • NotionalPeriod

        public NotionalPeriod(double amount,
                              Iso4217Currency currency)
        Constructor
        Parameters:
        amount - The amount to use
        currency - The currency to use
      • NotionalPeriod

        public NotionalPeriod(java.util.Calendar startCalendar,
                              java.util.Calendar endCalendar,
                              Notional notional)
        Constructor
        Parameters:
        startCalendar - The start date as a calendar
        endCalendar - The end date as a calendar
        notional - The notional
      • NotionalPeriod

        public NotionalPeriod(java.util.Calendar startCalendar,
                              java.util.Calendar endCalendar,
                              double amount,
                              Iso4217Currency currency)
        Constructor
        Parameters:
        startCalendar - The start date as a calendar
        endCalendar - The end date as a calendar
        amount - The amount
        currency - The currency
    • Method Detail

      • getNotional

        public Notional getNotional()
        Gets the object representing the Notional
        Returns:
        The notional
      • setNotional

        public void setNotional(Notional notional)
        Sets the object representing the Notional
        Parameters:
        notional - The notional
      • getAmount

        public double getAmount()
        Gets the amount of the notional
        Returns:
        The amount
      • setAmount

        public void setAmount(double amount)
        Sets the amount 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

You see the box below because you did not login.