4.6 Article

UML Templates Distilled

Journal

IEEE ACCESS
Volume 10, Issue -, Pages 8709-8727

Publisher

IEEE-INST ELECTRICAL ELECTRONICS ENGINEERS INC
DOI: 10.1109/ACCESS.2022.3143898

Keywords

Unified modeling language; Codes; Semantics; Object oriented modeling; Tutorials; Programming; Computer languages; Object-oriented modelling; genericity; UML; templates; UML templates

Funding

  1. Portuguese Fundacao para a Ciencia e Tecnologia (FCT) [UIDB/50021/2020]

Ask authors/readers for more resources

This paper highlights the importance and flexibility of UML templates, pointing out the inefficient usage of UML templates in practice due to misunderstandings and lack of support from modelling tools. The paper provides a tutorial-style introduction to UML templates, explaining the core concepts, terminology, and advanced features through illustrative examples.
UML templates are possibly the most neglected and misused piece of knowledge in UML modelling. This subject has been disregarded in the research and practice literature and even by modelling tools providers. This paper suggests that such oblivion results from a general misunderstanding that UML templates are just graphical representations of genericity like it is found in programming languages, and from the insufficient support from the modelling tools, with a consequence of poor usage of UML templates in practice. Indeed, the capabilities and potential of UML templates are far-reaching. Increasing awareness around them could bring significant benefits for UML users, namely, higher-level abstraction and reuse. Therefore, this paper provides a distilling tutorial on UML templates to highlight their flexibility and advantages. That presentation follows a tutorial style and is supported by several illustrative examples, varying from simpler to more complex ones. This tutorial reviews the Template construct's core concepts and terminology, presents constraining classifiers and shows how to define properties and operations as template parameters. Then, it presents and discusses advanced aspects such as operation templates, parameter defaults, the relationship between binding and generalization, and the specific semantics of package templates. Furthermore, the paper discusses the related work and uncovers some of the UML templates' limitations and opportunities for improvement.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.6
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available