Patent ID: 7827524
Filing Date: 2010-11-02
Classification: G06F

Abstract:
1. A method for automatically generating object-oriented source code in an object-oriented programming language with embedded inferencing, wherein semantic features of the object-oriented programming language with embedded inferencing enable support for inferencing over rules without incorporating an instantiated inference engine accessed through an application program interface, the method comprising: receiving a modeling template at an interface between a modeling application and a computer system configured to execute one or more object-oriented source modules that are written in the object-oriented programming language with embedded inferencing; parsing the received modeling template to identify one or more profile constructs implemented in the modeling template, wherein the identified profile constructs are associated with a modeling profile that defines semantic extensions to a modeling language, and wherein the semantic extensions defined in the modeling profile provide the modeling language with functionality associated with the semantic features of the object-oriented programming language with embedded inferencing that enable the support for inferencing over rules; identifying one or more mapping algorithms respectively associated with the one or more identified profile constructs, wherein the respective mapping algorithm associated with each of the identified profile constructs is used to map the respective profile construct with an object-oriented construct associated with the object-oriented programming language with embedded inferencing; identifying an object facility that includes a plurality of metamodels, wherein the plurality of metamodels include a metamodel for the modeling language and a metamodel for the object-oriented programming language with embedded inferencing; using the identified object facility and the mapping algorithms respectively associated with the identified profile constructs to map the identified profile constructs to one or more object-oriented constructs associated with the object-oriented programming language with embedded inferencing; generating one or more object-oriented source code modules in the object-oriented programming language with embedded inferencing from the object-oriented constructs mapped to the identified profile constructs, wherein the object-oriented source code modules include at least one object-oriented source code module providing the functionality associated with the semantic features that enable the support for inferencing over rules; and executing the generated object-oriented source code modules on the computer system, wherein the object-oriented source code modules inherently support inferencing over rules when executed on the computer system via the at least one object-oriented source code module providing the functionality associated with the semantic features of the object-oriented programming language with embedded inferencing that enable the support for inferencing over rules.