jdbreport.source
Class AbstractDataSet
java.lang.Object
jdbreport.source.AbstractDataSet
- All Implemented Interfaces:
- Cloneable, ReportDataSet
- Direct Known Subclasses:
- JdbcDataSet, MapDataSet, ReflectDataSet
public abstract class AbstractDataSet
- extends Object
- implements ReportDataSet
- Version:
- 1.1 03/09/08
- Author:
- Andrey Kholmanskih
logger
protected static final Logger logger
AbstractDataSet
protected AbstractDataSet()
AbstractDataSet
public AbstractDataSet(String id)
getId
public String getId()
- Specified by:
getId
in interface ReportDataSet
- Returns:
- DataSet id
next
public boolean next()
throws ReportException
- Description copied from interface:
ReportDataSet
- Moves the cursor on the next record (object) in the DataSet
- Specified by:
next
in interface ReportDataSet
- Returns:
- true if successful
- Throws:
ReportException
getParams
public and.dbcomp.DataSetParams getParams()
throws ReportException
- Description copied from interface:
ReportDataSet
- Returns parameters
- Specified by:
getParams
in interface ReportDataSet
- Returns:
- parameters
- Throws:
ReportException
getMasterId
public String getMasterId()
- Description copied from interface:
ReportDataSet
- Returns id of the leading DataSet
- Specified by:
getMasterId
in interface ReportDataSet
- Returns:
- masterId property
clone
public Object clone()
- Specified by:
clone
in interface ReportDataSet
- Overrides:
clone
in class Object