Element Composition

Element Composition rules are applied to check whether or not a UML element contains valid children, whether it contains the right number of valid children, and whether or not the element is missing any required children.

Reported violations

Error ID

Description

Information

MVR020001

«Element» is missing required child element «Child Element»

The element is missing a child element of type Child Element.

 

MVR020002

Invalid UML package child

The element cannot be a direct child of the package and must be a child of another element (for example, Ports must be children of other elements, and not direct UML package members).

 

MVR020003

Invalid child «Child Element name» («Child Element Type»)

The child element is invalid on the tested parent element.