Framework for applying operations to nodes of an object model
First Claim
1. A framework for applying operations to nodes of an object model, the framework comprising:
- metadata within the object model, wherein the metadata;
is available at run-time,specifies hierarchical relationships between nodes of the object model, andspecifies data-type information for nodes of the object model;
a hierarchy-traversal routine that includes computer-executable instruct ons that, when executed, traverse the specified hierarchical relationships to gather, from the metadata at run-time, information that is pertinent to applying operations to nodes of the object model;
an operations-application routine that includes computer-executable instructions that, when executed, apply operations to nodes of the object model in accordance with the information gathered at run-time from the metadata;
wherein the metadata specifies at least one service of the framework to which at least one of the nodes subscribes; and
wherein the at least one service includes at least one of;
a compile service that transfers data from an XML representation to the object model;
a decompile service that transfers data from the object model to an XML representation;
a dehydrate service that transfers data from the object model to a database representation;
a rehydate service that transfers data from a database representation to the object model;
an xml schema generation service that produces an XML schema definition that the compile and decompile services conform to; and
a database schema that is used to configure the database to host data for the dehydrate and rehydrate services.
2 Assignments
0 Petitions
Accused Products
Abstract
A framework may include an object model and services. The framework may gather information at run-time from metadata within the object model before the framework operates on the classes. For a class within the object model, a subclass may be generated for containing pertinent metadata about the class. Through annotations of class members, the framework may determine the various types of data within the framework. This hierarchy information may specify how objects within the object model relate to one another. An annotation set within the subclass may contain information specifying how members of the class should behave, including, which services of the framework the class member should participate in and how the class member should participate. The annotations may be used for indicating how services of the framework should persist data to various storage units, such as an XML file and/or a database table.
97 Citations
18 Claims
-
1. A framework for applying operations to nodes of an object model, the framework comprising:
-
metadata within the object model, wherein the metadata; is available at run-time, specifies hierarchical relationships between nodes of the object model, and specifies data-type information for nodes of the object model; a hierarchy-traversal routine that includes computer-executable instruct ons that, when executed, traverse the specified hierarchical relationships to gather, from the metadata at run-time, information that is pertinent to applying operations to nodes of the object model; an operations-application routine that includes computer-executable instructions that, when executed, apply operations to nodes of the object model in accordance with the information gathered at run-time from the metadata; wherein the metadata specifies at least one service of the framework to which at least one of the nodes subscribes; and wherein the at least one service includes at least one of; a compile service that transfers data from an XML representation to the object model; a decompile service that transfers data from the object model to an XML representation; a dehydrate service that transfers data from the object model to a database representation; a rehydate service that transfers data from a database representation to the object model; an xml schema generation service that produces an XML schema definition that the compile and decompile services conform to; and a database schema that is used to configure the database to host data for the dehydrate and rehydrate services. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A framework for applying operations to nodes of an object model, the framework comprising:
-
metadata within the object model, wherein the metadata; is available at run-time, specifies hierarchical relationships between nodes of the object model, and specifies data-type information for nodes of the object model; an operations-application routine that includes computer-executable instructions that, when executed, apply operations to the nodes in accordance with information available at runtime from the metadata; a plurality of services that include computer-executable instructions that, when executed, transfer data, between the object model and disparate types of persistent data representations, in accordance with information that is available at run-time from the metadata; wherein; a first pair of services transfers generic data items between the object model and a first of the disparate types of persistent data representations, and a second pair of services transfers generic data items between the object model and a second of the disparate types of persistent data representations; wherein the metadata specifies which of the pairs of services each of a plurality of nodes subscribes to; wherein the disparate types of persistent data representations are an XML representation and a database representation; and wherein, when a change is made, in the XML representation, the object model, or the database representation, to data of, or metadata corresponding to, a node that participates in both the first pair of services and the second pair of services, the change is automatically propagated to any of the data representations, including the object model, other than the data representation in which the change was made. - View Dependent Claims (9, 10)
-
-
11. At least one computer-readable media having stored thereon a data structure containing metadata of an object model of a framework for applying operations to nodes of the object model, the metadata being available at run-time and comprising;
-
information that specifies hierarchical relationships between nodes of the object model, data-type information for nodes of the object model, at least one service of the framework to which at least one of the nodes subscribes, and how the at least one of the nodes participates in the at least one service to which the at least one of the nodes subscribes; and wherein the at least one service includes at least one of; a compile service that transfers data from an XML representation to the object model; a decompile service that transfers data from the object model to an XML representation; a dehydrate service that transfers data from the object model to a database representation; a rehydrate service that transfers data from a database representation to the object model; an xml schema generation service that produces an XML schema definition that the compile and decompile services conform to; and a database schema that is used to configure the database to host data for the dehydrate and rehydrate services. - View Dependent Claims (12, 13)
-
-
14. A commuter-implemented method of applying operations to nodes of an object model, the method comprising;
-
traversing hierarchical relationships between nodes of the object model to gather, at run-time from metadata of the object model, information that is pertinent to applying operation to nodes of the object model; and applying operations to nodes of the object model in accordance with the information gathered at run-time from the metadata; wherein the metadata specifies at least one service of the framework to which at least one of the nodes subscribes; and wherein the at least one service includes at least one of; a compile service that transfers data from an XML representation to the object model; a decompile service that transfers data from the object model to an XML representation; a dehydrate service that transfers data from the object model to a database representation; a rehydrate service that transfers data from a database representation to the object model; an xml schema generation service that produces an XML schema definition that the compile and decompile services conform to; and a database schema that is used to configure the database to host data for the dehydrate and rehydrate services. - View Dependent Claims (15, 16, 17, 18)
-
Specification