public final class FxVolatilitySurfaceYearFractionParameterMetadata extends Object implements ParameterMetadata, org.joda.beans.ImmutableBean, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
FxVolatilitySurfaceYearFractionParameterMetadata.Meta
The meta-bean for
FxVolatilitySurfaceYearFractionParameterMetadata. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CurrencyPair |
getCurrencyPair()
Gets the currency pair that describes the node.
|
Pair<Double,Strike> |
getIdentifier() |
String |
getLabel()
Gets the label that describes the node.
|
Strike |
getStrike()
Gets the strike of the surface node.
|
double |
getYearFraction()
Gets the year fraction of the surface node.
|
Optional<Tenor> |
getYearFractionTenor()
Gets the tenor associated with the year fraction.
|
int |
hashCode() |
static FxVolatilitySurfaceYearFractionParameterMetadata.Meta |
meta()
The meta-bean for
FxVolatilitySurfaceYearFractionParameterMetadata. |
FxVolatilitySurfaceYearFractionParameterMetadata.Meta |
metaBean() |
static FxVolatilitySurfaceYearFractionParameterMetadata |
of(double yearFraction,
Strike strike,
CurrencyPair currencyPair)
Creates node metadata using year fraction, strike and currency pair.
|
static FxVolatilitySurfaceYearFractionParameterMetadata |
of(double yearFraction,
Strike strike,
String label,
CurrencyPair currencyPair)
Creates node using year fraction, strike, label and currency pair.
|
static FxVolatilitySurfaceYearFractionParameterMetadata |
of(double yearFraction,
Tenor yearFractionTenor,
Strike strike,
CurrencyPair currencyPair)
Creates node metadata using year fraction, associated tenor, strike and currency pair.
|
static FxVolatilitySurfaceYearFractionParameterMetadata |
of(double yearFraction,
Tenor yearFractionTenor,
Strike strike,
String label,
CurrencyPair currencyPair)
Creates node using year fraction, associated tenor, strike, label and currency pair.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, listOfEmptypublic static FxVolatilitySurfaceYearFractionParameterMetadata of(double yearFraction, Strike strike, CurrencyPair currencyPair)
yearFraction - the year fractionstrike - the strikecurrencyPair - the currency pairpublic static FxVolatilitySurfaceYearFractionParameterMetadata of(double yearFraction, Tenor yearFractionTenor, Strike strike, CurrencyPair currencyPair)
yearFraction - the year fractionyearFractionTenor - the tenor associated with year fractionstrike - the strikecurrencyPair - the currency pairpublic static FxVolatilitySurfaceYearFractionParameterMetadata of(double yearFraction, Strike strike, String label, CurrencyPair currencyPair)
yearFraction - the year fractionstrike - the strikelabel - the label to usecurrencyPair - the currency pairpublic static FxVolatilitySurfaceYearFractionParameterMetadata of(double yearFraction, Tenor yearFractionTenor, Strike strike, String label, CurrencyPair currencyPair)
yearFraction - the year fractionyearFractionTenor - the tenor associated with year fractionstrike - the strikelabel - the label to usecurrencyPair - the currency pairpublic Pair<Double,Strike> getIdentifier()
getIdentifier in interface ParameterMetadatapublic static FxVolatilitySurfaceYearFractionParameterMetadata.Meta meta()
FxVolatilitySurfaceYearFractionParameterMetadata.public FxVolatilitySurfaceYearFractionParameterMetadata.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic double getYearFraction()
This is the time to expiry that the node on the surface is defined as. There is not necessarily a direct relationship with a date from an underlying instrument.
public Optional<Tenor> getYearFractionTenor()
public Strike getStrike()
This is the strike that the node on the surface is defined as.
public CurrencyPair getCurrencyPair()
public String getLabel()
getLabel in interface ParameterMetadataCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.