org.jfree.report.modules.data.sql

Class SQLReportData

public class SQLReportData extends Object implements ReportData

Creation-Date: 19.02.2006, 17:37:42

Author: Thomas Morgner

Constructor Summary
SQLReportData(ResultSet resultSet, boolean labelMapping)
Method Summary
voidclose()
Objectget(int column)
intgetColumnCount()
StringgetColumnName(int column)
intgetCursorPosition()
intgetRowCount()
booleanisAdvanceable()
This operation checks, whether a call to next will be likely to succeed.
booleanisLabelMapping()
booleanisReadable()
booleannext()
booleansetCursorPosition(int row)

Constructor Detail

SQLReportData

public SQLReportData(ResultSet resultSet, boolean labelMapping)

Method Detail

close

public void close()

get

public Object get(int column)

getColumnCount

public int getColumnCount()

getColumnName

public String getColumnName(int column)

getCursorPosition

public int getCursorPosition()

getRowCount

public int getRowCount()

isAdvanceable

public boolean isAdvanceable()
This operation checks, whether a call to next will be likely to succeed. If there is a next data row, this should return true.

Returns:

Throws: org.jfree.report.DataSourceException

isLabelMapping

public boolean isLabelMapping()

isReadable

public boolean isReadable()

next

public boolean next()

setCursorPosition

public boolean setCursorPosition(int row)