public class EmptyReportData extends java.lang.Object implements ReportData
BEFORE_FIRST_ROW| Constructor and Description |
|---|
EmptyReportData() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the datasource.
|
java.lang.Object |
get(int column) |
int |
getColumnCount() |
java.lang.String |
getColumnName(int column) |
int |
getCursorPosition() |
boolean |
isAdvanceable()
This operation checks, whether a call to next will be likely to succeed.
|
boolean |
isReadable()
Checks, whether this report-data instance is currently readable.
|
boolean |
next()
This method produces the same result as 'setCursorPosition(getCursorPosition() + 1);'
|
boolean |
setCursorPosition(int cursor)
Moves the cursor back to an already visited position.
|
public int getCursorPosition()
throws DataSourceException
getCursorPosition in interface ReportDataDataSourceExceptionpublic boolean isReadable()
throws DataSourceException
ReportDataisReadable in interface ReportDataDataSourceExceptionpublic boolean setCursorPosition(int cursor)
throws DataSourceException
ReportDatasetCursorPosition in interface ReportDataDataSourceExceptionpublic boolean isAdvanceable()
throws DataSourceException
isAdvanceable in interface ReportDataDataSourceExceptionpublic boolean next()
throws DataSourceException
ReportDatanext in interface ReportDataDataSourceExceptionpublic void close()
throws DataSourceException
ReportDataclose in interface ReportDataDataSourceExceptionpublic int getColumnCount()
throws DataSourceException
getColumnCount in interface DataSetDataSourceExceptionpublic java.lang.String getColumnName(int column)
throws DataSourceException
getColumnName in interface DataSetDataSourceExceptionpublic java.lang.Object get(int column)
throws DataSourceException
get in interface DataSetDataSourceException