public static final class ScenarioDefinition.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ScenarioDefinition>
ScenarioDefinition.| Modifier and Type | Method and Description |
|---|---|
ScenarioDefinition |
build() |
Object |
get(String propertyName) |
ScenarioDefinition.Builder |
mappings(List<? extends PerturbationMapping<?>> mappings)
Sets the market data filters and perturbations that define the scenarios.
|
ScenarioDefinition.Builder |
mappings(PerturbationMapping<?>... mappings)
Sets the
mappings property in the builder
from an array of objects. |
ScenarioDefinition.Builder |
scenarioNames(List<String> scenarioNames)
Sets the names of the scenarios.
|
ScenarioDefinition.Builder |
scenarioNames(String... scenarioNames)
Sets the
scenarioNames property in the builder
from an array of objects. |
ScenarioDefinition.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ScenarioDefinition.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ScenarioDefinition>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ScenarioDefinition>public ScenarioDefinition.Builder set(String propertyName, Object newValue)
public ScenarioDefinition.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ScenarioDefinition>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ScenarioDefinition>public ScenarioDefinition build()
public ScenarioDefinition.Builder mappings(List<? extends PerturbationMapping<?>> mappings)
mappings - the new value, not null@SafeVarargs public final ScenarioDefinition.Builder mappings(PerturbationMapping<?>... mappings)
mappings property in the builder
from an array of objects.mappings - the new value, not nullpublic ScenarioDefinition.Builder scenarioNames(List<String> scenarioNames)
scenarioNames - the new value, not nullpublic ScenarioDefinition.Builder scenarioNames(String... scenarioNames)
scenarioNames property in the builder
from an array of objects.scenarioNames - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ScenarioDefinition>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.