Class ParameterDataRow
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.StaticDataRow
-
- org.pentaho.reporting.engine.classic.core.ParameterDataRow
-
- All Implemented Interfaces:
DataRow
public class ParameterDataRow extends StaticDataRow
A static data row that reads its values from a report properties collection. Changes to the report property collection do not affect the parameter-data-row.- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description ParameterDataRow()
ParameterDataRow(String[] names, Object[] values)
ParameterDataRow(DataRow dataRow)
Create a parameter data row from a master report's data row and a set of parameter mappings.ParameterDataRow(ParameterMapping[] parameters, DataRow dataRow)
Create a parameter data row from a master report's data row and a set of parameter mappings.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getParentNames()
Returns the names of the parameters as used in the master-report.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.StaticDataRow
equals, get, getColumnNames, hashCode, isChanged, setData, updateData
-
-
-
-
Constructor Detail
-
ParameterDataRow
public ParameterDataRow()
-
ParameterDataRow
public ParameterDataRow(ParameterMapping[] parameters, DataRow dataRow)
Create a parameter data row from a master report's data row and a set of parameter mappings. The incoming parameters can be aliased through the parameter mapping definitions.- Parameters:
parameters
- the parameter mappingsdataRow
- the data row.
-
ParameterDataRow
public ParameterDataRow(DataRow dataRow)
Create a parameter data row from a master report's data row and a set of parameter mappings.- Parameters:
dataRow
- the data row.
-
-
Method Detail
-
getParentNames
public String[] getParentNames()
Returns the names of the parameters as used in the master-report.- Returns:
- the original names.
-
-