EspressReport 6.6

quadbase.reportdesigner.util
Interface IParameterizedDataSource


public interface IParameterizedDataSource

This interface allows user to define a Java class data source with parameters. The getParameters() method will provide information about the parameters stored within IQueryInParam objects.

The IQueryInParam objects should initially have the parameter values set to null. After the user choose the actual values at run-time, the values are set with the setValue() method (If the parameter is multi-valued, then the setValues() method is used). After the values are set, the array is passed into the getResultSet() method to retrieve the actual result set.

Note: Classes implementing this interface must have a default constructor.

Note: Class file parameters cannot map to a database column.


Method Summary
 IQueryInParam[] getParameters()
          Return information about the parameters.
 IResultSet getResultSet(IQueryInParam[] params)
          Return the actual result set base on the parameters.
 

Method Detail

getParameters

IQueryInParam[] getParameters()
Return information about the parameters.


getResultSet

IResultSet getResultSet(IQueryInParam[] params)
Return the actual result set base on the parameters.


EspressReport 6.6