public final class RatesCurveInputs extends Object implements org.joda.beans.ImmutableBean, Serializable
This class contains the current market value of a set of instruments used when calibrating a curve.
| Modifier and Type | Class and Description |
|---|---|
static class |
RatesCurveInputs.Builder
The bean-builder for
RatesCurveInputs. |
static class |
RatesCurveInputs.Meta
The meta-bean for
RatesCurveInputs. |
| Modifier and Type | Method and Description |
|---|---|
static RatesCurveInputs.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
CurveMetadata |
getCurveMetadata()
Gets the metadata for the curve.
|
ImmutableMap<? extends MarketDataId<?>,?> |
getMarketData()
Gets the market data.
|
int |
hashCode() |
static RatesCurveInputs.Meta |
meta()
The meta-bean for
RatesCurveInputs. |
RatesCurveInputs.Meta |
metaBean() |
static RatesCurveInputs |
of(Map<? extends MarketDataId<?>,?> marketData,
CurveMetadata metadata)
Returns a
CurveInputs instance containing the specified market data. |
RatesCurveInputs.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
public static RatesCurveInputs of(Map<? extends MarketDataId<?>,?> marketData, CurveMetadata metadata)
CurveInputs instance containing the specified market data.marketData - a map of market data, keyed by the ID of the datametadata - the metadata for the curveCurveInputs instance containing the specified market datapublic static RatesCurveInputs.Meta meta()
RatesCurveInputs.public static RatesCurveInputs.Builder builder()
public RatesCurveInputs.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic ImmutableMap<? extends MarketDataId<?>,?> getMarketData()
There will typically be at least one entry for each node on the curve.
public CurveMetadata getCurveMetadata()
This is used to identify the curve and the necessary pieces of market data.
public RatesCurveInputs.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.