期刊文献+

UML元模型图实例自动生成算法

Algorithm for generating instances from given UML meta-model
下载PDF
导出
摘要 UML元模型建模与实例生成是软件自动生成技术的重要环节之一,相关理论和技术在领域建模语言DSL中得到广泛应用。元模型自动生成实例技术不仅可以降低软件开发难度和成本,还可以提高软件开发效率。在已有元模型实例生成图语法理论的基础上,提出相应的元模型图实例自动生成算法,证明了该算法与图语法的等价性。并且在可视化UML建模平台中实现了这一算法,得到了从UML元模型自动生成大量实例的预期结果。 Meta-modeling in UML is one of fatal parts of software generating. The relevant meory ana tecnnoiogy on recta-modeling have been applied in software generating regions such as DSL (Domain Specific Language). An instance of recta-model graph expressed in UML is a model graph expressed still in UML, therefore it becomes a difficult and critical problem how to generate number of the instances of a given recta-model so that the effectiveness of the given recta-model can be tested. An algorithm for generating instances from a given UML meta-model is proposed based on graph grammar theory, and a proof is given that proves the equivalence between the algorithm proposed in this paper and the graph grammar. Furthermore, this instance generating algorithm is implemented in the visual software developing environment and the expected results of generating number of instances from the given meta-model are obtained.
出处 《计算机工程与应用》 CSCD 2012年第20期91-97,共7页 Computer Engineering and Applications
关键词 元模型建模 图语法 实例生成 统一建模语言 meta-modeling graph grammar instance generating Unified Modeling Language(UML)
  • 相关文献

参考文献14

  • 1Object management group.UML 2.0 infrastructure speci- fication[Z] .2003.
  • 2Object management group.UML2 superstructure final ad- opted specification[Z].2003.
  • 3Jackson E, Sztipanovits J.Formalizing the structural se- mantics of domain-specific modeling languages[J].Softw Syst Model, 2009,8 : 451-478.
  • 4Levendovszky T, Lengyel L, M6szaros T.Supporting domain- specific model patterns with metamodeling[J].Soflw Syst Model, 2009,8 : 501-520.
  • 5Ehrig K, Ktister J M, Taentzer G.Generating instance models from meta models[J].Softw Syst Model, 2009,8 : 479-500.
  • 6Object management group.MDA guide version 1.0.1[Z]. 2003.
  • 7Corradini A, Montanari U, Rossi F, et al.Algebraic approaches to graph transformation, part I: basic concepts and dou- ble pushout approach[M]//Handbook of graph grammars and computing by graph transformation, vol.l: founda- tions.Singapore: World Scientific, 1997 : 163-246.
  • 8Ktister J M.Definition and validation of model transfor- mations[J].Softw Syst Model, 2006,5 (3) : 233-259.
  • 9Varr6 D, Varr6-Gyapay S, Ehrig H, et al.Termination analysis of model transformations by petri nets[C]// LNCS 4178: 3rd International Conference on Graph Transformations.Heidelberg: Springer, 2006: 260-274.
  • 10Bardohl R,Ehrig H, de Lara J,et al.Integratingmeta mod- elling with graph transformation for efficient visual languagedefinition and model manipulation[C]//LNCS 2984: Proceedings of Fundamental Aspectsof Software Engineering.Heidelberg: Springer, 2004: 214-228.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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