T - the type of the reference data this identifier refers topublic interface ReferenceDataId<T>
Reference data is obtained from an instance of ReferenceData using this identifier.
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getReferenceDataType()
Gets the type of data this identifier refers to.
|
default T |
queryValueOrNull(ReferenceData refData)
Low-level method to query the reference data value associated with this identifier,
returning null if not found.
|
Class<T> getReferenceDataType()
default T queryValueOrNull(ReferenceData refData)
This is a low-level method that obtains the reference data value, returning null instead of an error.
Applications should use ReferenceData.getValue(ReferenceDataId) in preference to this method.
refData - the reference data to lookup the value inCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.