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