Method and system for enforcing ontological context rules for object-oriented programs
First Claim
Patent Images
1. A method comprising:
- receiving pattern language code that includes definitions of a business class and field classes, wherein the field classes include ontological context rules; and
generating high-level object-oriented code that includes the business classes and the field classes with ontological contexts.
8 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for dynamically retrieving ontological context are described herein. In one embodiment, the method includes receiving pattern language code that includes definitions of business classes and field classes, wherein the field classes include ontological contexts. The method also includes generating high-level object-oriented code that includes the business classes and the field classes with ontological contexts.
-
Citations
28 Claims
-
1. A method comprising:
-
receiving pattern language code that includes definitions of a business class and field classes, wherein the field classes include ontological context rules; and
generating high-level object-oriented code that includes the business classes and the field classes with ontological contexts. - View Dependent Claims (2, 3)
-
-
4. A method comprising:
-
creating a definition for a first field class;
creating a definition for a second field class, wherein the second field class includes an ontological context rule, and wherein the ontological context rule uses the first field class; and
creating a definition for a business class that includes a second field and a first field, wherein the first field is within the reachable ontological context of the second field, wherein the first field is related to the first field definition, and wherein the second field is related to the second field definition. - View Dependent Claims (5, 6)
-
-
7. A method comprising:
-
receiving a request to create a business class that includes a field that has an ontological context rule; and
creating an instance of the business class. - View Dependent Claims (8, 9)
-
-
10. A method comprising:
-
determining reachable ontological contexts for a plurality of field classes of a business class, wherein certain of the field classes include ontological context rules, and wherein each of the ontological context rules uses at least one of the plurality of field classes;
selecting one of the certain field classes, wherein the selected certain field class includes one of the ontological context rules, and wherein the one of the ontological context rules uses one of the plurality of field classes; and
determining whether the selected certain field class'"'"' reachable ontological context includes the one of the plurality of field classes. - View Dependent Claims (11, 12, 13)
-
-
14. A system comprising:
-
a persistent data store to store pattern language code that includes ontological context rules; and
a high-level object-oriented language generator and validator to generate high-level object-oriented language code from the pattern language code, wherein the high-level object-oriented language code includes definitions of business classes and field classes, wherein the field classes include ontological contexts. - View Dependent Claims (15)
-
-
16. A machine-readable medium that provides instructions, which when executed by a machine, cause the machine to perform operations comprising:
-
receiving pattern language code that includes definitions of a business class and field classes, wherein the field classes include ontological context rules; and
generating high-level object-oriented code that includes the business classes and the field classes with ontological contexts. - View Dependent Claims (17, 18)
-
-
19. A machine-readable medium that provides instructions, which when executed by a machine, cause the machine to perform operations comprising:
-
creating a definition for a first field class;
creating a definition for a second field class that includes an ontological context rule, wherein the ontological context rule uses the first field class; and
creating a definition for a business class that includes a second field and a first field, wherein the first field is in the reachable ontological context of the second field, wherein the first field is related to the first field definition, and wherein the second field is related to the second field definition. - View Dependent Claims (20, 21)
-
-
22. A machine-readable medium that provides instructions, which when executed by a machine, cause the machine to perform operations comprising:
-
receiving a request to create a business class that includes a field that has an ontological context rule; and
creating an instance of the business class. - View Dependent Claims (23, 24)
-
-
25. A machine-readable medium that provides instructions, which when executed by a machine, cause the machine to perform operations comprising:
-
determining reachable ontological contexts for a plurality of field classes of a business class, wherein certain of the field classes include ontological context rules, and wherein each of the ontological context rules uses at least one of the plurality of field classes;
selecting one of the certain field classes, wherein the selected certain field class includes one of the ontological context rules, and wherein the one of the ontological context rules uses one of the plurality of field classes; and
determining whether the selected certain field class'"'"' reachable ontological context includes the one of the plurality of field classes. - View Dependent Claims (26, 27, 28)
-
Specification