Abstract
Stereotypes were introduced into the UML in order to offer extensibility to the basic metamodel structure by the user and without actually modifying the metamodel. In UML version 1.x, this was accomplished by means of permitting virtual subtyping in the metamodel. However, this facility led many to misuse stereotypes, particularly in places where regular domain-level modelling would be more appropriate. In version 2.0 of the UML, the portion of the metamodel pertaining to stereotypes was drastically revised. The resulting mechanism is reviewed here and compared with that of version 1.x. From a set theory point of view, the new (2.0) metamodel is unfortunately untenable and the examples used in the OMG documentation unconvincing. This paper outlines the issues and suggests some possible steps to improve the UML 2.0 stereotype theory and practice.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Monarchi, D., Booch, G., Henderson-Sellers, B., Jacobson, I., Mellor, S., Rumbaugh, J., Wirfs-Brock, R.: Methodology standards: help or hindrance? In: Procs. Ninth Annual OOPSLA Conference, ACM SIGPLAN, vol. 29(10), pp. 223–228 (1994)
Henderson-Sellers, B.: Methodologies - frameworks for OO success. American Programmer 7(10), 2–11 (1994)
Atkinson, C., Kühne, T.: Rearchitecting the UML infrastructure. ACM Trans. Modeling and Computer Simulation 12(4), 290–321 (2002)
Wirfs-Brock, R., Wilkerson, B., Wiener, L.: Responsibility-driven design: adding to your conceptual toolkit. ROAD 1(2), 27–34 (1994)
Henderson-Sellers, B., Atkinson, C., Firesmith, D.G.: Viewing the OML as a variant of the UML. In: France, R.B., Rumpe, B. (eds.) UML 1999. LNCS, vol. 1723, pp. 49–66. Springer, Heidelberg (1999)
Gogolla, M., Henderson-Sellers, B.: Analysis of UML stereotypes within the UML metamodel. In: Jézéquel, J.-M., Hussmann, H., Cook, S. (eds.) UML 2002. LNCS, vol. 2460, pp. 84–99. Springer, Heidelberg (2002)
Atkinson, C., Kühne, T.: Meta-level independent modelling. In: International Workshop on Model Engineering at 14th European Conference on Object-Oriented Programming (2000)
Atkinson, C.: Metamodelling for distributed object environments. In: Procs. First International Enterprise Distributed Object Computing Workshop (EDOC 1997), Brisbane, Australia (1997)
Atkinson, C., Kühne, T., Henderson-Sellers, B.: Stereotypical encounters of the third kind. In: Jézéquel, J.-M., Hussmann, H., Cook, S. (eds.) UML 2002. LNCS, vol. 2460, pp. 100–114. Springer, Heidelberg (2002)
Warmer, J.M., Kleppe, A.: The Object Constraint Language: Precise Modeling with UML. Addison-Wesley, Reading (1998)
Feinberg, N., Keene, S.E., Mathews, R.O., Withington, P.T.: DylanTM Programming. Addison-Wesley Longman, Amsterdam (1997), Section 3.2.1
Description of Eiffel object model (accessed on June 14, 2006) at http://www.objs.com/x3h7/eiffel.htm
Evans, A., Kent, S.: Core meta-modelling semantics of UML: the pUML approach. In: France, R.B., Rumpe, B. (eds.) UML 1999. LNCS, vol. 1723, pp. 141–155. Springer, Heidelberg (1999)
Soley, R.M., Stone, C.M.: Object Management Architecture Guide, Object Management Group document 97-05-05 (1995)
Atkinson, C., Kühne, T., Henderson-Sellers, B.: Systematic stereotype usage. Software and System Modelling 2(3), 153–163 (2003)
OMG: Unified Modeling Language: Superstructure, Version 2.0, formal/05-07-04, p. 709 (2005)
Steimann, F., Kühne, T.: A radical reduction of UML’s core semantics. In: Jézéquel, J.-M., Hussmann, H., Cook, S. (eds.) UML 2002. LNCS, vol. 2460, pp. 34–48. Springer, Heidelberg (2002)
OMG: RTF/FTF Report of the UML 2 Revision Task Force (Revision 2.1), document ptc/2006-01-01 January 20, 2006, p. 802 (2006)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Henderson-Sellers, B., Gonzalez-Perez, C. (2006). Uses and Abuses of the Stereotype Mechanism in UML 1.x and 2.0. In: Nierstrasz, O., Whittle, J., Harel, D., Reggio, G. (eds) Model Driven Engineering Languages and Systems. MODELS 2006. Lecture Notes in Computer Science, vol 4199. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11880240_2
Download citation
DOI: https://doi.org/10.1007/11880240_2
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-45772-5
Online ISBN: 978-3-540-45773-2
eBook Packages: Computer ScienceComputer Science (R0)