Method for identifying UML objects in a repository with objects in XML content
    8.
    发明授权
    Method for identifying UML objects in a repository with objects in XML content 有权
    使用XML内容中的对象来识别存储库中的UML对象的方法

    公开(公告)号:US06408311B1

    公开(公告)日:2002-06-18

    申请号:US09345290

    申请日:1999-06-30

    IPC分类号: G06F1730

    CPC分类号: G06F8/24 Y10S707/99954

    摘要: In a computer system executing a repository program and having a memory, a method is disclosed for identifying UML objects in the repository with objects in an XML file. The method includes the steps of parsing the XML file into XML objects and building an object tree. Next, the object tree is traversed a first time, and for each XML object found that has a name, corresponding UML objects are identified. After this, the object tree is traversed a second time, and for each XML object found that does not have a name, corresponding UML objects are then identified through Compositions and References. The method for traversing said object tree a first time includes the steps of identifying a UML object type for each XML object, and when the XML object name matches the UML object name at the current level, a UML and XML object IDs are saved in a ‘Conversion’ object in the memory.

    摘要翻译: 在执行存储库程序并具有存储器的计算机系统中,公开了一种用于使用XML文件中的对象来识别存储库中的UML对象的方法。 该方法包括将XML文件解析为XML对象和构建对象树的步骤。 接下来,第一次遍历对象树,并且对于发现具有名称的每个XML对象,都标识相应的UML对象。 之后,第二次遍历对象树,并且对于找不到名称的每个XML对象,然后通过“组合和参考”来标识相应的UML对象。 第一次遍历对象树的方法包括识别每个XML对象的UML对象类型的步骤,并且当XML对象名称与当前级别的UML对象名称相匹配时,将UML和XML对象ID保存在 内存中的“转换”对象。

    Method for versioning a UML model in a repository in accordance with an updated XML representation of the UML model
    9.
    发明授权
    Method for versioning a UML model in a repository in accordance with an updated XML representation of the UML model 有权
    根据UML模型的更新的XML表示形式在存储库中对UML模型进行版本化的方法

    公开(公告)号:US06330569B1

    公开(公告)日:2001-12-11

    申请号:US09345291

    申请日:1999-06-30

    IPC分类号: G06F1730

    摘要: In a computer system executing a repository program and having a memory, a method is disclosed for versioning a UML model in the repository in accordance with an updated XML representation of the UML model. The method includes the steps of identifying differences between UML objects in the UML model and XML objects in the XML file. Where there is a difference between one of the UML objects and one of the XML objects, it is reserved as a ghost object. The ghost object is updated to match each corresponding one of the XML objects. Objects whose target references have been changed are reserved and updated. Finally, the UML objects are updated in the repository that refer to ghost objects updated in the preceding step. The method includes making changes to the ghost object Attributes, References and owned elements to match Attributes, References and owned elements, respectively, found in the XML object.

    摘要翻译: 在执行存储库程序并具有存储器的计算机系统中,公开了根据UML模型的更新的XML表示来在存储库中版本化UML模型的方法。 该方法包括识别UML模型中的UML对象与XML文件中的XML对象之间的差异的步骤。 在其中一个UML对象与其中一个XML对象之间存在差异的地方,它被保留为一个ghost对象。 更新ghost对象以匹配每个对应的一个XML对象。 其目标引用被更改的对象被保留和更新。 最后,UML对象在存储库中被更新,它引用了上一步中更新的ghost对象。 该方法包括对ghost对象Attributes,References和所有的元素进行更改,以分别匹配XML对象中的Attributes,References和拥有的元素。