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