Class RatesCurveInputs.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveInputs>
-
- com.opengamma.strata.market.curve.RatesCurveInputs.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<RatesCurveInputs>
- Enclosing class:
- RatesCurveInputs
public static final class RatesCurveInputs.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveInputs>
The bean-builder forRatesCurveInputs
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RatesCurveInputs
build()
RatesCurveInputs.Builder
curveMetadata(CurveMetadata curveMetadata)
Sets the metadata for the curve.Object
get(String propertyName)
RatesCurveInputs.Builder
marketData(Map<? extends MarketDataId<?>,?> marketData)
Sets the market data.RatesCurveInputs.Builder
set(String propertyName, Object newValue)
RatesCurveInputs.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<RatesCurveInputs>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveInputs>
-
set
public RatesCurveInputs.Builder set(String propertyName, Object newValue)
-
set
public RatesCurveInputs.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<RatesCurveInputs>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveInputs>
-
build
public RatesCurveInputs build()
-
marketData
public RatesCurveInputs.Builder marketData(Map<? extends MarketDataId<?>,?> marketData)
Sets the market data.There will typically be at least one entry for each node on the curve.
- Parameters:
marketData
- the new value, not null- Returns:
- this, for chaining, not null
-
curveMetadata
public RatesCurveInputs.Builder curveMetadata(CurveMetadata curveMetadata)
Sets the metadata for the curve.This is used to identify the curve and the necessary pieces of market data.
- Parameters:
curveMetadata
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveInputs>
-
-