jdbreport.source
Class ArrayDataSet

java.lang.Object
  extended by jdbreport.source.AbstractDataSet
      extended by jdbreport.source.ReflectDataSet
          extended by jdbreport.source.ArrayDataSet
All Implemented Interfaces:
Cloneable, ReportDataSet

public class ArrayDataSet
extends ReflectDataSet

Version:
1.4 15.03.2010
Author:
Andrey Kholmanskih

Field Summary
 
Fields inherited from class jdbreport.source.ReflectDataSet
current
 
Fields inherited from class jdbreport.source.AbstractDataSet
logger
 
Constructor Summary
ArrayDataSet(String id, Object[] array)
           
 
Method Summary
 boolean next()
          Moves the cursor on the next record (object) in the DataSet
 boolean reopen()
          Reopens the DataSet when the MasterDataSet changes parameters
 
Methods inherited from class jdbreport.source.ReflectDataSet
getColumnMap, getColumnNames, getCurrentObject, getObjectClass, getValue, hasNext, reflect
 
Methods inherited from class jdbreport.source.AbstractDataSet
clone, getId, getMasterId, getParams
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayDataSet

public ArrayDataSet(String id,
                    Object[] array)
Method Detail

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
Overrides:
next in class AbstractDataSet
Returns:
true if successful
Throws:
ReportException

reopen

public boolean reopen()
               throws ReportException
Description copied from interface: ReportDataSet
Reopens the DataSet when the MasterDataSet changes parameters

Returns:
true if not eof
Throws:
ReportException