首页> 外文期刊>Data & Knowledge Engineering >An Object-oriented Operation-based Approach To Translation Between Mof Metaschemas
【24h】

An Object-oriented Operation-based Approach To Translation Between Mof Metaschemas

机译:基于对象的基于操作的Mof模式之间的转换方法

获取原文
获取原文并翻译 | 示例
           

摘要

This paper proposes a new approach to the schema translation problem. We deal with schemas whose metaschemas are instances of the OMG's MOF. Most metaschemas can be defined as an instance of the MOF; therefore, our approach is widely applicable. We leverage the well-known object-oriented concepts embedded in the MOF and its instances (object types, attributes, relationship types, operations, IsA hierarchies, refinements, invariants, pre- and postconditions, etc.) to define metaschemas, schemas and their translations. The main contribution of our approach is the extensive use of object-oriented concepts in the definition of translation mappings, particularly the use of operations (and their refinements) and invariants, both of which are formalized in OCL. Our translation mappings can be used to check that two schemas are translations of each other, and to translate one into the other, in both directions. The translation mappings are declaratively defined by means of pre- and postconditions and invariants, and they can be implemented in any suitable language. From an implementation point of view, by taking a MOF-based approach we have a wide set of tools available, including tools that execute OCL. By way of example, we have defined all schemas and metaschemas in this paper and executed all the OCL expressions in the USE tool.
机译:本文提出了一种解决模式翻译问题的新方法。我们处理其元模式为OMG MOF实例的模式。可以将大多数metschemas定义为MOF的一个实例。因此,我们的方法是广泛适用的。我们利用嵌入在MOF及其实例中的众所周知的面向对象的概念(对象类型,属性,关系类型,操作,IsA层次结构,细化,不变式,前提条件和后置条件等)定义元架构,模式及其内容。翻译。我们的方法的主要贡献是在翻译映射的定义中广泛使用了面向对象的概念,特别是在OCL中将操作(及其改进)和不变量的使用都进行了形式化。我们的翻译映射可用于检查两个模式是否相互翻译,以及将两个模式在两个方向上翻译为另一个。翻译映射是通过前置条件和后置条件以及不变式声明性地定义的,并且可以用任何适当的语言来实现。从实现的角度来看,通过采用基于MOF的方法,我们可以使用多种工具,包括执行OCL的工具。通过示例,我们在本文中定义了所有模式和元方案,并在USE工具中执行了所有OCL表达式。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号