|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.states.datarow.ReportDataRow
public final class ReportDataRow
Todo: Document Me
Constructor Summary | |
---|---|
ReportDataRow(TableModel reportData)
|
Method Summary | |
---|---|
ReportDataRow |
advance()
Advances to the next row and attaches the given master row to the objects contained in that client data row. |
static ReportDataRow |
createDataRow(DataFactory dataFactory,
String query,
int queryLimit,
int queryTimeout,
DataRow parameters)
|
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()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReportDataRow(TableModel reportData)
Method Detail |
---|
public static ReportDataRow createDataRow(DataFactory dataFactory, String query, int queryLimit, int queryTimeout, DataRow parameters) throws ReportDataFactoryException
ReportDataFactoryException
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |