Package com.opengamma.strata.report
Class ReportRequirements
- java.lang.Object
-
- com.opengamma.strata.report.ReportRequirements
-
- All Implemented Interfaces:
org.joda.beans.Bean
,org.joda.beans.ImmutableBean
public final class ReportRequirements extends Object implements org.joda.beans.ImmutableBean
Describes the requirements for a report to be run in terms of trade-level measures that can be separately obtained by the calculation engine.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReportRequirements.Meta
The meta-bean forReportRequirements
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ImmutableList<Column>
getTradeMeasureRequirements()
Gets the trade-level measure requirements.int
hashCode()
static ReportRequirements.Meta
meta()
The meta-bean forReportRequirements
.ReportRequirements.Meta
metaBean()
static ReportRequirements
of(Column... columns)
Obtains an instance from the columns.static ReportRequirements
of(List<Column> columns)
Obtains an instance from the columns.String
toString()
-
-
-
Method Detail
-
of
public static ReportRequirements of(Column... columns)
Obtains an instance from the columns.- Parameters:
columns
- the columns to calculate- Returns:
- the requirements
-
of
public static ReportRequirements of(List<Column> columns)
Obtains an instance from the columns.- Parameters:
columns
- the columns to calculate- Returns:
- the requirements
-
meta
public static ReportRequirements.Meta meta()
The meta-bean forReportRequirements
.- Returns:
- the meta-bean, not null
-
metaBean
public ReportRequirements.Meta metaBean()
- Specified by:
metaBean
in interfaceorg.joda.beans.Bean
-
getTradeMeasureRequirements
public ImmutableList<Column> getTradeMeasureRequirements()
Gets the trade-level measure requirements.- Returns:
- the value of the property, not null
-
-