public final class SimpleCubeParameterMetadata extends Object implements ParameterMetadata, org.joda.beans.ImmutableBean, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleCubeParameterMetadata.Meta
The meta-bean for
SimpleCubeParameterMetadata. |
| 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.
|
double |
getYValue()
Gets the y-value.
|
ValueType |
getYValueType()
Gets the type of the y-value.
|
double |
getZValue()
Gets the z-value.
|
ValueType |
getZValueType()
Gets the type of the z-value.
|
int |
hashCode() |
static SimpleCubeParameterMetadata.Meta |
meta()
The meta-bean for
SimpleCubeParameterMetadata. |
SimpleCubeParameterMetadata.Meta |
metaBean() |
static SimpleCubeParameterMetadata |
of(ValueType xValueType,
double xValue,
ValueType yValueType,
double yValue,
ValueType zValueType,
double zValue)
Obtains an instance specifying information.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, listOfEmptypublic static SimpleCubeParameterMetadata of(ValueType xValueType, double xValue, ValueType yValueType, double yValue, ValueType zValueType, double zValue)
xValueType - the x-value typexValue - the x-valueyValueType - the x-value typeyValue - the x-valuezValueType - the z-value typezValue - the z-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 SimpleCubeParameterMetadata.Meta meta()
SimpleCubeParameterMetadata.public SimpleCubeParameterMetadata.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic ValueType getXValueType()
public double getXValue()
public ValueType getYValueType()
public double getYValue()
public ValueType getZValueType()
public double getZValue()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.