The Add Target Class command, accessed on the right-click context menu when editing the schema, enables you to add one or more target classes to the selected relation for the selected class (and all of its subclasses).
When adding target classes to a relation, GENESYS opens a multiple selection dialog allowing you to specify which target classes to add. Target classes already associated with the relation for the selected class are not shown. To add new target classes, simply select the desired classes from the list on the right and click the Add button (or double-click the class to add it directly). Target classes inadvertently added to the selection list can be removed by highlighting the class in the selection list and pressing the Remove button (or by double-clicking the class).
When a target class is added to a relation, the complementary relation is automatically added to the target class to keep the relation specification consistent.
NOTE: |
Frequently, relations will be defined at the superclass level with target classes added at the concrete class level. For example, DecomposableElement includes the decomposed by relation so that all subclasses have the generic framework with the specific target classes assigned at the Function / ProgramActivity level. In this way, generic specifications made at an abstract class level can be made more specific and complete for a lower-level class. |