|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.modules.data.sql.SQLReportData
public class SQLReportData
Creation-Date: 19.02.2006, 17:37:42
Field Summary |
---|
Fields inherited from interface org.jfree.report.ReportData |
---|
BEFORE_FIRST_ROW |
Constructor Summary | |
---|---|
SQLReportData(java.sql.ResultSet resultSet,
boolean labelMapping)
|
Method Summary | |
---|---|
void |
close()
Closes the datasource. |
java.lang.Object |
get(int column)
|
int |
getColumnCount()
|
java.lang.String |
getColumnName(int column)
|
int |
getCursorPosition()
|
int |
getRowCount()
|
boolean |
isAdvanceable()
This operation checks, whether a call to next will be likely to succeed. |
boolean |
isLabelMapping()
|
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 row)
Moves the cursor back to an already visited position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLReportData(java.sql.ResultSet resultSet, boolean labelMapping) throws java.sql.SQLException, DataSourceException
java.sql.SQLException
DataSourceException
Method Detail |
---|
public boolean isLabelMapping()
public int getRowCount() throws DataSourceException
DataSourceException
public boolean isAdvanceable() throws DataSourceException
isAdvanceable
in interface ReportData
DataSourceException
public int getColumnCount() throws DataSourceException
getColumnCount
in interface DataSet
DataSourceException
public boolean setCursorPosition(int row) throws DataSourceException
ReportData
setCursorPosition
in interface ReportData
DataSourceException
public boolean next() throws DataSourceException
ReportData
next
in interface ReportData
DataSourceException
public void close() throws DataSourceException
ReportData
close
in interface ReportData
DataSourceException
public java.lang.String getColumnName(int column) throws DataSourceException
getColumnName
in interface DataSet
DataSourceException
public java.lang.Object get(int column) throws DataSourceException
get
in interface DataSet
DataSourceException
public int getCursorPosition() throws DataSourceException
getCursorPosition
in interface ReportData
DataSourceException
public boolean isReadable() throws DataSourceException
ReportData
isReadable
in interface ReportData
DataSourceException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |