public final class ExpressionDataRow extends java.lang.Object implements DataRow
| Constructor and Description |
|---|
ExpressionDataRow(GlobalMasterRow masterRow,
ReportContext reportContext,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
ExpressionDataRow |
advance(GlobalMasterRow master,
boolean deepTraversing)
Advances to the next row and attaches the given master row to the objects
contained in that client data row.
|
ExpressionDataRow |
derive(GlobalMasterRow master) |
java.lang.Object |
get(int col)
Returns the value of the expressions or column in the tablemodel using the
given column number as index.
|
java.lang.Object |
get(java.lang.String col)
Returns the value of the function, expressions or column using its specific
name.
|
int |
getColumnCount()
Returns the number of columns, expressions and functions and marked
ReportProperties in the report.
|
java.lang.String |
getColumnName(int col)
Returns the name of the column, expressions or function.
|
DataFlags |
getFlags(int col)
Queries lowlevel meta-data for the current value of the specified column.
|
DataFlags |
getFlags(java.lang.String col)
Queries lowlevel meta-data for the current value of the specified column.
|
ExpressionSlot[] |
getSlots() |
void |
popExpression() |
void |
popExpressions(int counter) |
void |
pushExpression(ExpressionSlot expressionSlot)
This adds the expression to the data-row and queries the expression for the
first time.
|
void |
pushExpressions(ExpressionSlot[] expressionSlots) |
public ExpressionDataRow(GlobalMasterRow masterRow, ReportContext reportContext, int capacity)
public void pushExpression(ExpressionSlot expressionSlot) throws DataSourceException
ex - rd - DataSourceExceptionpublic void pushExpressions(ExpressionSlot[] expressionSlots) throws DataSourceException
DataSourceExceptionpublic void popExpressions(int counter)
throws DataSourceException
DataSourceExceptionpublic void popExpression()
throws DataSourceException
DataSourceExceptionpublic java.lang.Object get(int col)
throws DataSourceException
getValue() method is called and for columns from the
tablemodel the tablemodel method getValueAt(row, column) gets
called.get in interface DataRowget in interface DataSetcol - the item index.java.lang.IllegalStateException - if the datarow detected a deadlock.DataSourceException - if an error occured.public java.lang.Object get(java.lang.String col)
throws DataSourceException
getValue() method is called and for columns from the
tablemodel the tablemodel method getValueAt(row, column) gets
called.get in interface DataRowcol - the item index.java.lang.IllegalStateException - if the datarow detected a deadlock.DataSourceException - if an error occured.public java.lang.String getColumnName(int col)
getColumnName method is
called. For functions, expressions and report properties the assigned name
is returned.getColumnName in interface DataRowgetColumnName in interface DataSetcol - the item index.public int getColumnCount()
getColumnCount in interface DataRowgetColumnCount in interface DataSetpublic DataFlags getFlags(java.lang.String col)
DataRowpublic DataFlags getFlags(int col)
DataRowpublic ExpressionDataRow advance(GlobalMasterRow master, boolean deepTraversing) throws DataSourceException
master - deepTraversing - only advance expressions that have been marked as
deeply traversingDataSourceExceptionpublic ExpressionDataRow derive(GlobalMasterRow master) throws DataSourceException
DataSourceExceptionpublic ExpressionSlot[] getSlots()