Class CdsIndexCalibrationTrade

    • Method Detail

      • getInfo

        public TradeInfo getInfo()
        Description copied from interface: Trade
        Gets the standard trade information.

        All trades contain this standard set of information.

        Specified by:
        getInfo in interface PortfolioItem
        Specified by:
        getInfo in interface Trade
        Returns:
        the trade information
      • withInfo

        public CdsIndexCalibrationTrade withInfo​(TradeInfo info)
        Description copied from interface: Trade
        Returns an instance with the specified info.
        Specified by:
        withInfo in interface Trade
        Parameters:
        info - the new info
        Returns:
        the instance with the specified info
      • getUnderlyingTrade

        public CdsIndexTrade getUnderlyingTrade()
        Gets the underlying CDS index trade.
        Returns:
        the value of the property, not null
      • getQuote

        public CdsQuote getQuote()
        Gets the CDS index quote.
        Returns:
        the value of the property, not null
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object