Class RatesCurveGroupEntry.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveGroupEntry>
-
- com.opengamma.strata.market.curve.RatesCurveGroupEntry.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<RatesCurveGroupEntry>
- Enclosing class:
- RatesCurveGroupEntry
public static final class RatesCurveGroupEntry.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveGroupEntry>
The bean-builder forRatesCurveGroupEntry
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RatesCurveGroupEntry
build()
RatesCurveGroupEntry.Builder
curveName(CurveName curveName)
Sets the curve name.RatesCurveGroupEntry.Builder
discountCurrencies(Currency... discountCurrencies)
Sets thediscountCurrencies
property in the builder from an array of objects.RatesCurveGroupEntry.Builder
discountCurrencies(Set<Currency> discountCurrencies)
Sets the currencies for which the curve provides discount rates.Object
get(String propertyName)
RatesCurveGroupEntry.Builder
indices(Index... indices)
Sets theindices
property in the builder from an array of objects.RatesCurveGroupEntry.Builder
indices(Set<Index> indices)
Sets the indices for which the curve provides forward rates.RatesCurveGroupEntry.Builder
set(String propertyName, Object newValue)
RatesCurveGroupEntry.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<RatesCurveGroupEntry>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveGroupEntry>
-
set
public RatesCurveGroupEntry.Builder set(String propertyName, Object newValue)
-
set
public RatesCurveGroupEntry.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<RatesCurveGroupEntry>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveGroupEntry>
-
build
public RatesCurveGroupEntry build()
-
curveName
public RatesCurveGroupEntry.Builder curveName(CurveName curveName)
Sets the curve name.- Parameters:
curveName
- the new value, not null- Returns:
- this, for chaining, not null
-
discountCurrencies
public RatesCurveGroupEntry.Builder discountCurrencies(Set<Currency> discountCurrencies)
Sets the currencies for which the curve provides discount rates. This is empty if the curve is not used for Ibor rates.- Parameters:
discountCurrencies
- the new value, not null- Returns:
- this, for chaining, not null
-
discountCurrencies
public RatesCurveGroupEntry.Builder discountCurrencies(Currency... discountCurrencies)
Sets thediscountCurrencies
property in the builder from an array of objects.- Parameters:
discountCurrencies
- the new value, not null- Returns:
- this, for chaining, not null
-
indices
public RatesCurveGroupEntry.Builder indices(Set<Index> indices)
Sets the indices for which the curve provides forward rates. This is empty if the curve is not used for forward rates.- Parameters:
indices
- the new value, not null- Returns:
- this, for chaining, not null
-
indices
public RatesCurveGroupEntry.Builder indices(Index... indices)
Sets theindices
property in the builder from an array of objects.- Parameters:
indices
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveGroupEntry>
-
-