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 class
TradeReportColumn.Builder
The bean-builder forTradeReportColumn
.static class
TradeReportColumn.Meta
The meta-bean forTradeReportColumn
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TradeReportColumn.Builder
builder()
Returns a builder used to create an instance of the bean.boolean
equals(Object obj)
String
getHeader()
Gets the column header.Optional<String>
getValue()
Gets the reference to a value to display in this column.int
hashCode()
boolean
isIgnoreFailures()
Gets whether to ignore failures, or report the errors.static TradeReportColumn.Meta
meta()
The meta-bean forTradeReportColumn
.TradeReportColumn.Meta
metaBean()
TradeReportColumn.Builder
toBuilder()
Returns a builder that allows this bean to be mutated.String
toString()
-
-
-
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:
metaBean
in 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
-
-