Class RatesCurveGroup.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveGroup>
-
- com.opengamma.strata.market.curve.RatesCurveGroup.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<RatesCurveGroup>
- Enclosing class:
- RatesCurveGroup
public static final class RatesCurveGroup.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveGroup>
The bean-builder forRatesCurveGroup
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RatesCurveGroup
build()
RatesCurveGroup.Builder
discountCurves(Map<Currency,Curve> discountCurves)
Sets the discount curves in the group, keyed by currency.RatesCurveGroup.Builder
forwardCurves(Map<? extends Index,? extends Curve> forwardCurves)
Sets the forward curves in the group, keyed by index.Object
get(String propertyName)
RatesCurveGroup.Builder
name(CurveGroupName name)
Sets the name of the curve group.RatesCurveGroup.Builder
set(String propertyName, Object newValue)
RatesCurveGroup.Builder
set(org.joda.beans.MetaProperty<?> property, Object value)
String
toString()
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<RatesCurveGroup>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveGroup>
-
set
public RatesCurveGroup.Builder set(String propertyName, Object newValue)
-
set
public RatesCurveGroup.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<RatesCurveGroup>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveGroup>
-
build
public RatesCurveGroup build()
-
name
public RatesCurveGroup.Builder name(CurveGroupName name)
Sets the name of the curve group.- Parameters:
name
- the new value, not null- Returns:
- this, for chaining, not null
-
discountCurves
public RatesCurveGroup.Builder discountCurves(Map<Currency,Curve> discountCurves)
Sets the discount curves in the group, keyed by currency.- Parameters:
discountCurves
- the new value, not null- Returns:
- this, for chaining, not null
-
forwardCurves
public RatesCurveGroup.Builder forwardCurves(Map<? extends Index,? extends Curve> forwardCurves)
Sets the forward curves in the group, keyed by index.- Parameters:
forwardCurves
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveGroup>
-
-