Aspectual templates in UML - Archive ouverte HAL Access content directly
Journal Articles Software and Systems Modeling Year : 2017

Aspectual templates in UML

Abstract

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.
Fichier principal
Vignette du fichier
manuscript_AT.pdf (1.49 Mo) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-01147804 , version 1 (30-07-2019)

Identifiers

Cite

Gilles Vanwormhoudt, Olivier Caron, Bernard Carré. Aspectual templates in UML: Enhancing the semantics of UML templates in OCL. Software and Systems Modeling, 2017, 16 (2), pp.469-497. ⟨10.1007/s10270-015-0463-3⟩. ⟨hal-01147804⟩

Relations

280 View
194 Download

Altmetric

Share

Gmail Facebook X LinkedIn More