Class CdsCalibrationTrade

    • 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 CdsCalibrationTrade 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
      • meta

        public static CdsCalibrationTrade.Meta meta()
        The meta-bean for CdsCalibrationTrade.
        Returns:
        the meta-bean, not null
      • getUnderlyingTrade

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

        public CdsQuote getQuote()
        Gets the CDS 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