public static final class BlackFxOptionSurfaceVolatilities.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BlackFxOptionSurfaceVolatilities>
BlackFxOptionSurfaceVolatilities.| Modifier and Type | Method and Description |
|---|---|
BlackFxOptionSurfaceVolatilities |
build() |
BlackFxOptionSurfaceVolatilities.Builder |
currencyPair(CurrencyPair currencyPair)
Sets the currency pair that the volatilities are for.
|
Object |
get(String propertyName) |
BlackFxOptionSurfaceVolatilities.Builder |
name(FxOptionVolatilitiesName name)
Sets the name of the volatilities.
|
BlackFxOptionSurfaceVolatilities.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
BlackFxOptionSurfaceVolatilities.Builder |
set(String propertyName,
Object newValue) |
BlackFxOptionSurfaceVolatilities.Builder |
surface(Surface surface)
Sets the Black volatility surface.
|
String |
toString() |
BlackFxOptionSurfaceVolatilities.Builder |
valuationDateTime(ZonedDateTime valuationDateTime)
Sets the valuation date-time.
|
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<BlackFxOptionSurfaceVolatilities>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BlackFxOptionSurfaceVolatilities>public BlackFxOptionSurfaceVolatilities.Builder set(String propertyName, Object newValue)
public BlackFxOptionSurfaceVolatilities.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<BlackFxOptionSurfaceVolatilities>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BlackFxOptionSurfaceVolatilities>public BlackFxOptionSurfaceVolatilities build()
public BlackFxOptionSurfaceVolatilities.Builder name(FxOptionVolatilitiesName name)
name - the new value, not nullpublic BlackFxOptionSurfaceVolatilities.Builder currencyPair(CurrencyPair currencyPair)
currencyPair - the new value, not nullpublic BlackFxOptionSurfaceVolatilities.Builder valuationDateTime(ZonedDateTime valuationDateTime)
valuationDateTime - the new value, not nullpublic BlackFxOptionSurfaceVolatilities.Builder surface(Surface surface)
The x-values represent the expiry year-fraction. The y-values represent the strike. The metadata of the surface must define a day count.
surface - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BlackFxOptionSurfaceVolatilities>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.