Class IborFutureCurveNode.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFutureCurveNode>
-
- com.opengamma.strata.market.curve.node.IborFutureCurveNode.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<IborFutureCurveNode>
- Enclosing class:
- IborFutureCurveNode
public static final class IborFutureCurveNode.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFutureCurveNode>
The bean-builder forIborFutureCurveNode
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IborFutureCurveNode.Builder
additionalSpread(double additionalSpread)
Sets the additional spread added to the price.IborFutureCurveNode
build()
IborFutureCurveNode.Builder
date(CurveNodeDate date)
Sets the method by which the date of the node is calculated, defaulted to 'End'.IborFutureCurveNode.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)
IborFutureCurveNode.Builder
label(String label)
Sets the label to use for the node, may be empty.IborFutureCurveNode.Builder
rateId(QuoteId rateId)
Sets the identifier of the market data value which provides the price.IborFutureCurveNode.Builder
set(String propertyName, Object newValue)
IborFutureCurveNode.Builder
set(org.joda.beans.MetaProperty<?> property, Object value)
IborFutureCurveNode.Builder
template(IborFutureTemplate template)
Sets the template for the Ibor Futures associated with this node.String
toString()
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<IborFutureCurveNode>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFutureCurveNode>
-
set
public IborFutureCurveNode.Builder set(String propertyName, Object newValue)
-
set
public IborFutureCurveNode.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<IborFutureCurveNode>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFutureCurveNode>
-
build
public IborFutureCurveNode build()
-
template
public IborFutureCurveNode.Builder template(IborFutureTemplate template)
Sets the template for the Ibor Futures associated with this node.- Parameters:
template
- the new value, not null- Returns:
- this, for chaining, not null
-
rateId
public IborFutureCurveNode.Builder rateId(QuoteId rateId)
Sets the identifier of the market data value which provides the price.- Parameters:
rateId
- the new value, not null- Returns:
- this, for chaining, not null
-
additionalSpread
public IborFutureCurveNode.Builder additionalSpread(double additionalSpread)
Sets the additional spread added to the price. This amount is directly added to the price, where 0.993 represents a 0.7% rate.- Parameters:
additionalSpread
- the new value- Returns:
- this, for chaining, not null
-
label
public IborFutureCurveNode.Builder label(String label)
Sets the label to use for the node, may be empty.If empty, a default label will be created when the metadata is built. The default label depends on the valuation date, so cannot be created in the node.
- Parameters:
label
- the new value, not null- Returns:
- this, for chaining, not null
-
date
public IborFutureCurveNode.Builder date(CurveNodeDate date)
Sets the method by which the date of the node is calculated, defaulted to 'End'.- Parameters:
date
- the new value- Returns:
- this, for chaining, not null
-
dateOrder
public IborFutureCurveNode.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<IborFutureCurveNode>
-
-