Class TradeReportColumn
- java.lang.Object
-
- com.opengamma.strata.report.trade.TradeReportColumn
-
- All Implemented Interfaces:
org.joda.beans.Bean,org.joda.beans.ImmutableBean
public final class TradeReportColumn extends Object implements org.joda.beans.ImmutableBean
Describes a column in a trade report.Processing of the fields is intentionally delayed so that the fields can be interpreted in the context of the calculation results, and errors are delayed until the report is run.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTradeReportColumn.BuilderThe bean-builder forTradeReportColumn.static classTradeReportColumn.MetaThe meta-bean forTradeReportColumn.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TradeReportColumn.Builderbuilder()Returns a builder used to create an instance of the bean.booleanequals(Object obj)StringgetHeader()Gets the column header.Optional<String>getValue()Gets the reference to a value to display in this column.inthashCode()booleanisIgnoreFailures()Gets whether to ignore failures, or report the errors.static TradeReportColumn.Metameta()The meta-bean forTradeReportColumn.TradeReportColumn.MetametaBean()TradeReportColumn.BuildertoBuilder()Returns a builder that allows this bean to be mutated.StringtoString()
-
-
-
Method Detail
-
meta
public static TradeReportColumn.Meta meta()
The meta-bean forTradeReportColumn.- Returns:
- the meta-bean, not null
-
builder
public static TradeReportColumn.Builder builder()
Returns a builder used to create an instance of the bean.- Returns:
- the builder, not null
-
metaBean
public TradeReportColumn.Meta metaBean()
- Specified by:
metaBeanin interfaceorg.joda.beans.Bean
-
getHeader
public String getHeader()
Gets the column header.- Returns:
- the value of the property, not null
-
getValue
public Optional<String> getValue()
Gets the reference to a value to display in this column.- Returns:
- the optional value of the property, not null
-
isIgnoreFailures
public boolean isIgnoreFailures()
Gets whether to ignore failures, or report the errors.- Returns:
- the value of the property
-
toBuilder
public TradeReportColumn.Builder toBuilder()
Returns a builder that allows this bean to be mutated.- Returns:
- the mutable builder, not null
-
-