4.4.5. Move Rule

[Tip]Description

The move rule changes the location of an entity in the containment hierarchy.

[Important]Syntax
MoveRuleAST ::= move ( ArithmeticTermAST , ArithmeticTermAST ) ;

A move rule has two parameters: the first source entity and the second target container. Both are ASM terms that evaluates to a model element constant referencing an entity.

[Note]Semantics

The move rule moves the element specified by the first parameter (source entity) to the container specified by the second parameter (target container).

The move rule performs changes only in the containment hierarchy, i.e. no model element or relationship is deleted from the model space.

[Caution]Constraints

Note that the move rule may be conflicting with creating relations of aggregation type.

Defined In:  model manipulation rule

See Also:  copy rule