摘要
MDA的核心特点之一就是模型转换的自动化.目前,MDA仍处于发展阶段,有许多问题需要完善,PIM到PSM的自动转换是急需解决的问题之一.笔者的主要工作如下:首先提出使用UML和OCL结合建模,使得模型更加精确,然后介绍了对建立的町视化概念模型的XML存储,提出了一种基于XML的PIM模型到PSM模型的转换规则,并提出用XMLSchema对XML文档转换的精确性进行验证,这种方法提高了模型的转换效率并且保证了转换的正确性.最后将本文提出的主要技术应用到了山东省学位与研究生教育管理信息系统中,并取得了良好的效果.
MDA is still in the development stage,and the automatic transformation from PIM to PSM is one of the problems needed to solve. The paper is organized as follows: Firstly this paper presents a modeling method based on UML and OCL, and several methods of MDA transformation are introduced. Secondly it describes a general XML - based expression of the PIM and a XML - based transformation from PIM to PSM. This model transformation converts to the operation on XML document by using this method. Thirdly, a case study of Graduate Education Management System is described using MDA and its primary technologies. At last, conclusions are shown.
出处
《山东师范大学学报(自然科学版)》
CAS
2011年第4期5-8,12,共5页
Journal of Shandong Normal University(Natural Science)
基金
山东省研究生创新计划资助项目(SDYZ06001)
新世纪优秀人才支持计划资助项目(NCET-10-0863).