Patent application number | Description | Published |
20090113401 | USING ANNOTATIONS TO REUSE VARIABLE DECLARATIONS TO GENERATE DIFFERENT SERVICE FUNCTIONS - Provided are a method, system, and article of manufacture for using annotations to reuse variable declarations to generate different service functions. A declaration file has variable declarations in a first programming language environment for use by application functions. The declaration file includes a plurality of sets of annotations for a plurality of service functions. Each of the sets of annotations identifies variables in the declaration file to use with one of the service functions. The declaration file is processed to generate one of the service functions. The set of annotations in the declaration file for the service function to generate is determined. The determined set of annotations is processed to determine variables to include with the service function to generate. The determined variables from the declaration file are used to generate the service function. | 04-30-2009 |
20100318574 | GENERATING REFERENCES TO REUSABLE CODE IN A SCHEMA - 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. | 12-16-2010 |
20120124101 | GENERATING REFERENCES TO REUSABLE CODE IN A SCHEMA - Provided are a method, system, and computer program product to generate references to reusable code in a schema. A program coded in a first programming language has data structures, wherein at least one of the data structures includes a reference to reusable code. A model file is generated identifying the reusable code, elements and attributes in a second programming language for the reference to the reusable code in the program. The data structure coded in the first programming language is processed to generate a data structure schema in a second programming language describing elements and attributes of the data structure coded in the first programming language. A reference in the data structure schema to the reusable code is generated. | 05-17-2012 |