MagicDraw/Cameo: If you drag a Behavior from the model browser onto the SYMBOL of a State (that does not already own the Behavior) and set it as an 'entry', 'doActivity', or 'exit' Behavior a "wrapper" Behavior owned by the State will be created.

Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Specification keywords
UML keywords
Keywords

In this case, the State does not "steal ownership" of the Behavior (you'll see it is still in the same place in the containment tree). Instead, a "wrapper" Behavior is created, that is owned by the state, and merely delegates to the original "external" Behavior.

Be especially wary of this when dealing with export to Modelica!

Compare with:

Relates to
Related notes
Related notes (backlinks)
Related snippets (extracts)
Visit also
Visit also (backlinks)