Package com.opengamma.strata.calc.runner
Class CalculationTaskCell
- java.lang.Object
-
- com.opengamma.strata.calc.runner.CalculationTaskCell
-
- All Implemented Interfaces:
org.joda.beans.Bean
,org.joda.beans.ImmutableBean
public final class CalculationTaskCell extends Object implements org.joda.beans.ImmutableBean
A single cell within a calculation task.Each
CalculationTask
calculates a result for one or more cells. This class capture details of each cell.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getColumnIndex()
Gets the column index of the cell in the results grid.Measure
getMeasure()
Gets the measure to be calculated.ReportingCurrency
getReportingCurrency()
Gets the reporting currency.int
getRowIndex()
Gets the row index of the cell in the results grid.int
hashCode()
static org.joda.beans.TypedMetaBean<CalculationTaskCell>
meta()
The meta-bean forCalculationTaskCell
.org.joda.beans.TypedMetaBean<CalculationTaskCell>
metaBean()
static CalculationTaskCell
of(int rowIndex, int columnIndex, Measure measure, ReportingCurrency reportingCurrency)
Obtains an instance, specifying the cell indices, measure and reporting currency.String
toString()
-
-
-
Method Detail
-
of
public static CalculationTaskCell of(int rowIndex, int columnIndex, Measure measure, ReportingCurrency reportingCurrency)
Obtains an instance, specifying the cell indices, measure and reporting currency.The result will contain no calculation parameters.
- Parameters:
rowIndex
- the row indexcolumnIndex
- the column indexmeasure
- the measure to calculatereportingCurrency
- the reporting currency- Returns:
- the cell
-
meta
public static org.joda.beans.TypedMetaBean<CalculationTaskCell> meta()
The meta-bean forCalculationTaskCell
.- Returns:
- the meta-bean, not null
-
metaBean
public org.joda.beans.TypedMetaBean<CalculationTaskCell> metaBean()
- Specified by:
metaBean
in interfaceorg.joda.beans.Bean
-
getRowIndex
public int getRowIndex()
Gets the row index of the cell in the results grid.- Returns:
- the value of the property
-
getColumnIndex
public int getColumnIndex()
Gets the column index of the cell in the results grid.- Returns:
- the value of the property
-
getMeasure
public Measure getMeasure()
Gets the measure to be calculated.- Returns:
- the value of the property, not null
-
getReportingCurrency
public ReportingCurrency getReportingCurrency()
Gets the reporting currency.- Returns:
- the value of the property, not null
-
-