public interface ParameterMetadata
extends org.joda.beans.ImmutableBean
Implementations of this interface are used to store metadata about a parameter. Parameters are an abstraction over curves, surfaces and other types of data.
| Modifier and Type | Method and Description |
|---|---|
static ParameterMetadata |
empty()
Gets an empty metadata instance.
|
Object |
getIdentifier()
Returns an object used to identify the parameter.
|
String |
getLabel()
Gets the label that describes the parameter.
|
static List<ParameterMetadata> |
listOfEmpty(int size)
Gets a list of empty metadata instances.
|
static ParameterMetadata empty()
This is used when the actual metadata is not known.
static List<ParameterMetadata> listOfEmpty(int size)
This is used when there the actual metadata is not known.
size - the size of the resulting listString getLabel()
It is intended that the label is relatively short, however there is no formal restriction.
Object getIdentifier()
A 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().Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.