摘要
模型信息转换是目前软件工程领域比较热门的研究方向,将UML模型信息转换成XMI中间标准格式,能够实现模型到模型转换,模型到代码自动生成,加快系统开发进度,提高软件质量。提出一种UML用例图到XMI的映射算法。首先介绍了MDA,UML,XMI以及用例图等基本概念,然后对XMI Schema抽象模型进行形式化描述,并根据XMI模式定义和UML用例图映射规则对映射算法进行具体描述。最后通过一个具体的泛化用例图到XMI的映射实例进行算法验证。
Model information transformation is one of the popular research direction in the field of software engineering. Transforming the UML model information into XMI standard format can realize transformation between models and gener- ating code from model automatically, speed up the progress of system development and improve the quality of software. Proposes a method of UML use case diagram mapping to XMI. Firstly introduced some basic concepts, such as MDA, UML, XMI, use case diagram. Then formalized the abstraction model of XMI Schema, and represented the mapping algorithm according to XMI schema definition and the mapping rules for UML use case diagrams. Finally verified the algorithm by using a specific example of the generalized use case diagram mapping to XMI.
出处
《贵阳学院学报(自然科学版)》
2015年第2期10-14,共5页
Journal of Guiyang University:Natural Sciences
基金
云南省教育厅科学研究基金项目:"校园网络自组织群舆论数据挖掘与引导措施研究"(项目编号:2012C180)