Class 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 Detail

      • ParameterDataRow

        public ParameterDataRow()
      • ParameterDataRow

        public ParameterDataRow​(String[] names,
                                Object[] values)
      • 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 mappings
        dataRow - 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.