T - the typepublic static final class PerturbationMapping.Builder<T> extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<PerturbationMapping<T>>
PerturbationMapping.| Modifier and Type | Method and Description |
|---|---|
PerturbationMapping<T> |
build() |
PerturbationMapping.Builder<T> |
filter(MarketDataFilter<? extends T,?> filter)
Sets the filter that decides whether the perturbation should be applied to a piece of market data.
|
Object |
get(String propertyName) |
PerturbationMapping.Builder<T> |
marketDataType(Class<T> marketDataType)
Sets the type of market data handled by this mapping.
|
PerturbationMapping.Builder<T> |
perturbation(ScenarioPerturbation<T> perturbation)
Sets perturbation that should be applied to market data as part of a scenario.
|
PerturbationMapping.Builder<T> |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
PerturbationMapping.Builder<T> |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<PerturbationMapping<T>>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<PerturbationMapping<T>>public PerturbationMapping.Builder<T> set(String propertyName, Object newValue)
public PerturbationMapping.Builder<T> set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<PerturbationMapping<T>>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<PerturbationMapping<T>>public PerturbationMapping<T> build()
public PerturbationMapping.Builder<T> marketDataType(Class<T> marketDataType)
marketDataType - the new value, not nullpublic PerturbationMapping.Builder<T> filter(MarketDataFilter<? extends T,?> filter)
filter - the new value, not nullpublic PerturbationMapping.Builder<T> perturbation(ScenarioPerturbation<T> perturbation)
perturbation - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<PerturbationMapping<T>>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.