public final class ReportDataRow extends Object
Constructor and Description |
---|
ReportDataRow(TableModel reportData) |
Modifier and Type | Method and Description |
---|---|
ReportDataRow |
advance()
Advances to the next row and attaches the given master row to the objects contained in that client data row.
|
Object |
get(int col)
Returns the value of the expression or column in the tablemodel using the given column number as index.
|
int |
getColumnCount()
Returns the number of columns, expressions and functions and marked ReportProperties in the report.
|
String |
getColumnName(int col)
Returns the name of the column, expression or function.
|
int |
getCursor() |
TableModel |
getReportData() |
boolean |
isAdvanceable() |
boolean |
isReadable() |
public ReportDataRow(TableModel reportData)
public Object get(int col)
getValue()
method is called and for columns from the tablemodel the
tablemodel method getValueAt(row, column)
gets called.col
- the item index.IllegalStateException
- if the datarow detected a deadlock.public String getColumnName(int col)
getColumnName
method is called. For functions, expressions and report properties the assigned name is
returned.col
- the item index.public int getColumnCount()
public ReportDataRow advance()
public boolean isAdvanceable()
public boolean isReadable()
public TableModel getReportData()
public int getCursor()
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.