A classification of stereotypes for object-oriented modeling languages

  • Authors:
  • Stefan Berner;Martin Glinz;Stefan Joos

  • Affiliations:
  • University of Zurich, Zurich, Switzerland;University of Zurich, Zurich, Switzerland;Robert Bosch GmbH, Stuttgart, Germany

  • Venue:
  • UML'99 Proceedings of the 2nd international conference on The unified modeling language: beyond the standard
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

The Unified Modeling Language UML and the Open Modeling Language both have introduced stereotypes as a new means for user-defined extensions of a given base language. Stereotypes are a very powerful feature. They allow modifications ranging from slight notational changes up to the redefinition of the base language. However, the power of stereotypes entails risk. Badly designed stereotypes can do harm to a modeling language. In order to exploit the benefits of stereotypes and to avoid their risks, a better understanding of the nature and the properties of stereotypes is necessary. In this paper, we define a framework that classifies stereotypes according to their expressive power. We identify specific properties and typical applications for stereotypes in each of our four categories and illustrate them with examples. For each category, we discuss strengths and weaknesses of stereotypes and present a preliminary set of stereotype design guidelines.