Invention Grant
- Patent Title: Generating references to reusable code in a schema
- Patent Title (中): 在模式中生成对可重用代码的引用
-
Application No.: US12482436Application Date: 2009-06-10
-
Publication No.: US08135757B2Publication Date: 2012-03-13
- Inventor: Gary Isaak Mazo
- Applicant: Gary Isaak Mazo
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Konrad Raynes & Victor LLP
- Agent David W. Victor
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
Provided are a method, system, and computer program product to generate references to reusable code in a schema. A program is coded in a first programming language having data structures, wherein at least one of the data structures includes a reference to reusable code. A model file is generated providing a source name identifying the reusable code, elements and attributes in a second programming language for the reference to the reusable code in the program. A generator is invoked with a reference to the model file. The invoked generator processes the data structure coded in the first programming language to generate a data structure schema in the computer readable medium in a second programming language describing elements and attributes of the data structure coded in the first programming language. A determination is made of instances of the source name indicated in the model file in the data structure. For the determined instances of the source name in the data structure, a reference in the data structure schema to the reusable code identified by the source name is generated, wherein the reference generated in the data structure schema includes the element and attribute information indicated in the model file.
Public/Granted literature
- US20100318574A1 GENERATING REFERENCES TO REUSABLE CODE IN A SCHEMA Public/Granted day:2010-12-16
Information query