public static final class FxSwapCurveNode.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxSwapCurveNode>
FxSwapCurveNode.| Modifier and Type | Method and Description |
|---|---|
FxSwapCurveNode |
build() |
FxSwapCurveNode.Builder |
date(CurveNodeDate date)
Sets the method by which the date of the node is calculated, defaulted to 'End'.
|
FxSwapCurveNode.Builder |
dateOrder(CurveNodeDateOrder dateOrder)
Sets the date order rules, used to ensure that the dates in the curve are in order.
|
FxSwapCurveNode.Builder |
farForwardPointsId(ObservableId farForwardPointsId)
Sets the identifier of the market data value which provides the FX forward points.
|
FxSwapCurveNode.Builder |
fxRateId(FxRateId fxRateId)
Sets the identifier used to obtain the FX rate market value, defaulted from the template.
|
Object |
get(String propertyName) |
FxSwapCurveNode.Builder |
label(String label)
Sets the label to use for the node, defaulted.
|
FxSwapCurveNode.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
FxSwapCurveNode.Builder |
set(String propertyName,
Object newValue) |
FxSwapCurveNode.Builder |
template(FxSwapTemplate template)
Sets the template for the FX Swap associated with this node.
|
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<FxSwapCurveNode>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxSwapCurveNode>public FxSwapCurveNode.Builder set(String propertyName, Object newValue)
public FxSwapCurveNode.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<FxSwapCurveNode>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxSwapCurveNode>public FxSwapCurveNode build()
public FxSwapCurveNode.Builder template(FxSwapTemplate template)
template - the new value, not nullpublic FxSwapCurveNode.Builder fxRateId(FxRateId fxRateId)
fxRateId - the new value, not nullpublic FxSwapCurveNode.Builder farForwardPointsId(ObservableId farForwardPointsId)
farForwardPointsId - the new value, not nullpublic FxSwapCurveNode.Builder label(String label)
When building, this will default based on the far period if not specified.
label - the new value, not emptypublic FxSwapCurveNode.Builder date(CurveNodeDate date)
date - the new valuepublic FxSwapCurveNode.Builder dateOrder(CurveNodeDateOrder dateOrder)
CurveNodeDateOrder.DEFAULT.dateOrder - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxSwapCurveNode>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.