TWO META-LEVEL MODELING APPROACH FOR MAPPING TYPED DATA

    公开(公告)号:CA2354613A1

    公开(公告)日:2003-02-01

    申请号:CA2354613

    申请日:2001-08-01

    Applicant: IBM CANADA

    Abstract: The present invention is directed to an improved mapping system and code generation system. Embodiments of the present invention separate the mapping of data elements into two metalevels. The first metalevel maps between types of elements (e.g ., string, int, float, varchar, etc.). This first metalevel mapping is associated with an object that contains a method (i.e., a function) which performs the conversion between t he type of the element from a first data structure to the type of element in a second data structure. The second metalevel describes the actual mapping between the data elements at issue. Accordingly, the second metalevel results in an instance of the first metalevel object. Source code or scripts generated in accordance with this separation provide numerous advantages including improved flexibility, reduced storage space usage and others. The two metalevel modeling of the invention can be embodied in sourc e code (or script) generators to generate more efficient source code (or scripts).

Patent Agency Ranking