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