public final class SimpleCurveParameterMetadata extends Object implements ParameterMetadata, org.joda.beans.ImmutableBean, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleCurveParameterMetadata.Meta
The meta-bean for
SimpleCurveParameterMetadata. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getIdentifier()
Returns an object used to identify the parameter.
|
String |
getLabel()
Gets the label that describes the parameter.
|
double |
getXValue()
Gets the x-value.
|
ValueType |
getXValueType()
Gets the type of the x-value.
|
int |
hashCode() |
static SimpleCurveParameterMetadata.Meta |
meta()
The meta-bean for
SimpleCurveParameterMetadata. |
SimpleCurveParameterMetadata.Meta |
metaBean() |
static SimpleCurveParameterMetadata |
of(ValueType xValueType,
double xValue)
Obtains an instance specifying information about the x-value.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, listOfEmptypublic static SimpleCurveParameterMetadata of(ValueType xValueType, double xValue)
xValueType - the x-value typexValue - the x-valuepublic String getLabel()
ParameterMetadataIt is intended that the label is relatively short, however there is no formal restriction.
getLabel in interface ParameterMetadatapublic String getIdentifier()
ParameterMetadataA good choice of identifier is one that makes sense to the user and can easily be created as part of a scenario definition. For example, many nodes types are naturally identified by a tenor.
The identifier must satisfy the following criteria:
hashCode() and equals().getIdentifier in interface ParameterMetadatapublic static SimpleCurveParameterMetadata.Meta meta()
SimpleCurveParameterMetadata.public SimpleCurveParameterMetadata.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic ValueType getXValueType()
public double getXValue()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.