Class FixedIborSwapCurveNode.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FixedIborSwapCurveNode>
-
- com.opengamma.strata.market.curve.node.FixedIborSwapCurveNode.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<FixedIborSwapCurveNode>
- Enclosing class:
- FixedIborSwapCurveNode
public static final class FixedIborSwapCurveNode.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FixedIborSwapCurveNode>
The bean-builder forFixedIborSwapCurveNode
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FixedIborSwapCurveNode.Builder
additionalSpread(double additionalSpread)
Sets the additional spread added to the rate.FixedIborSwapCurveNode
build()
FixedIborSwapCurveNode.Builder
date(CurveNodeDate date)
Sets the method by which the date of the node is calculated, defaulted to 'End'.FixedIborSwapCurveNode.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)
FixedIborSwapCurveNode.Builder
label(String label)
Sets the label to use for the node, defaulted.FixedIborSwapCurveNode.Builder
rateId(ObservableId rateId)
Sets the identifier of the market data value that provides the rate.FixedIborSwapCurveNode.Builder
set(String propertyName, Object newValue)
FixedIborSwapCurveNode.Builder
set(org.joda.beans.MetaProperty<?> property, Object value)
FixedIborSwapCurveNode.Builder
template(FixedIborSwapTemplate template)
Sets the template for the swap associated with this node.String
toString()
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<FixedIborSwapCurveNode>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<FixedIborSwapCurveNode>
-
set
public FixedIborSwapCurveNode.Builder set(String propertyName, Object newValue)
-
set
public FixedIborSwapCurveNode.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<FixedIborSwapCurveNode>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<FixedIborSwapCurveNode>
-
build
public FixedIborSwapCurveNode build()
-
template
public FixedIborSwapCurveNode.Builder template(FixedIborSwapTemplate template)
Sets the template for the swap associated with this node.- Parameters:
template
- the new value, not null- Returns:
- this, for chaining, not null
-
rateId
public FixedIborSwapCurveNode.Builder rateId(ObservableId rateId)
Sets the identifier of the market data value that provides the rate.- Parameters:
rateId
- the new value, not null- Returns:
- this, for chaining, not null
-
additionalSpread
public FixedIborSwapCurveNode.Builder additionalSpread(double additionalSpread)
Sets the additional spread added to the rate.- Parameters:
additionalSpread
- the new value- Returns:
- this, for chaining, not null
-
label
public FixedIborSwapCurveNode.Builder label(String label)
Sets the label to use for the node, defaulted.When building, this will default based on the tenor if not specified.
- Parameters:
label
- the new value, not empty- Returns:
- this, for chaining, not null
-
date
public FixedIborSwapCurveNode.Builder date(CurveNodeDate date)
Sets the method by which the date of the node is calculated, defaulted to 'End'.- Parameters:
date
- the new value, not null- Returns:
- this, for chaining, not null
-
dateOrder
public FixedIborSwapCurveNode.Builder dateOrder(CurveNodeDateOrder dateOrder)
Sets the date order rules, used to ensure that the dates in the curve are in order. If not specified, this will default toCurveNodeDateOrder.DEFAULT
.- Parameters:
dateOrder
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<FixedIborSwapCurveNode>
-
-