Adding class derivations

A class derivation is modeled as a dependency relationship with a stereotype of <<derive>>. Code is not generated from that relationship.

About this task

The <<derive>> stereotype specifies a derivation relationship among model elements that are typically, but not necessarily, of the same type. A derived dependency specifies that:

The client might be implemented for design reasons, such as efficiency, even though it is logically redundant.

Procedure

  1. Right-click the class for which you are creating a derivation and select Add New > Relations > Derivation.
  2. In the window, select from the Depends on menu. The items in the menu are as follows:
    • Elements currently in the model.
    • Profiles available for the development language.
    • <<Select>> displays another window with model browser to allow you to make a selection that is not listed in the menu.
  3. Make your selection and click OK. The selected element is then listed under the Class Derivation in the browser.

Feedback