public final class CdsQuote extends Object implements org.joda.beans.ImmutableBean, Serializable
The CDS quote convention and quoted value are stored in this class.
| Modifier and Type | Class and Description |
|---|---|
static class |
CdsQuote.Meta
The meta-bean for
CdsQuote. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CdsQuoteConvention |
getQuoteConvention()
Gets the CDS quote convention.
|
double |
getQuotedValue()
Gets the quoted value.
|
int |
hashCode() |
static CdsQuote.Meta |
meta()
The meta-bean for
CdsQuote. |
CdsQuote.Meta |
metaBean() |
static CdsQuote |
of(CdsQuoteConvention quoteConvention,
double quotedValue)
Creates an instance.
|
String |
toString() |
public static CdsQuote of(CdsQuoteConvention quoteConvention, double quotedValue)
quoteConvention - the quote conventionquotedValue - the quoted valuepublic static CdsQuote.Meta meta()
CdsQuote.public CdsQuote.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic CdsQuoteConvention getQuoteConvention()
public double getQuotedValue()
This value must be represented in decimal form.
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.