Package quadbase.reportdesigner.util
Interface IParameterizedDataSource
public interface IParameterizedDataSource
This interface allows user to define a Java class data source with parameters. The
The
Note: Classes implementing this interface must have a default constructor.
Note: Class file parameters cannot map to a database column.
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
Modifier and TypeMethodDescriptionReturn information about the parameters.getResultSet(IQueryInParam[] params) Return the actual result set base on the parameters.
-
Method Details
-
getParameters
IQueryInParam[] getParameters()Return information about the parameters. -
getResultSet
Return the actual result set base on the parameters.
-