Class CurveSensitivitiesType
- java.lang.Object
-
- com.opengamma.strata.collect.TypedString<CurveSensitivitiesType>
-
- com.opengamma.strata.market.sensitivity.CurveSensitivitiesType
-
- All Implemented Interfaces:
Named
,Serializable
,Comparable<CurveSensitivitiesType>
public final class CurveSensitivitiesType extends TypedString<CurveSensitivitiesType>
The type of curve sensitivities.There are many possible types of curve sensitivity, and this type can be used to identify them.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static CurveSensitivitiesType
ZERO_RATE_DELTA
Type used when each sensitivity is a zero rate delta - 'ZeroRateDelta'.static CurveSensitivitiesType
ZERO_RATE_GAMMA
Type used when each sensitivity is a zero rate gamma - 'ZeroRateGamma'.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CurveSensitivitiesType
of(String name)
Obtains an instance from the specified name.
-
-
-
Field Detail
-
ZERO_RATE_DELTA
public static final CurveSensitivitiesType ZERO_RATE_DELTA
Type used when each sensitivity is a zero rate delta - 'ZeroRateDelta'. This is the first order derivative ofValueType.ZERO_RATE
.
-
ZERO_RATE_GAMMA
public static final CurveSensitivitiesType ZERO_RATE_GAMMA
Type used when each sensitivity is a zero rate gamma - 'ZeroRateGamma'. This is the second order derivative ofValueType.ZERO_RATE
.
-
-
Method Detail
-
of
public static CurveSensitivitiesType of(String name)
Obtains an instance from the specified name.Value types must only contains the characters A-Z, a-z, 0-9 and -.
- Parameters:
name
- the name of the field- Returns:
- a field with the specified name
-
-