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