Packageable Element
A model element that can be grouped into a package — that is, the kind of
element allowed in a package's contents array.
PackageableElement is abstract: it is never serialized on its own and has no type of its
own. It is a union rather than a type with properties of its own. A packageable element is one of:
- a
Classifier— a class or a relation; - a generalization;
- a generalization set;
- an anchor;
- a note; or
- a package itself (allowing packages to nest).
Note that properties are not packageable: an attribute or relation end belongs
to its owning classifier, which lists it in properties, rather than directly to
a package.
This union mirrors the packageable elements summarized on the overview page.