public final class CalculationParametersId extends Object implements MarketDataId<CalculationParameters>, org.joda.beans.ImmutableBean, Serializable
In most cases, CalculationParameters should not be stored in MarketData.
However, there can be occasions where it is useful to be able to pass around the
parameters with the market data, notably when the market data is only intended to
be interpreted in one way.
| Modifier and Type | Field and Description |
|---|---|
static CalculationParametersId |
STANDARD
The standard instance of this identifier.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Class<CalculationParameters> |
getMarketDataType() |
String |
getName()
Gets the name of the parameters.
|
int |
hashCode() |
static org.joda.beans.TypedMetaBean<CalculationParametersId> |
meta()
The meta-bean for
CalculationParametersId. |
org.joda.beans.TypedMetaBean<CalculationParametersId> |
metaBean() |
static CalculationParametersId |
of(String name)
Obtains an instance used to obtain calculation parameters by name.
|
String |
toString() |
public static final CalculationParametersId STANDARD
public static CalculationParametersId of(String name)
In most cases, it is better to use the STANDARD constant instead.
name - the namepublic Class<CalculationParameters> getMarketDataType()
getMarketDataType in interface MarketDataId<CalculationParameters>public static org.joda.beans.TypedMetaBean<CalculationParametersId> meta()
CalculationParametersId.public org.joda.beans.TypedMetaBean<CalculationParametersId> metaBean()
metaBean in interface org.joda.beans.Beanpublic String getName()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.