public final class CdsCalibrationTrade extends Object implements Trade, org.joda.beans.ImmutableBean, Serializable
The CDS trade and market quote are stored in this class.
CdsTrade and ResolvedCdsTrade should be used for pricing.
| Modifier and Type | Class and Description |
|---|---|
static class |
CdsCalibrationTrade.Meta
The meta-bean for
CdsCalibrationTrade. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TradeInfo |
getInfo()
Gets the standard trade information.
|
CdsQuote |
getQuote()
Gets the CDS quote.
|
CdsTrade |
getUnderlyingTrade()
Gets the underlying CDS trade.
|
int |
hashCode() |
static CdsCalibrationTrade.Meta |
meta()
The meta-bean for
CdsCalibrationTrade. |
CdsCalibrationTrade.Meta |
metaBean() |
static CdsCalibrationTrade |
of(CdsTrade trade,
CdsQuote quote)
Creates an instance.
|
PortfolioItemSummary |
summarize()
Summarizes the portfolio item.
|
String |
toString() |
CdsCalibrationTrade |
withInfo(PortfolioItemInfo info)
Returns an instance with the specified info.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdpublic static CdsCalibrationTrade of(CdsTrade trade, CdsQuote quote)
trade - the tradequote - the quotepublic TradeInfo getInfo()
TradeAll trades contain this standard set of information.
getInfo in interface PortfolioItemgetInfo in interface Tradepublic CdsCalibrationTrade withInfo(PortfolioItemInfo info)
TradewithInfo in interface PortfolioItemwithInfo in interface Tradeinfo - the new infopublic PortfolioItemSummary summarize()
PortfolioItemThis provides a summary, including a human readable description.
summarize in interface PortfolioItemsummarize in interface Tradepublic static CdsCalibrationTrade.Meta meta()
CdsCalibrationTrade.public CdsCalibrationTrade.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic CdsTrade getUnderlyingTrade()
public CdsQuote getQuote()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.