摘要 |
A query object generator tool which generates interface definitions and code that implement a query object also generates a graphic user interface (GUI) for controlling the generator tool and plug-in objects, including a database schema access query object and test objects for allowing the GUI to operate with vendor-specific databases. The GUI is "customized" by the various plug-in objects. For example, the database schema access query object is designed specifically for a particular underlying database and retrieves "metadata" concerning the database schema. The retrieved metadata is then displayed as part of the graphic user interface to assist the user in constructing a query object. Test objects are also generated by the GUI in response to a user request. The test objects contain information that characterizes the query object for testing purposes. The information in the test objects is used with a test framework to install and initialize the query object. The test framework also uses the information in the test objects to customize part of the GUI in order to allow a user to view and interact with the installed query object. In particular, the customized GUI allows a developer to enter input parameters for a query directly from the interface and use the installed query object to perform a query with the input parameters. Results which are returned from the query are displayed on the interface.
|