T - the type of the associated valuepublic final class CurveInfoType<T> extends TypedString<CurveInfoType<T>>
Additional curve information is stored in CurveMetadata.
It provides the ability to associate arbitrary information with a curve in a key-value map.
For example, it might be used to provide information about one of the axes.
Applications that wish to use curve information should declare a static
constant declaring the CurveInfoType instance, the type parameter
and an UpperCamelCase name. For example:
public static final CurveInfoType<String> OWNER = CurveInfoType.of("Owner");
| Modifier and Type | Field and Description |
|---|---|
static CurveInfoType<Double> |
CDS_INDEX_FACTOR
Key used to access information about the index factor.
|
static CurveInfoType<Integer> |
COMPOUNDING_PER_YEAR
Key used to access information about the number of compounding per year, as an
Integer. |
static CurveInfoType<DayCount> |
DAY_COUNT
Key used to access information about the
DayCount. |
static CurveInfoType<JacobianCalibrationMatrix> |
JACOBIAN
Key used to access information about the
JacobianCalibrationMatrix. |
static CurveInfoType<DoubleArray> |
PV_SENSITIVITY_TO_MARKET_QUOTE
Key used to access information about the present value sensitivity to market quote,
represented by a
DoubleArray. |
| Modifier and Type | Method and Description |
|---|---|
static <T> CurveInfoType<T> |
of(String name)
Obtains an instance from the specified name.
|
compareTo, equals, getName, hashCode, toStringpublic static final CurveInfoType<DayCount> DAY_COUNT
DayCount.public static final CurveInfoType<JacobianCalibrationMatrix> JACOBIAN
JacobianCalibrationMatrix.public static final CurveInfoType<Integer> COMPOUNDING_PER_YEAR
Integer.public static final CurveInfoType<DoubleArray> PV_SENSITIVITY_TO_MARKET_QUOTE
DoubleArray.public static final CurveInfoType<Double> CDS_INDEX_FACTOR
public static <T> CurveInfoType<T> of(String name)
The name may contain any character, but must not be empty.
T - the type associated with the infoname - the nameCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.