ibm Rational Rhapsody 7.5 — Special stereotypes

Stereotypes Establishing stereotype inheritance Stereotype inheritance allows you to extend existing stereotypes. Stereotypes can inherit from from predefined stereotypes or from stereotypes that you have created. The derived stereotype inherits the following characteristics from its base stereotype: Љ Applicability (which elements it can be applied to) Љ Properties (this includes locally-overridden properties) Љ Tags While the initial values of properties for the derived stereotype are those that were inherited from the base stereotype, the values can be overridden for the derived stereotype.

You can add tags to the derived stereotype, and add elements to the list of elements to which it can be applied. To establish stereotype inheritance, in the browser, right-click the stereotype that will be the derived stereotype and select Add New > Super Stereotype These steps can be repeated in order to create a stereotype that inherits from a number of other stereotypes. Special stereotypes If a stereotype inherits from one of the “special” stereotypes, for example, usage or singleton, it inherits the special meaning of the base stereotype. If a stereotype inherits from a “new term” stereotype, then it is also a “new term” stereotype.

However, the “new term” status of the derived stereotype is removed if you do something that contradicts this status, for example, using multiple inheritance such that the derived stereotype ends up being applicable to more than one type of element. Rational Rhapsody 389