public final class IssuerCurveZeroRateSensitivity extends Object implements PointSensitivity, PointSensitivityBuilder, org.joda.beans.ImmutableBean, Serializable
Holds the sensitivity to the issuer curve at a specific date.
| Modifier and Type | Class and Description |
|---|---|
static class |
IssuerCurveZeroRateSensitivity.Meta
The meta-bean for
IssuerCurveZeroRateSensitivity. |
| Modifier and Type | Method and Description |
|---|---|
MutablePointSensitivities |
buildInto(MutablePointSensitivities combination) |
IssuerCurveZeroRateSensitivity |
cloned() |
int |
compareKey(PointSensitivity other) |
IssuerCurveZeroRateSensitivity |
convertedTo(Currency resultCurrency,
FxRateProvider rateProvider) |
ZeroRateSensitivity |
createZeroRateSensitivity()
Obtains the underlying
ZeroRateSensitivity. |
boolean |
equals(Object obj) |
Currency |
getCurrency()
Gets the currency of the sensitivity.
|
Currency |
getCurveCurrency()
Gets the currency of the curve for which the sensitivity is computed.
|
LegalEntityGroup |
getLegalEntityGroup()
Gets the legal entity group.
|
double |
getSensitivity()
Gets the value of the sensitivity.
|
double |
getYearFraction()
Gets the time that was queried, expressed as a year fraction.
|
int |
hashCode() |
IssuerCurveZeroRateSensitivity |
mapSensitivity(DoubleUnaryOperator operator) |
static IssuerCurveZeroRateSensitivity.Meta |
meta()
The meta-bean for
IssuerCurveZeroRateSensitivity. |
IssuerCurveZeroRateSensitivity.Meta |
metaBean() |
IssuerCurveZeroRateSensitivity |
multipliedBy(double factor) |
IssuerCurveZeroRateSensitivity |
normalize() |
static IssuerCurveZeroRateSensitivity |
of(Currency curveCurrency,
double yearFraction,
Currency sensitivityCurrency,
LegalEntityGroup legalEntityGroup,
double sensitivity)
Obtains an instance from the curve currency, date, sensitivity currency,
legal entity group and value.
|
static IssuerCurveZeroRateSensitivity |
of(Currency currency,
double yearFraction,
LegalEntityGroup legalEntityGroup,
double sensitivity)
Obtains an instance from the curve currency, date, legal entity group and value.
|
static IssuerCurveZeroRateSensitivity |
of(ZeroRateSensitivity zeroRateSensitivity,
LegalEntityGroup legalEntityGroup)
Obtains an instance from zero rate sensitivity and legal entity group.
|
String |
toString() |
IssuerCurveZeroRateSensitivity |
withCurrency(Currency currency) |
IssuerCurveZeroRateSensitivity |
withSensitivity(double sensitivity) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitbuild, combinedWith, none, of, ofpublic static IssuerCurveZeroRateSensitivity of(Currency currency, double yearFraction, LegalEntityGroup legalEntityGroup, double sensitivity)
The currency representing the curve is used also for the sensitivity currency.
currency - the currency of the curve and sensitivityyearFraction - the year fraction that was looked up on the curvelegalEntityGroup - the legal entity groupsensitivity - the value of the sensitivitypublic static IssuerCurveZeroRateSensitivity of(ZeroRateSensitivity zeroRateSensitivity, LegalEntityGroup legalEntityGroup)
zeroRateSensitivity - the zero rate sensitivitylegalEntityGroup - the legal entity grouppublic static IssuerCurveZeroRateSensitivity of(Currency curveCurrency, double yearFraction, Currency sensitivityCurrency, LegalEntityGroup legalEntityGroup, double sensitivity)
curveCurrency - the currency of the curveyearFraction - the year fraction that was looked up on the curvesensitivityCurrency - the currency of the sensitivitylegalEntityGroup - the legal entity groupsensitivity - the value of the sensitivitypublic IssuerCurveZeroRateSensitivity withCurrency(Currency currency)
withCurrency in interface PointSensitivitywithCurrency in interface PointSensitivityBuilderpublic IssuerCurveZeroRateSensitivity withSensitivity(double sensitivity)
withSensitivity in interface PointSensitivitypublic int compareKey(PointSensitivity other)
compareKey in interface PointSensitivitypublic IssuerCurveZeroRateSensitivity convertedTo(Currency resultCurrency, FxRateProvider rateProvider)
convertedTo in interface FxConvertible<PointSensitivity>convertedTo in interface PointSensitivitypublic IssuerCurveZeroRateSensitivity multipliedBy(double factor)
multipliedBy in interface PointSensitivityBuilderpublic IssuerCurveZeroRateSensitivity mapSensitivity(DoubleUnaryOperator operator)
mapSensitivity in interface PointSensitivityBuilderpublic IssuerCurveZeroRateSensitivity normalize()
normalize in interface PointSensitivityBuilderpublic MutablePointSensitivities buildInto(MutablePointSensitivities combination)
buildInto in interface PointSensitivityBuilderpublic IssuerCurveZeroRateSensitivity cloned()
cloned in interface PointSensitivityBuilderpublic ZeroRateSensitivity createZeroRateSensitivity()
ZeroRateSensitivity.
This creates the zero rate sensitivity object by omitting the legal entity group.
public static IssuerCurveZeroRateSensitivity.Meta meta()
IssuerCurveZeroRateSensitivity.public IssuerCurveZeroRateSensitivity.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic Currency getCurveCurrency()
public double getYearFraction()
public Currency getCurrency()
getCurrency in interface PointSensitivitypublic LegalEntityGroup getLegalEntityGroup()
The group defines the legal entity that the discount factors are for.
public double getSensitivity()
getSensitivity in interface PointSensitivityCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.