Generating a relational view for a base model schema
First Claim
Patent Images
1. A method for generating a relational view, comprising:
- receiving a command identifying a base model, a relational schema, and a ViewType, wherein the base model represents a set of classes, attributes of the classes, and associations between classes, and wherein the ViewType references the set of classes, the attributes of the classes, and the associations between the classes of the base model as ViewType objects;
executing the command to automatically generate a statement to create a relational view of instance data for the base model using the ViewType by walking down the ViewType, wherein for each class, the attributes of the class are selected and the associations are recursively followed from the class to related classes where attributes are selected, and wherein the statement to create the relational view identifies columns corresponding to attributes defined in the ViewType; and
executing the statement to create the relational view.
2 Assignments
0 Petitions
Accused Products
Abstract
Disclosed is a technique for generating a relational view. Initially, identification of a base model, a relational schema, and a ViewType are received. Then, a statement to create a relational view of the instance data for the base model using the ViewType is automatically generated.
27 Citations
18 Claims
-
1. A method for generating a relational view, comprising:
-
receiving a command identifying a base model, a relational schema, and a ViewType, wherein the base model represents a set of classes, attributes of the classes, and associations between classes, and wherein the ViewType references the set of classes, the attributes of the classes, and the associations between the classes of the base model as ViewType objects; executing the command to automatically generate a statement to create a relational view of instance data for the base model using the ViewType by walking down the ViewType, wherein for each class, the attributes of the class are selected and the associations are recursively followed from the class to related classes where attributes are selected, and wherein the statement to create the relational view identifies columns corresponding to attributes defined in the ViewType; and executing the statement to create the relational view. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An article of manufacture comprising a computer-readable storage medium including a program for generating a relational view, wherein the program is capable of causing operations to be performed, the operations comprising:
-
receiving a command identifying a base model, a relational schema, and a ViewType, wherein the base model represents a set of classes, attributes of the classes, and associations between classes, and wherein the ViewType references the set of classes, the attributes of the classes, and the associations between the classes of the base model as ViewType objects; executing the command to automatically generate a statement to create a relational view of instance data for the base model using the ViewType by walking down the ViewType, wherein for each class, the attributes of the class are selected and the associations are recursively followed from the class to related classes where attributes are selected, and wherein the statement to create the relational view identifies columns corresponding to attributes defined in the ViewType; and executing the statement to create the relational view. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system for generating a relational view, comprising:
-
circuitry comprising hardware logic capable of performing operations, the operations comprising; receiving a command identifying in a base model, a relational schema, and a ViewType, wherein the base model represents a set of classes, attributes of the classes, and associations between classes, and wherein the ViewType references the set of classes, the attributes of the classes, and the associations between the classes of the base model as ViewType objects; executing the command to automatically generate a statement to create a relational view of instance data for the base model using the ViewType by walking down the ViewType, wherein for each class, the attributes of the class are selected and the associations are recursively followed from the class to related classes where attributes are selected, and wherein the statement to create the relational view identifies columns corresponding to attributes defined in the ViewType; and executing the statement to create the relational view. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification