The wide range of class categories can be extended by stereotypes. This
allows us to extend the UML vocabulary.
In the simplest case a stereotype defi nes a name and some additional semantics.
In Figure 3.84 , you can see the defi nition of the stereotype EnvironmentalEffect . The
stereotype itself is denoted similar to a class, but with the keyword ?«stereotype?» .
The basis of a stereotype??”the UML model element??”is also denoted like a
class, with the keyword ?«metaclass?» . The relationship between the two elements
is a so-called extension . Its notation is an arrow with a solid line and fi lled arrowhead.
Other properties that the stereotype can defi ne are listed as attributes in the
stereotype symbol. They are also commonly called tagged values . In Figure 3.85 ,
you can see the stereotype defi nition Requirement from SysML.
217
When using the new vocabulary, the name of the stereotype appears within
Guillemets 21 near the name of the stereotyped model element ( Figure 3.86 ).
The stereotype properties are listed in a comment symbol for reasons of space
( Figure 3.
Pages:
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411