Aspectual templates in UMLEnhancing the semantics of UML templates in OCL

被引:0
作者
Gilles Vanwormhoudt
Olivier Caron
Bernard Carré
机构
[1] University of Lille,CRIStAL, UMR CNRS 9189
[2] Institut Mines-Telecom,undefined
来源
Software & Systems Modeling | 2017年 / 16卷
关键词
Model templates; UML; OCL; Metamodeling; Aspects; Patterns; Template composition;
D O I
暂无
中图分类号
学科分类号
摘要
UML Templates allow to capture reusable models through parameterization. The construct is general enough to be used in many ways, ranging from the representation of generic components (such as Java generics or C++ templates) to aspectual usage, including pattern-, aspect- and view-oriented modeling. We concentrate on this last usage and so-called aspectual templates which require that parameters must form a model of systems in which to inject new functionalities. Starting from this strict constraint, we derive an in-depth semantic enhancement of the standard. It is formalized as a fully UML-compliant interpretation in OCL of the template construct and its binding mechanism. In particular, this aspectual interpretation must be ensured in case of partial binding (not all parameters are valued). Partial binding of UML is a powerful technique which allows to obtain richer templates from the composition of other ones. As a major result, the present semantic enhancement is consistent with this capacity so that partial binding of aspectual templates produces aspectual templates. Finally, at an operational level, an algorithm for aspectual template (partial) binding operation is formulated and consequent reusable technology made available in EMF (Eclipse Modeling Framework) is presented.
引用
收藏
页码:469 / 497
页数:28
相关论文
共 27 条
[1]  
Bruce Kim B(2003)Polytoil: a type-safe polymorphic object-oriented language ACM Trans. Program. Lang. Syst. 25 225-290
[2]  
Schuett Angela(2007)Programmation par objets structurée en contextes Revue L’OBJET, Hermes–Lavoisier 13 11-42
[3]  
van Gent Robert(2003)Aspect-oriented metamodelling Comput. J. 46 566-577
[4]  
Fiech Adrian(2013)From types to type requirements: genericity for model-driven engineering Softw. Syst. Model. 12 453-474
[5]  
Caron O(2008)Understanding and improving UML package merge Softw. Syst. Model. 7 443-467
[6]  
Carré B(2008)Model driven design and aspect weaving Softw. Syst. Model. 7 209-218
[7]  
Muller A(2013)On model compatibility with referees and contexts Softw. Syst. Model. 12 475-488
[8]  
Vanwormhoudt G(2012)Weaving variability into domain metamodels Softw. Syst. Model. 11 361-383
[9]  
Clark T(2007)On model typing Softw. Syst. Model. 6 401-413
[10]  
Evans A(1976)An algorithm for subgraph isomorphism J. ACM 23 31-42