Altova UModel 2024 Enterprise Edition

Containment

Home Prev Top Next

A containment line is used to show, for example, parent-child relationships between two classes or two packages.

To illustrate containment between two classes:

1.Click the Containment um_ic_containment toolbar button (in a class or package diagram).

2.Drag from the class that is to be "contained", and drop on the container class.

um_containment

Note that the contained class, Engine in this case, is now visible in a compartment of Car. This also places the contained class in the same namespace as the container class.

© 2018-2024 Altova GmbH