public final class SwaptionSurfaceExpiryStrikeParameterMetadata extends Object implements ParameterMetadata, org.joda.beans.ImmutableBean, Serializable
This typically represents a node of swaption volatility surface parameterized by expiry and strike.
| Modifier and Type | Class and Description |
|---|---|
static class |
SwaptionSurfaceExpiryStrikeParameterMetadata.Meta
The meta-bean for
SwaptionSurfaceExpiryStrikeParameterMetadata. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Pair<Double,Double> |
getIdentifier() |
String |
getLabel()
Gets the label that describes the node.
|
double |
getStrike()
Gets the strike of the surface node.
|
double |
getYearFraction()
Gets the year fraction of the surface node.
|
int |
hashCode() |
static SwaptionSurfaceExpiryStrikeParameterMetadata.Meta |
meta()
The meta-bean for
SwaptionSurfaceExpiryStrikeParameterMetadata. |
SwaptionSurfaceExpiryStrikeParameterMetadata.Meta |
metaBean() |
static SwaptionSurfaceExpiryStrikeParameterMetadata |
of(double yearFraction,
double strike)
Creates node metadata using swap convention, year fraction and strike.
|
static SwaptionSurfaceExpiryStrikeParameterMetadata |
of(double yearFraction,
double strike,
String label)
Creates node using swap convention, year fraction, strike and label.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, listOfEmptypublic static SwaptionSurfaceExpiryStrikeParameterMetadata of(double yearFraction, double strike)
yearFraction - the year fractionstrike - the strikepublic static SwaptionSurfaceExpiryStrikeParameterMetadata of(double yearFraction, double strike, String label)
yearFraction - the year fractionstrike - the simple moneynesslabel - the label to usepublic Pair<Double,Double> getIdentifier()
getIdentifier in interface ParameterMetadatapublic static SwaptionSurfaceExpiryStrikeParameterMetadata.Meta meta()
SwaptionSurfaceExpiryStrikeParameterMetadata.public SwaptionSurfaceExpiryStrikeParameterMetadata.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 double getStrike()
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.