Class TradeReportTemplate.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<TradeReportTemplate>
-
- com.opengamma.strata.report.trade.TradeReportTemplate.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<TradeReportTemplate>
- Enclosing class:
- TradeReportTemplate
public static final class TradeReportTemplate.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<TradeReportTemplate>
The bean-builder forTradeReportTemplate
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TradeReportTemplate
build()
TradeReportTemplate.Builder
columns(TradeReportColumn... columns)
Sets thecolumns
property in the builder from an array of objects.TradeReportTemplate.Builder
columns(List<TradeReportColumn> columns)
Sets the columns in the report.Object
get(String propertyName)
TradeReportTemplate.Builder
set(String propertyName, Object newValue)
TradeReportTemplate.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<TradeReportTemplate>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<TradeReportTemplate>
-
set
public TradeReportTemplate.Builder set(String propertyName, Object newValue)
-
set
public TradeReportTemplate.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<TradeReportTemplate>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<TradeReportTemplate>
-
build
public TradeReportTemplate build()
-
columns
public TradeReportTemplate.Builder columns(List<TradeReportColumn> columns)
Sets the columns in the report.- Parameters:
columns
- the new value, not null- Returns:
- this, for chaining, not null
-
columns
public TradeReportTemplate.Builder columns(TradeReportColumn... columns)
Sets thecolumns
property in the builder from an array of objects.- Parameters:
columns
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<TradeReportTemplate>
-
-