Precise modeling of design patterns

  • Authors:
  • Alain Le Guennec;Gerson Sunyé;Jean-Marc Jézéquel

  • Affiliations:
  • IRISA/CNRS, Rennes Cedex, France;IRISA/CNRS, Rennes Cedex, France;IRISA/CNRS, Rennes Cedex, France

  • Venue:
  • UML'00 Proceedings of the 3rd international conference on The unified modeling language: advancing the standard
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

Design Patterns are now widely accepted as a useful concept for guiding and documenting the design of object-oriented software systems. Still the UML is ill-equipped for precisely representing design patterns. It is true that some graphical annotations related to parameterized collaborations can be drawn on a UML model, but even the most classical GoF patterns, such as Observer, Composite or Visitor cannot be modeled precisely this way. We thus propose a minimal set of modifications to the UML 1.3 meta-model to make it possible to model design patterns and represent their occurrences in UML, opening the way for some automatic processing of pattern applications within CASE tools. We illustrate our proposal by showing how the Visitor and Observer patterns can be precisely modeled and combined together using our UMLAUT tool. We conclude on the generality of our approach, as well as its perspectives in the context of the definition of UML 2.0.