Abstract
Stereotypes are a powerful and potentially expressive extension mechanism in the Unified Modeling Language (UML). However, it seems that stereotypes are difficult to handle because using stereotypes needs an understanding of the UML metamodel and, in particular, an understanding of OCL constraints. Stereotypes are often applied in a wrong or at least sloppy way without proper declaration. There are also differences between the various versions of UML with respect to subtle details in the stereotype part. A graphical syntax for stereotypes including examples has been introduced only late in UML 1.4. Other difficulties are that constraints are used in the stereotype context in two completely different ways and that no full support of stereotypes is yet offered by tools. The paper points out these difficulties in detail, analyses the UML metamodel part dealing with stereotypes, and makes various suggestions for improving the definition and use of stereotypes.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Colin Atkinson, Thomas Kühne, and Brian Henderson-Sellers. To Meta or not To Meta-That is the Question. Journal of Object-Oriented Programming, 13(8):32–35, 2000.
Scott Ambler. Persistence Modeling in the UML. Software Development Online, August, 1999. http://www.sdmagazine.com.
Stefan Berner, Martin Glinz, and Stefan Joos. A classification of stereotypes for object-oriented modeling languages. In Robert France and Bernhard Rumpe, editors, Proc. Int. Conf. Unified Modeling Language (UML’99), pages 249–264. Springer, LNCS 1723, 1999.
Jim Conallen. Modeling Web Applications with UML. http://www.conallen.com, Conallen Inc., 1999.
Desmond D’souza, Aamond Sane, and Alan Birchenough. First-class extensibility for UML-profiles, stereotypes, patterns. In Robert France and Bernhard Rumpe, editors, Proc. Int. Conf. Unified Modeling Language (UML’99), pages 265–277. Springer, LNCS 1723, 1999.
Martin Gogolla. Using OCL for Defining Precise, Domain-Specific UML Stereotypes. In Aybuke Aurum and Ross Jeffery, editors, Proc. 6th Australian Workshop on Requirements Engineering (AWRE’2001), pages 51–60. Centre for Advanced Software Engineering Research (CAESER), University of New South Wales, Sydney, 2001.
Martin Gogolla and Mark Richters. Expressing UML Class Diagrams Properties with OCL. In Tony Clark and Jos Warmer, editors, Advances in Object Modelling with the OCL, pages 86–115. Springer, Berlin, LNCS 2263, 2001.
Brian Henderson-Sellers. Notes on the Use of Subtypes and Stereotypes in the UML Metamodel. Journal of Database Management, 13(3):44–52, 2002.
Brian Henderson-Sellers, Donald Firesmith, and Ian M. Graham. OML Metamodel: Relationships and State Modeling. Journal Of Object-Oriented Programming, 10(1):47–51, 1997.
Mohamed Kande, Shahrzade Mazaher, Ognjen Prnjat, Lionel Sacks, and Marcus Wittig. Applying UML to Design of an Inter-Domain Service Management System. In Proc. ISN, 1998.
OMG, editor. OMG Unified Modeling Language Specification, Version 1.3. OMG, June 1999. OMG Document formal/00-03-01, http://www.omg.org.
OMG, editor. OMG Unified Modeling Language Specification, Version 1.4. OMG, September 2001. OMG Document formal/01-09-68 through formal/01-09-80, http://www.omg.org.
Francois Pinet and Ahmed Lbath. Semantics of Stereotypes for Type Specification in the UML: Theory and Practice. In H. S. Kunii, S. Jajoda, and A. Solvberg, editors, Proc. Entity-Relationship Conf. (ER’2001), pages 339–353. Springer, LNCS 2224, 2001.
Mark Richters and Martin Gogolla. OCL—Syntax, Semantics and Tools. In Tony Clark and Jos Warmer, editors, Advances in Object Modelling with the OCL, pages 43–69. Springer, Berlin, LNCS 2263, 2001.
Stefan Sauer and Gregor Engels. UML-based Behavior Specification of Interactive Multimedia Applications. In Proc. IEEE Symposium Visual Languages (VL’1999). IEEE, 1999.
Ansgar Schleicher and Bernhard Westfechtel. Beyond stereotyping: Metamodeling approaches for the UML. In Ralph H. Sprague, Jr., editor, Proc. 34th Annual Hawaii Int. Conf. System Sciences (HICSS’34). IEEE Computer Society, 2001.
Rebecca Wirfs-Brock. Adding to Your Conceptual Toolkit: What’s Important About Responsibility-Driven Design? ROAD, 1(2):39–41, 1994.
Jos Warmer and Anneke Kleppe. The Object Constraint Language: Precise Modeling with UML. Addison-Wesley, 1998.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Gogolla, M., Henderson-Sellers, B. (2002). Analysis of UML Stereotypes within the UML Metamodel. In: Jézéquel, JM., Hussmann, H., Cook, S. (eds) ≪UML≫ 2002 — The Unified Modeling Language. UML 2002. Lecture Notes in Computer Science, vol 2460. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45800-X_8
Download citation
DOI: https://doi.org/10.1007/3-540-45800-X_8
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-44254-7
Online ISBN: 978-3-540-45800-5
eBook Packages: Springer Book Archive