3.6. The UML-F mechanism for defining new tags

Though standard UML provides stereotypes, tagged values, and constraints as extension mechanisms, together with a set of predefined stereotypes and tagged values, it does not offer a suitable way of defining additional stereotypes or tagged values. This is comparable with a programming language that allows calling methods of predefined libraries but does not conveniently allow the definition of new ones. Any language – whether it is a natural language, a programming language, or a modeling language – needs to provide a mechanism for extending its vocabulary. In natural languages, new vocabulary can be expressed through already-known words. Programming languages provide definition mechanisms for classes, ...

Get UML Profile for Framework Architectures, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.