public static final class FxOptionVolatilitiesNode.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxOptionVolatilitiesNode>
FxOptionVolatilitiesNode.public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<FxOptionVolatilitiesNode>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxOptionVolatilitiesNode>public FxOptionVolatilitiesNode.Builder set(String propertyName, Object newValue)
public FxOptionVolatilitiesNode.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<FxOptionVolatilitiesNode>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxOptionVolatilitiesNode>public FxOptionVolatilitiesNode build()
public FxOptionVolatilitiesNode.Builder currencyPair(CurrencyPair currencyPair)
The quote must be based on this currency pair and direction.
currencyPair - the new value, not nullpublic FxOptionVolatilitiesNode.Builder label(String label)
label - the new value, not nullpublic FxOptionVolatilitiesNode.Builder spotDateOffset(DaysAdjustment spotDateOffset)
Typically this is the same as the standard convention of the spot date offset of the underlying FX forward.
spotDateOffset - the new value, not nullpublic FxOptionVolatilitiesNode.Builder businessDayAdjustment(BusinessDayAdjustment businessDayAdjustment)
Typically this is the same as the standard convention of the business day adjustment applied to the delivery date of the underlying FX forward.
businessDayAdjustment - the new value, not nullpublic FxOptionVolatilitiesNode.Builder expiryDateOffset(DaysAdjustment expiryDateOffset)
By default the expiry date offset is the inverse of spotDateOffset.
In this case BusinessDayAdjustment in spotDateOffset must be NONE.
expiryDateOffset - the new value, not nullpublic FxOptionVolatilitiesNode.Builder quoteValueType(ValueType quoteValueType)
quoteValueType - the new value, not nullpublic FxOptionVolatilitiesNode.Builder quoteId(QuoteId quoteId)
quoteId - the new value, not nullpublic FxOptionVolatilitiesNode.Builder tenor(Tenor tenor)
Typically the tenor is coherent to that of the underlying FX forward. Thus it spans the period between spot date to delivery date.
tenor - the new value, not nullpublic FxOptionVolatilitiesNode.Builder strike(Strike strike)
strike - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxOptionVolatilitiesNode>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.