Class CdsQuote

  • All Implemented Interfaces:
    Serializable, org.joda.beans.Bean, org.joda.beans.ImmutableBean

    public final class CdsQuote
    extends Object
    implements org.joda.beans.ImmutableBean, Serializable
    Market quote for a single-name credit default swap (CDS).

    The CDS quote convention and quoted value are stored in this class.

    See Also:
    Serialized Form
    • Method Detail

      • of

        public static CdsQuote of​(CdsQuoteConvention quoteConvention,
                                  double quotedValue)
        Creates an instance.
        quoteConvention - the quote convention
        quotedValue - the quoted value
        the instance
      • meta

        public static CdsQuote.Meta meta()
        The meta-bean for CdsQuote.
        the meta-bean, not null
      • metaBean

        public CdsQuote.Meta metaBean()
        Specified by:
        metaBean in interface org.joda.beans.Bean
      • getQuoteConvention

        public CdsQuoteConvention getQuoteConvention()
        Gets the CDS quote convention.
        the value of the property, not null
      • getQuotedValue

        public double getQuotedValue()
        Gets the quoted value.

        This value must be represented in decimal form.

        the value of the property
      • hashCode

        public int hashCode()
        hashCode in class Object