Method and system for generating program source code of a computer application from an information model
First Claim
1. A method in a computer system for generating program source code of a computer application from an information model representing a high level specification of the computer application, said method comprising the computer-implemented steps of:
- inserting reconciliation annotations in said program source code, said reconciliation annotations representing at least a modification rule and a modification state for each language element contained in said generated source code;
upon receiving a current version of said program source code, said current version resulting from the modification by a user of an old generated version of said program source code, and a new generated version of said program source code, said new version reflecting changes in the application information model, reconciling the current version with the new version of the program source code according to the reconciliation annotations inserted in each of the current and new program source code versions; and
generating a reconciled version of the program source code, whereby user modifications in an old version of the program source code and subsequent changes in the application information model are automatically consolidated in a reconciled version of the program source code.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for generating program source code of a computer application from an information model representing a high level specification of the computer application, comprises a step of inserting reconciliation annotations in the program source code, the reconciliation annotations representing a modification rule and a modification state for each language element contained in the generated source code. Then, upon receiving a current version of the program source code, the current version resulting from the modification by a user of an old generated version of the program source code, and a new generated version of the program source code, the new version reflecting changes in the application information model, a step of reconciling the current version with the new version of the program source code according to the reconciliation annotations inserted in each of the current and new program source code versions, and a step of generating a reconciled version of the program source code are performed.
125 Citations
28 Claims
-
1. A method in a computer system for generating program source code of a computer application from an information model representing a high level specification of the computer application, said method comprising the computer-implemented steps of:
-
inserting reconciliation annotations in said program source code, said reconciliation annotations representing at least a modification rule and a modification state for each language element contained in said generated source code; upon receiving a current version of said program source code, said current version resulting from the modification by a user of an old generated version of said program source code, and a new generated version of said program source code, said new version reflecting changes in the application information model, reconciling the current version with the new version of the program source code according to the reconciliation annotations inserted in each of the current and new program source code versions; and generating a reconciled version of the program source code, whereby user modifications in an old version of the program source code and subsequent changes in the application information model are automatically consolidated in a reconciled version of the program source code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A system for generating program source code of a computer application comprising:
-
insertion means for inserting reconciliation annotations in said program source code during a generation process, said reconciliation annotations representing at least a modification rule and a modification state for each language element contained in said generated source code; and a reconciliation component including; means for receiving a current version of said program source code, said current version resulting from the modification by a user of an old generated version of said program source code, and a new generated version of said program source code, said new version reflecting changes in the application information model; means for reconciling said current version with said new version of the program source code according to the reconciliation annotations inserted in each of the current and new program source code versions; means for generating a reconciled version of the program source code, whereby user modifications in an old version of the program source code and subsequent changes in the application information model are automatically consolidated in a reconciled version of the program source code; a core engine containing information required for calling program functions which implement the reconciliation procedure, a renaming procedure, and a validation procedure, the core engine being independent of the programming language used for the program source code and independent of a corresponding dedicated tree structure format; a first interface containing at least information for declaring the methods which make it possible to actually run the reconciliation, the renaming or the validation procedure on language-specific Document Object Model (DOM) trees; a second interface containing information for declaring methods which enable the consulting of the information items associated to a given tree node, information for declaring a method which enables the detection of a user modification during the course of the validation procedure, and information for declaring a method which enables the processing of a node during the renaming procedure; and an extension module containing a number of extension units, each extension unit being dedicated to one particular programming language supported by said program source code generation system and its corresponding tree structure format, each extension unit containing two programming language-specific classes which implement respectively said first and second interfaces.
-
-
16. A computer program in a computer readable medium, said program comprising program instructions adapted to implement a method comprising the steps of:
-
inserting reconciliation annotations in said program source code, said reconciliation annotations representing at least a modification nile and a modification state for each language element contained in said generated source code; upon receiving a current version of said program source code, said current version resulting from the modification by a user of an old generated version of said program source code, and a new generated version of said program source code, said new version reflecting changes in the application information model, reconciling the current version with the new version of the program source code according to the reconciliation annotations inserted in each of the current and new program source code versions; and generating a reconciled version of the program source code, whereby user modifications in an old version of the program source code and subsequent changes in the application information model are automatically consolidated in a reconciled version of the program source code. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
Specification