Method and system to automatically regenerate software code
First Claim
1. A method to automatically regenerate software for an object to relational mapping system, the method including:
- reading class information respectively associated with a first plurality of classes, classes, the class information comprises a configuration file containing meta-data and a class definition file including at least one template defining at least one rule applied to meta-data in the configuration file to regenerate a class; and
automatically regenerating the first plurality of classes based on the configuration file andthe class definition file, the first plurality of classes including base code that is associated with a second plurality of classes including custom code, the first plurality of classes to be regenerated without overwriting the second plurality of classes including the custom code, the first plurality of classes and the second plurality of classes utilized by the object to relational mapping system to enable an application program to access data that is persistently stored in a database, the second plurality of classes respectively inheriting from the first plurality of classes, and the first plurality of classes including a first class and a second class, the first class utilized to automatically retrieve data to construct a plurality of data objects respectively instantiated based on the second class, the first plurality of classes and the second plurality of classes each include a class having business rules defining access to the data.
2 Assignments
0 Petitions
Accused Products
Abstract
According to a second aspect there is provided a method and system to automatically regenerate software for an object to relational mapping system. The system automatically regenerates a first set of classes. For each class, the system reads class information; reads meta-data based on the class information; and automatically regenerates the class based on the meta-data without overwriting associated custom code. The first set of classes includes base code that is associated with the custom code. The first set of classes and the base code are utilized by the object to relational mapping system to enable an application program to access data that is persistently stored in a database.
-
Citations
40 Claims
-
1. A method to automatically regenerate software for an object to relational mapping system, the method including:
-
reading class information respectively associated with a first plurality of classes, classes, the class information comprises a configuration file containing meta-data and a class definition file including at least one template defining at least one rule applied to meta-data in the configuration file to regenerate a class; and automatically regenerating the first plurality of classes based on the configuration file and the class definition file, the first plurality of classes including base code that is associated with a second plurality of classes including custom code, the first plurality of classes to be regenerated without overwriting the second plurality of classes including the custom code, the first plurality of classes and the second plurality of classes utilized by the object to relational mapping system to enable an application program to access data that is persistently stored in a database, the second plurality of classes respectively inheriting from the first plurality of classes, and the first plurality of classes including a first class and a second class, the first class utilized to automatically retrieve data to construct a plurality of data objects respectively instantiated based on the second class, the first plurality of classes and the second plurality of classes each include a class having business rules defining access to the data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A system to automatically regenerate software for an object to relational mapping system, the system including:
-
at least one machine including; a read module, executable on the machine, to read class information respectively associated with a first plurality of classes, the class information comprises a configuration file that contains meta-data and a class definition file that includes at least one template that defines at least one rule that is operable for application to meta-data in the configuration file to regenerate a class; and a class generator module, executable on the machine, to automatically regenerate the first plurality of classes based on the configuration file and the class definition file, the first plurality of classes including base code that is associated with a second plurality of classes including custom code, the first plurality of classes to be regenerated without overwriting the second plurality of classes including the custom code, the first plurality of classes and the second plurality of classes utilized by the object to relational mapping system to enable an application program to access data that is persistently stored in a database, the second plurality of classes respectively inheriting from the first plurality of classes, and the first plurality of classes including a first class and a second class, the first class utilized to automatically retrieve data to construct a plurality of data objects respectively instantiated based on the second class, the first plurality of classes and the second plurality of classes each include a class having business rules defining access to the data. - View Dependent Claims (25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38)
-
-
39. A machine readable medium storing a set of instructions that, when executed by a machine, cause the machine to:
-
read class information respectively associated with a first plurality of classes, the class information comprises a configuration file that contains meta-data and a class definition file that includes at least one template that defines at least one rule that is operable for application to meta-data in the configuration file to regenerate a class; and automatically regenerate the first plurality of classes based on the configuration file and the class definition file, the first plurality of classes including base code that is associated with a second plurality of classes including custom code, the first plurality of classes to be regenerated without overwriting the second plurality of classes including the base code, the first plurality of classes and the second plurality of classes utilized by the object to relational mapping system to enable an application program to access data that is persistently stored in a database, the second plurality of classes respectively inheriting from the first plurality of classes, and the first plurality of classes including a first class and a second class, the first class utilized to automatically retrieve data to construct a plurality of data objects respectively instantiated based on the second class, the first plurality of classes and the second plurality of classes each include a class having business rules defining access to the data.
-
-
40. A system to automatically regenerate software for an object to relational mapping system, the system including:
-
a first means for reading class information, the class information comprises a configuration file containing meta-data and a class definition file including at least one template defining at least one rule applied to meta-data in the configuration file to regenerate a class; and a second means for automatically regenerating the first plurality of classes based on the configuration file and the class definition file, the first plurality of classes including base code that is associated with a second plurality of classes including custom code, the first plurality of classes to be regenerated without overwriting the second plurality of classes including the base code, the first plurality of classes and the second plurality of classes utilized by the object to relational mapping system to enable an application program to access data that is persistently stored in a database, the second plurality of classes respectively inheriting from the first plurality of classes, and the first plurality of classes including a first class and a second class, the first class utilized to automatically retrieve data to construct a plurality of data objects respectively instantiated based on the second class, the first plurality of classes and the second plurality of classes each include a class having business rules defining access to the data.
-
Specification