public final class FunctionRequirements extends Object implements org.joda.beans.ImmutableBean
| Modifier and Type | Class and Description |
|---|---|
static class |
FunctionRequirements.Builder
The bean-builder for
FunctionRequirements. |
static class |
FunctionRequirements.Meta
The meta-bean for
FunctionRequirements. |
| Modifier and Type | Method and Description |
|---|---|
static FunctionRequirements.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
FunctionRequirements |
combinedWith(FunctionRequirements other)
Combines these requirements with another set.
|
static FunctionRequirements |
empty()
Returns an empty set of requirements.
|
boolean |
equals(Object obj) |
ObservableSource |
getObservableSource()
Gets the source of market data for FX, quotes and other observable market data.
|
ImmutableSet<Currency> |
getOutputCurrencies()
Gets the currencies used in the calculation results.
|
ImmutableSet<ObservableId> |
getTimeSeriesRequirements()
Gets the market data identifiers of the time-series of required for the calculation.
|
ImmutableSet<? extends MarketDataId<?>> |
getValueRequirements()
Gets the market data identifiers of the values required for the calculation.
|
int |
hashCode() |
static FunctionRequirements.Meta |
meta()
The meta-bean for
FunctionRequirements. |
FunctionRequirements.Meta |
metaBean() |
FunctionRequirements.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
public static FunctionRequirements empty()
public FunctionRequirements combinedWith(FunctionRequirements other)
The result contains the union of the two sets of requirements.
other - the other requirementspublic static FunctionRequirements.Meta meta()
FunctionRequirements.public static FunctionRequirements.Builder builder()
public FunctionRequirements.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic ImmutableSet<? extends MarketDataId<?>> getValueRequirements()
public ImmutableSet<ObservableId> getTimeSeriesRequirements()
public ImmutableSet<Currency> getOutputCurrencies()
This cause FX rates to be requested that allow conversion between the currencies specified and the reporting currency. It will be possible to obtain any FX rate pair for these currencies.
public ObservableSource getObservableSource()
This is used to control the source of observable market data.
By default, this will be ObservableSource.NONE.
public FunctionRequirements.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.