annotation-annotating-element

Available in: KerML, SysML

This checks that an Annotation either owns, or is owned by its annotating element.

This is impossible to trigger in Syside through textual syntax. Otherwise, this can be triggered by having an orphan Annotations in programmatic or external, non-textual, models.

Specification

Either the owned_annotating_element of an annotation must be non-null, or the owning_annotating_element must be non-null, but not both.