Class TradeReportTemplate
- java.lang.Object
-
- com.opengamma.strata.report.trade.TradeReportTemplate
-
- All Implemented Interfaces:
ReportTemplate,org.joda.beans.Bean,org.joda.beans.ImmutableBean
public final class TradeReportTemplate extends Object implements ReportTemplate, org.joda.beans.ImmutableBean
Describes the contents and layout of a trade report.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTradeReportTemplate.BuilderThe bean-builder forTradeReportTemplate.static classTradeReportTemplate.MetaThe meta-bean forTradeReportTemplate.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TradeReportTemplate.Builderbuilder()Returns a builder used to create an instance of the bean.booleanequals(Object obj)List<TradeReportColumn>getColumns()Gets the columns in the report.inthashCode()static TradeReportTemplateload(IniFile ini)Creates a trade report template by reading a template definition in an ini file.static TradeReportTemplate.Metameta()The meta-bean forTradeReportTemplate.TradeReportTemplate.MetametaBean()TradeReportTemplate.BuildertoBuilder()Returns a builder that allows this bean to be mutated.StringtoString()
-
-
-
Method Detail
-
load
public static TradeReportTemplate load(IniFile ini)
Creates a trade report template by reading a template definition in an ini file.- Parameters:
ini- the ini file containing the definition of the template- Returns:
- a trade report template built from the definition in the ini file
-
meta
public static TradeReportTemplate.Meta meta()
The meta-bean forTradeReportTemplate.- Returns:
- the meta-bean, not null
-
builder
public static TradeReportTemplate.Builder builder()
Returns a builder used to create an instance of the bean.- Returns:
- the builder, not null
-
metaBean
public TradeReportTemplate.Meta metaBean()
- Specified by:
metaBeanin interfaceorg.joda.beans.Bean
-
getColumns
public List<TradeReportColumn> getColumns()
Gets the columns in the report.- Returns:
- the value of the property, not null
-
toBuilder
public TradeReportTemplate.Builder toBuilder()
Returns a builder that allows this bean to be mutated.- Returns:
- the mutable builder, not null
-
-