Class ResolvedTradeParameterMetadata.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedTradeParameterMetadata>
-
- com.opengamma.strata.market.param.ResolvedTradeParameterMetadata.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<ResolvedTradeParameterMetadata>
- Enclosing class:
- ResolvedTradeParameterMetadata
public static final class ResolvedTradeParameterMetadata.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedTradeParameterMetadata>
The bean-builder forResolvedTradeParameterMetadata
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResolvedTradeParameterMetadata
build()
Object
get(String propertyName)
ResolvedTradeParameterMetadata.Builder
label(String label)
Sets the label that describes the parameter.ResolvedTradeParameterMetadata.Builder
set(String propertyName, Object newValue)
ResolvedTradeParameterMetadata.Builder
set(org.joda.beans.MetaProperty<?> property, Object value)
String
toString()
ResolvedTradeParameterMetadata.Builder
trade(ResolvedTrade trade)
Sets the trade that describes the parameter.
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<ResolvedTradeParameterMetadata>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedTradeParameterMetadata>
-
set
public ResolvedTradeParameterMetadata.Builder set(String propertyName, Object newValue)
-
set
public ResolvedTradeParameterMetadata.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<ResolvedTradeParameterMetadata>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedTradeParameterMetadata>
-
build
public ResolvedTradeParameterMetadata build()
-
trade
public ResolvedTradeParameterMetadata.Builder trade(ResolvedTrade trade)
Sets the trade that describes the parameter.- Parameters:
trade
- the new value, not null- Returns:
- this, for chaining, not null
-
label
public ResolvedTradeParameterMetadata.Builder label(String label)
Sets the label that describes the parameter.- Parameters:
label
- the new value, not empty- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedTradeParameterMetadata>
-
-