Class ReportEnvironmentDataRow
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.ReportEnvironmentDataRow
-
-
Constructor Summary
Constructors Constructor Description ReportEnvironmentDataRow(ReportEnvironment environment)
ReportEnvironmentDataRow(ReportEnvironment environment, ReportEnvironmentMapping reportEnvironmentMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(String col)
Returns the value of the function, expression or column using its specific name.String[]
getColumnNames()
Returns the known column names, this data-row understands.ReportEnvironment
getEnvironment()
boolean
isArray(String columnName)
boolean
isChanged(String name)
Checks whether the value contained in the column has changed since the last advance-operation.String
toString()
-
-
-
Constructor Detail
-
ReportEnvironmentDataRow
public ReportEnvironmentDataRow(ReportEnvironment environment)
-
ReportEnvironmentDataRow
public ReportEnvironmentDataRow(ReportEnvironment environment, ReportEnvironmentMapping reportEnvironmentMapping)
-
-
Method Detail
-
get
public Object get(String col)
Returns the value of the function, expression or column using its specific name. The given name is translated into a valid column number and the the column is queried. For functions and expressions, thegetValue()
method is called and for columns from the tablemodel the tablemodel methodgetValueAt(row, column)
gets called.
-
getColumnNames
public String[] getColumnNames()
Returns the known column names, this data-row understands. The column names may change over time but do not change while a event is processed by a function. The array returned is a copy of the internal data-storage and can be safely modified.- Specified by:
getColumnNames
in interfaceDataRow
- Returns:
- the column names as array.
-
isChanged
public boolean isChanged(String name)
Checks whether the value contained in the column has changed since the last advance-operation.
-
isArray
public boolean isArray(String columnName)
-
getEnvironment
public ReportEnvironment getEnvironment()
-
-