MagicDraw 18.3 Documentation
You are viewing an old version of this page. View the current version.
Use the metachain navigation operation type, if you need to specify indirect (multilevel) relations between elements through the chains of properties.
Metachains allow searching for the indirectly related elements, thought they do not support loops and recursive relations.
To specify a metachain navigation as criterion
- Click Metachain Navigation on the left side of the dialog.
- Change the name of the operation, if there is a need.
Select a color to represent the specified metachain navigation criteria.
The color selection is available only in the Relation Criterion dialog.
Click the Insert button to create a new step of the metachain. A new row is added to the list, which is described in the following table.
Repeat the previous step to create as many steps of the metachain as you need for specifying the criteria.
To remove a step from the metachain, click the Remove button below the Insert button.
Metaclass or Stereotype
Either a metaclass or a stereotype of a metachain step.
|Property||A property of the selected metachain or stereotype.|
You can add a new metachain operation.
Manipulations in Expert mode
The Expert mode allows for changing the Contextual element of a metachain navigation operation as well as creating a new operation, where the result of the metachain navigation operation is used as an argument.
To change the Contextual element of a metachain navigation criterion
- On the left side of the dialog, expand the metachain navigation criterion and select the Context parameter.
- On the Context specification panel, click the Reset button.
The value of the Context parameter becomes null.
Select a new context from the list of operations and element types.
To restore the original context, expand the Other group and click Contextual Variable.
To use the expression of a metachain navigation operation as a parameter of another operation
- On the left side of the dialog, click Metachain Navigation.
On the criteria specification panel, click the Use as button and select the appropriate command.
- Specify other parameters of the new operation.
- No labels