首页 | 本学科首页   官方微博 | 高级检索  
     

一种面向图形化建模语言表示法的元模型
引用本文:何 啸,麻志毅,邵维忠.一种面向图形化建模语言表示法的元模型[J].软件学报,2008,19(8):1867-1880.
作者姓名:何 啸  麻志毅  邵维忠
作者单位:北京大学,信息科学技术学院,北京,100871;北京大学,高可信软件技术教育部重点实验,北京,100871
基金项目:Supported by the National Natural Science Foundation of China No.60773152 (国家自然科学基金); the National Basic ResearchProgram of China No.2005CB321805 (国家重点基础研究发展计划(973)); the National Key Technology R&D Program of China under Grant No.2006BAH02A02 (国家科技支撑计划); the National High-Tech Research and Development Plan of China underGrant Nos.2007AA01Z127, 2007AA010301 (国家高技术研究发展计划(863))
摘    要:对于图形化的建模语言,为定义其表示法一般需要解决3个问题:如何定义每个建模元素的图形符号,如何定义图形符号之间的位置关系以及如何将表示法映射到抽象语法.为了方便进行模型转换和代码生成,还需要使用模型化的方式描述建模语言的表示法.通过对UML及其语言家族中的表示法进行总结、分析和归纳,提出了一种表示法定义元模型(notation definition metamodel,简称NDM).针对定义表示法所面临的3个问题,NDM被分成基本图元及其布局、基本位置关系和抽象语法桥三部分.使用NDM定义好的表示法模型还可以通过代码生成技术生成可使用的源代码.将NDM与其他几种定义表示法的方法进行了比较,结果表明,NDM与其他方法相比具有优势.NDM已经在元建模工具PKU MetaModeler中实现.介绍了NDM在实际应用中的几个案例.

关 键 词:元模型  元建模  表示法  图形建模语言  MDA(model  driven  architecture)
收稿时间:1/7/2008 12:00:00 AM
修稿时间:2008/4/18 0:00:00

A Metamodel for the Notation of Graphical Modeling Languages
HE Xiao,MA Zhi-Yi and SHAO Wei-Zhong.A Metamodel for the Notation of Graphical Modeling Languages[J].Journal of Software,2008,19(8):1867-1880.
Authors:HE Xiao  MA Zhi-Yi and SHAO Wei-Zhong
Abstract:For graphical modeling languages,there are three problems on the notation definition:How to define graphical symbols for modeling elements;How to define the location relations between symbols;How to map the symbols and the location relations to the abstract syntax.For model transformation and code generation,the notation has to be represented as models.This paper proposes the notation definition metamodel (NDM) for metamodeling tools by summarizing and analyzing the notation of UML and UML family.For the three problems on notation definition,NDM is composed of three parts:basic figures and layouts,location relations and abstract syntax bridges.The notation model defined by NDM can be transformed to usable source codes.This paper also makes a comparison between NDM and other methods,and the results show that NDM have some advantages over other methods.NDM has been implemented in PKU MetaModeler,and some practices of NDM are introduced.
Keywords:metamodel  metamodeling  notation  graphical modeling language  MDA (model driven architecture)
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号