期刊文献+

基于UML类图和顺序图的C++代码自动生成方法的研究 被引量:12

RESEARCH ON AUTOMATICALLY GENERATING C+ + CODE FROM UML CLASS AND SEQUENCE DIAGRAMS
下载PDF
导出
摘要 UML是一种被广泛用于软件系统需求分析和详细设计的标准建模语言,研究将UML描述的软件详细设计自动生成代码的技术可以大大加速软件产品的开发进度,提高软件的质量。提出一种将UML类图和顺序图相结合生成具有静态结构和动态行为信息的C++代码的方法,从而解决现在多数代码生成工具只能将静态图转换为C++代码框架而不能处理动态行为模型转换的问题。该方法包括UML类图和顺序图的元模型以及相应的转换规则。最后通过一个采用Velocity技术实现的代码生成器生成代码的实例描述了代码生成的具体过程及结果。 UML is a standard modelling language and is widely used in requirement analysis and high level design of software system. Research on the technology of generating C + + code automatically from high !evel software design depicted by UML can greatly accelerate the development process of software products and improve its quality. We propose an approach, which integrates UML class and sequence diagrams to form the C + + code containing both the static structure and dynamic behaviour information of the software system, therefore solves the problems of the current code generation tools that they are only able to transform static diagrams to C + + code frame other than dealing with the transformation of dynamic behaviour models. This approach consists of meta models of UML class and sequence diagrams as well as the corresponding transformation rules. A case of code generation by code generator, which is realized by Velocity, is used to present the specific process and result of code generation.
出处 《计算机应用与软件》 CSCD 北大核心 2013年第1期190-195,共6页 Computer Applications and Software
关键词 UML代码自动生成 元模型 UML Automatic code generation Meta model
  • 相关文献

参考文献10

  • 1Anneke Kleppe.解析MDA[M].北京:人民邮电出版社,2004.
  • 2刘辉,麻志毅,邵维忠.元建模技术研究进展[J].软件学报,2008,19(6):1317-1327. 被引量:46
  • 3Abilio G Parada, Eliane Siegert, Lisane B de Brisolara. Generationg java code from UML class and sequence diagrams[ C ]//2011 Brazilian Symposium on Computing System Engineering (SBESC). Pelotas, Brazil, 2011.
  • 4Usman M, Nadeem A. Automatic generation of java code from UML di- agrams using UJECTOR [ C ]//International Journal of Software Engi- neering and its applications(IJSEIA) , 2009, 3.
  • 5Mathupays Thongmak, Pornsiri Muenchaisri. Design of rules for trans- forming UML sequence diagrams into java code [ C ]//Proceedings of Ninth Asia-Pacific Software Engineering Conference. Gold Coast, Aus- tralia, 2002.
  • 6Dan Regep, Fabrice Kordon. Using metascribe to prototype an UML to C + +/Ada code generator[ C ]//11 th International Workshop on Rap- id System Prototyping. Paris, France, 2000.
  • 7Deuk Kyu Kum, Soo Dong Kim. A systematic method to generate. Net components from MDA/PSM for pervasive service [ C ]//Fourth Inter- national Conference on Software Engineering Research, Management and Applications. Washington, USA, 2006.
  • 8Jichen Fu, Wei Hao, Farlkh B Bastani. Model-Driven Development: Where Does the Code Come from? [ C]//Fifth IEEE International Confer- ence on Semantic Computing. Palo Mto. USA, 2Oll.
  • 9OMG. UML Semantics. Version 1.1 [ R]. The Object Management Group, Document ad/97-08-05, Framingham MA, 1997.
  • 10OMG. OMG Unified Modeling LanguageTM ( OMG UML) Superstructure. Version 2.2 [ R ]. The Object Management Group, Document, 2009.

二级参考文献1

共引文献52

同被引文献75

  • 1谢正良,赵建华,李宣东,郑国梁.一种基于J2EE平台的MDA模型转换技术[J].计算机应用研究,2005,22(3):51-54. 被引量:7
  • 2王建光,段富.一种UML模型到XML模型的转换方法[J].计算机技术与发展,2007,17(7):123-126. 被引量:10
  • 3Plauger P J,Stepanov A A.C++STL中文版[M].王昕,译.北京:中国电力出版社,2002.
  • 4BlanchetteJ.C++GUIQt4编程[M].闫锋欣,等译.2版.北京:电子工业出版社,2008:129-131,366-368.
  • 5JASMINB,MARKS.C++GUIQt4编程[M].闫锋欣,曾泉人,张志强,译.北京:电子工业出版社,2008.
  • 6吴柏青,魏仰苏,蒋国明.基于COM原理的UML模型信息提取技术[J].计算机工程与设计,2007,28(17):4099-4101. 被引量:5
  • 7郝利生.学校图书管理系统用户界面分析与设计[D].北京:北京邮电大学,2010.
  • 8王峰.代码自动生成技术[DB/OL].http://tech.itl68.com/oldartiele/2007-05-30/200705301011640-2.shtml,2007-05-30.
  • 9陈震秋.界面(FORM)自动生成工具[DB/OL].http://WWW.west263.com/info/html/chengxushejifdelphi/20080411/65911.html,2008-04-09.
  • 10Dr. Vipin Saxena, Gufran Ahmad. UML Modeling & Pro- tection of a Domain Based System [ J ]. Computer Science and Network Security,2008,8 (7) : 338 - 343.

引证文献12

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部