Class CurveInfoType<T>
- java.lang.Object
-
- com.opengamma.strata.collect.TypedString<CurveInfoType<T>>
-
- com.opengamma.strata.market.curve.CurveInfoType<T>
-
- Type Parameters:
T- the type of the associated value
- All Implemented Interfaces:
Named,Serializable,Comparable<CurveInfoType<T>>
public final class CurveInfoType<T> extends TypedString<CurveInfoType<T>>
The type that provides meaning to additional curve information.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
CurveInfoTypeinstance, the type parameter and an UpperCamelCase name. For example:public static final CurveInfoType<String> OWNER = CurveInfoType.of("Owner");- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static CurveInfoType<Double>CDS_INDEX_FACTORKey used to access information about the index factor.static CurveInfoType<Integer>COMPOUNDING_PER_YEARKey used to access information about the number of compounding per year, as anInteger.static CurveInfoType<DayCount>DAY_COUNTKey used to access information about theDayCount.static CurveInfoType<JacobianCalibrationMatrix>JACOBIANKey used to access information about theJacobianCalibrationMatrix.static CurveInfoType<DoubleArray>PV_SENSITIVITY_TO_MARKET_QUOTEKey used to access information about the present value sensitivity to market quote, represented by aDoubleArray.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> CurveInfoType<T>of(String name)Obtains an instance from the specified name.
-
-
-
Field Detail
-
DAY_COUNT
public static final CurveInfoType<DayCount> DAY_COUNT
Key used to access information about theDayCount.
-
JACOBIAN
public static final CurveInfoType<JacobianCalibrationMatrix> JACOBIAN
Key used to access information about theJacobianCalibrationMatrix.
-
COMPOUNDING_PER_YEAR
public static final CurveInfoType<Integer> COMPOUNDING_PER_YEAR
Key used to access information about the number of compounding per year, as anInteger.
-
PV_SENSITIVITY_TO_MARKET_QUOTE
public static final CurveInfoType<DoubleArray> PV_SENSITIVITY_TO_MARKET_QUOTE
Key used to access information about the present value sensitivity to market quote, represented by aDoubleArray.
-
CDS_INDEX_FACTOR
public static final CurveInfoType<Double> CDS_INDEX_FACTOR
Key used to access information about the index factor.
-
-
Method Detail
-
of
public static <T> CurveInfoType<T> of(String name)
Obtains an instance from the specified name.The name may contain any character, but must not be empty.
- Type Parameters:
T- the type associated with the info- Parameters:
name- the name- Returns:
- a type instance with the specified name
-
-