Class TradeReportColumn.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<TradeReportColumn>
-
- com.opengamma.strata.report.trade.TradeReportColumn.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<TradeReportColumn>
- Enclosing class:
- TradeReportColumn
public static final class TradeReportColumn.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<TradeReportColumn>
The bean-builder forTradeReportColumn
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TradeReportColumn
build()
Object
get(String propertyName)
TradeReportColumn.Builder
header(String header)
Sets the column header.TradeReportColumn.Builder
ignoreFailures(boolean ignoreFailures)
Sets whether to ignore failures, or report the errors.TradeReportColumn.Builder
set(String propertyName, Object newValue)
TradeReportColumn.Builder
set(org.joda.beans.MetaProperty<?> property, Object value)
String
toString()
TradeReportColumn.Builder
value(String value)
Sets the reference to a value to display in this column.
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<TradeReportColumn>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<TradeReportColumn>
-
set
public TradeReportColumn.Builder set(String propertyName, Object newValue)
-
set
public TradeReportColumn.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<TradeReportColumn>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<TradeReportColumn>
-
build
public TradeReportColumn build()
-
header
public TradeReportColumn.Builder header(String header)
Sets the column header.- Parameters:
header
- the new value, not null- Returns:
- this, for chaining, not null
-
value
public TradeReportColumn.Builder value(String value)
Sets the reference to a value to display in this column.- Parameters:
value
- the new value- Returns:
- this, for chaining, not null
-
ignoreFailures
public TradeReportColumn.Builder ignoreFailures(boolean ignoreFailures)
Sets whether to ignore failures, or report the errors.- Parameters:
ignoreFailures
- the new value- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<TradeReportColumn>
-
-