一种基于规则的模型转换方法  被引量:3

A Rule-based Model Transformation Method

在线阅读下载全文

作  者:张征[1] 何克清[1] 刘进[1] 

机构地区:[1]武汉大学软件工程国家重点实验室,湖北武汉430072

出  处:《计算机应用研究》2005年第10期16-19,共4页Application Research of Computers

基  金:国家自然科学基金资助项目(60373086);湖北省自然科学基金资助项目(2002ABB037);武汉市科技重点项目(20021002043);软件工程国家重点实验室开放基金资助项目(03-03)

摘  要:尽管模型驱动开发(MDD)代表软件工程的发展方向,但是目前MDD还缺乏一套完整的转换规则描述方法和相应的实现机制,难以实现模型的自动转换。为此定义了一个平台独立模型到平台相关模型的转换框架,采用UML活动图说明模型转换的实现机制;基于OCL定义了转换规则的表示法,并结合UML模型到Java模型的转换给出了转换规则的定义。最后在一个具体的实例中验证了此方法的合理性和易用性。Model Driven Development(MDD) represents the direction of the software eng/neering, but so far MDD is short of an integrated transformation description and according execute mechanism. So it is difficult to implement model auto-transformation. This paper defines a transformation framework from platform independent model to platform specific model and uses UML active graph to descript the mechanism of model transformation. Then this paper defines the representation of transformation rules based on OCL and gives the rules combining with the model transformation from model defined with UML to model specified by Java. At last an application example is given to demonstrate the reasonable and convenient of this method.

关 键 词:模型驱动开发 模型转换 转换规则 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象