Package (UML)

A package (package ) is a model element in the Unified Modeling Language ( UML), a modeling language for software and other systems.

A packet summarizes a set of model elements to a group and forms a namespace for them. Packages can contain other packages as subpackages. They divide a UML2 model analogous to file system directories hierarchically in a structure that resembles the branching of a tree.

A package can be included not only in a different package, but it can also import other packages and merge with other packages. The first and second case refers to the UML as a package import (german package import ), the third as a package fusion (English package merge).

Notation

The following two figures show two possibilities for the representation of a packet. Blue texts are explanatory comments and not part of the notation of UML2.

Using the UML2 notation can also represent that elements belonging to a package. Here are two possible forms of representation:

630674
de