A DataSource that can access values from the 'data-row'. The data-row contains all values from the current row of the report's
TableModel
, plus the current values of the defined expressions and functions for the report.
The DataRowDataSource can either query the data-row directly using the specified field name or it can evaluate a given formula (which must be compatible to the OpenFormula specifications) to compute the value.
Fields and formulas are mutually exclusive; defining a field name autmatically undefines the formula and vice versa.
@author Thomas Morgner
@see org.pentaho.reporting.engine.classic.core.DataRow