Code generation for mapping object fields within nested arrays
    1.
    发明授权
    Code generation for mapping object fields within nested arrays 失效
    用于在嵌套数组中映射对象字段的代码生成

    公开(公告)号:US06928642B2

    公开(公告)日:2005-08-09

    申请号:US09915086

    申请日:2001-07-25

    IPC分类号: G06F9/46 G06F9/45

    CPC分类号: G06F9/541

    摘要: A method and device for generating mapping source code to establish mapping connections between enterprise system nested array object fields and legacy system nested array object fields is disclosed. For each desired mapping connection in a received list of desired connections, a determination of an enterprise system field and legacy system field to be mapped, as well as a connection nesting level, is made. The identity of the system arrays containing the enterprise and legacy system fields is also determined. A logical tree is created which includes a root node, one leaf node for each desired connection, and, for each leaf node, N intermediate nodes interconnecting the leaf node with the root node, where N is equivalent to the determined nesting level of the connection associated with that leaf node, and where each of the N intermediate nodes that is successively further from the root node is associated with a successively more deeply nested target system array. The tree is then traversed depth-first to generate the desired mapping source code.

    摘要翻译: 公开了一种用于生成映射源代码以建立企业系统嵌套阵列对象字段与遗留系统嵌套数组对象字段之间的映射连接的方法和装置。 对于所期望连接的接收列表中的每个期望的映射连接,做出要映射的企业系统字段和传统系统字段的确定以及连接嵌套级别。 还确定了包含企业和遗留系统字段的系统阵列的身份。 创建一个逻辑树,其中包括根节点,每个所需连接的一个叶节点,以及每个叶节点,将叶节点与根节点互连的N个中间节点,其中N等于确定的连接的嵌套级别 与该叶节点相关联,并且其中从根节点连续进一步的N个中间节点中的每一个与连续更深的嵌套目标系统阵列相关联。 然后将树深度优先遍历,以生成所需的映射源代码。

    Mapping between native data type instances
    2.
    发明授权
    Mapping between native data type instances 失效
    本地数据类型实例之间的映射

    公开(公告)号:US07058645B2

    公开(公告)日:2006-06-06

    申请号:US10378377

    申请日:2003-03-03

    IPC分类号: G06F17/30

    摘要: Mapping of a first native data type instance to a second native data type instance is performed in three stages: the first native data type instance is converted into a first programming language and platform independent representation conforming to a first schema capable of defining base and derived data types; the first programming language and platform independent representation is transformed into a second programming language and platform independent representation conforming to a second schema capable of defining base and derived data types; and the second programming language and platform independent representation is converted into the second native data type instance. The programming language and platform independent representations may be event-based extensible Markup Language (XML) representations implemented according to the Simple API for XML (SAX). The transformation may be governed by an extensible Stylesheet Language Transform (XSLT) stylesheet.

    摘要翻译: 将第一本地数据类型实例映射到第二本地数据类型实例分三个阶段执行:第一本地数据类型实例被转换为符合第一模式的第一编程语言和平台独立表示,该第一模式能够定义基础和派生数据 类型 第一编程语言和平台独立表示被转换成符合能够定义基础和派生数据类型的第二模式的第二编程语言和平台独立表示; 并将第二编程语言和平台独立表示转换为第二本地数据类型实例。 编程语言和平台无关表示可以是根据Simple API for XML(SAX)实现的基于事件的可扩展标记语言(XML)表示。 转换可以由可扩展样式表语言转换(XSLT)样式表来管理。