public final class GenericVolatilitySurfaceYearFractionParameterMetadata extends Object implements ParameterMetadata, org.joda.beans.ImmutableBean, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericVolatilitySurfaceYearFractionParameterMetadata.Meta
The meta-bean for
GenericVolatilitySurfaceYearFractionParameterMetadata. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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 GenericVolatilitySurfaceYearFractionParameterMetadata.Meta |
meta()
The meta-bean for
GenericVolatilitySurfaceYearFractionParameterMetadata. |
GenericVolatilitySurfaceYearFractionParameterMetadata.Meta |
metaBean() |
static GenericVolatilitySurfaceYearFractionParameterMetadata |
of(double yearFraction,
Strike strike)
Creates node metadata using year fraction and strike.
|
static GenericVolatilitySurfaceYearFractionParameterMetadata |
of(double yearFraction,
Strike strike,
String label)
Creates node using year fraction, strike and label.
|
static GenericVolatilitySurfaceYearFractionParameterMetadata |
of(double yearFraction,
Tenor yearFractionTenor,
Strike strike)
Creates node metadata using year fraction, associated tenor and strike.
|
static GenericVolatilitySurfaceYearFractionParameterMetadata |
of(double yearFraction,
Tenor yearFractionTenor,
Strike strike,
String label)
Creates node using year fraction, associated tenor, strike and label.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, listOfEmptypublic static GenericVolatilitySurfaceYearFractionParameterMetadata of(double yearFraction, Strike strike)
yearFraction - the year fractionstrike - the strikepublic static GenericVolatilitySurfaceYearFractionParameterMetadata of(double yearFraction, Tenor yearFractionTenor, Strike strike)
yearFraction - the year fractionyearFractionTenor - the tenor associated with year fractionstrike - the strikepublic static GenericVolatilitySurfaceYearFractionParameterMetadata of(double yearFraction, Strike strike, String label)
yearFraction - the year fractionstrike - the strikelabel - the label to usepublic static GenericVolatilitySurfaceYearFractionParameterMetadata of(double yearFraction, Tenor yearFractionTenor, Strike strike, String label)
yearFraction - the year fractionyearFractionTenor - the tenor associated with year fractionstrike - the strikelabel - the label to usepublic Pair<Double,Strike> getIdentifier()
getIdentifier in interface ParameterMetadatapublic static GenericVolatilitySurfaceYearFractionParameterMetadata.Meta meta()
GenericVolatilitySurfaceYearFractionParameterMetadata.public GenericVolatilitySurfaceYearFractionParameterMetadata.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 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.