A Language-Independent and Formal Approach to Pattern-Based Modelling with Support for Composition and Analysis Articles uri icon

authors

  • BOTTONI, PAOLO
  • GUERRA SANCHEZ, ESTHER
  • LARA JARAMILLO, JUAN DE

publication date

  • August 2010

start page

  • 821

end page

  • 844

issue

  • 8

volume

  • 52

International Standard Serial Number (ISSN)

  • 0950-5849

Electronic International Standard Serial Number (EISSN)

  • 1873-6025

abstract

  • Context: Patterns are used in different disciplines as a way to record expert knowledge for problem solving in specific areas. Their systematic use in Software Engineering promotes quality, standardization, reusability and maintainability of software artefacts. The full realisation of their power is however hindered by the lack of a standard formalization of the notion of pattern. Objective: Our goal is to provide a language-independent formalization of the notion of pattern, so that it allows its application to different modelling languages and tools, as well as generic methods to enable pattern discovery, instantiation, composition, and conflict analysis. Method: For this purpose, we present a new visual and formal, language-independent approach to the specification of patterns. The approach is formulated in a general way, based on graphs and category theory, and allows the specification of patterns in terms of (nested) variable submodels, constraints on their allowed variance, and inter-pattern synchronization across several diagrams (e.g. class and sequence diagrams for UML design patterns). Results: We provide a formal notion of pattern satisfaction by models and propose mechanisms to suggest model transformations so that models become consistent with the patterns. We define methods for pattern composition, and conflict analysis. We illustrate our proposal on UML design patterns, and discuss its generality and applicability on different types of patterns, e.g. workflow patterns, enterprise integration patterns and interaction patterns. Conclusion: The approach has proven to be powerful enough to formalize patterns from different domains, providing methods to analyse conflicts and dependencies that usually are expressed only in textual form. Its language independence makes it suitable for integration in meta-modelling tools and for use in Model-Driven Engineering.

subjects

  • Telecommunications

keywords

  • pattern formalization; pattern-based modelling; pattern composition; pattern conflicts