Method and system for generating computer programs for queries formed by manipulating object-oriented diagrams
First Claim
Patent Images
1. A computer-implemented method for generating a computer program that specifies a query for extracting data from a database, the method comprising the steps of:
- creating an object-oriented diagram describing data structures within the database as object classes and providing a representation of relationships between each of the object classes;
interpreting the object-oriented diagram as specifying a subset of all object instances of the object classes that satisfy constraints implied by the relationships in the object-oriented diagram;
performing a series of transformations on the object classes within the object-oriented diagram to further specify conditions of the query;
producing a revised object-oriented diagram representative of the query; and
automatically generating a code for the query from the revised object-oriented diagram.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for generating computer programs for queries by manipulating an object-oriented diagram. In the present invention, a query is specified for the object diagram. A series of transformations are performed on the object classes within the object diagram in accordance with the query. A revised object diagram representative of the query is then produced. Computer code is then automatically generated for the query from the revised object diagram. The code is used to prototype programs that query and/or update data stored in a database.
134 Citations
18 Claims
-
1. A computer-implemented method for generating a computer program that specifies a query for extracting data from a database, the method comprising the steps of:
-
creating an object-oriented diagram describing data structures within the database as object classes and providing a representation of relationships between each of the object classes; interpreting the object-oriented diagram as specifying a subset of all object instances of the object classes that satisfy constraints implied by the relationships in the object-oriented diagram; performing a series of transformations on the object classes within the object-oriented diagram to further specify conditions of the query; producing a revised object-oriented diagram representative of the query; and automatically generating a code for the query from the revised object-oriented diagram. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-implemented method for generating a computer program that specifies a query for extracting data from a database, the method comprising the steps of:
-
creating an object-oriented diagram describing data structures within the database as object classes and providing a representation of relationships between each of the object classes; interpreting the object-oriented diagram as specifying a subset of all object instances of the object classes that satisfy constraints implied by the relationships in the object-oriented diagram; performing a series of transformations on the object classes within the object-oriented diagram to further specify conditions of the query; producing a revised object-oriented diagram representative of the query; automatically generating a code for the query from the revised object-oriented diagram; and prototyping the generated code for accessing and updating data stored in the database.
-
-
10. A system for generating a computer program that specifies a query for extracting data from a database, the system comprising:
-
a computer processor; a database coupled to the computer processor for storing data; interface means coupled to the computer processor for inputting, retrieving, and manipulating data in the database; and tooling means responsive to the interface means for producing the object-oriented diagram describing data structures within the database as object classes and providing a representation of relationships between each of the object classes, the tooling means further comprising means for interpreting the object-oriented diagram as specifying a subset of all object instances of the object classes that satisfy constraints implied by the relationships in the object-oriented diagram;
means for performing a series of transformations on the object classes within the object-oriented diagram to further specify conditions of the query;
means for producing a revised object-oriented diagram representative of the query; and
means for automatically generating a code for the query from the revised object-oriented diagram. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A system for generating a computer program that specifies a query for extracting data from a database, the system comprising:
-
a computer processor; a database coupled to the computer processor for storing data; interface means coupled to the computer processor for inputting, retrieving, and manipulating data in the database; and tooling means responsive to the interface means for producing the object-oriented diagram describing data structures within the database as object classes and providing a representation of relationships between each of the object classes, the tooling means further comprising means for interpreting the object-oriented diagram as specifying a subset of all object instances of the object classes that satisfy constraints implied by the relationships in the object-oriented diagram;
means for performing a series of transformations on the object classes within the object-oriented diagram to further specify conditions of the query;
means for producing a revised object-oriented diagram representative of the query;
means for automatically generating a code for the query from the revised object-oriented diagram; and
means for prototyping the generated code for accessing and updating data stored in the database.
-
Specification