Reporting framework object model

You must use the ReportDataBean when creating your output JSP file. The populate() method contains logic to support real-time reports. The following methods are available in the data bean.

Method name Return type Description
populate() void runs the SQL query to generate the report
getErrorCode() int getter method for the error code
getNumberOfColumns() int getter method for the number of columns in the report
getNumberOfRows() int getter method for the number of rows in the report
getColumnTitlesName(int) string getter method for the (i+1) column name
getRow(i) hashtable getter method for the (i+1) row
getValue(i.j) string getter for the (i+1,j+1) value in the report
getValue(i,keyname) string getter method for the (i+1) row in the column associated with the keyname
getUserDefinedParameters() hashtable getter method for the hashtable created from user defined parameters in reportName.xml
getEnv() hashtable getter method for the hashtable containing the input parameters defined in the input JSP file

For more information, refer to the API reference information.

Related concepts

Related tasks

Related reference