Class UML 2.5::PackageImport
Description:
A PackageImport is a Relationship that imports all the non-private members
of a Package into the Namespace owning the PackageImport, so that those
Elements may be referred to by their unqualified names in the importingNamespace.
Direct Superclasses: DirectedRelationshipDirect Subclasses: Class Precedence List: PackageImport,
DirectedRelationship,
Relationship,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=103496%3A6D47D279147A130915876B040A805FFE)
importedPackage :
Package (1 1); -- source
PackageImport![](/se-interop/image/down-arrow.png?hunchentoot-session=103496%3A6D47D279147A130915876B040A805FFE)
importingNamespace :
Namespace (1 1); -- source
PackageImport![](/se-interop/image/right-arrow.png?hunchentoot-session=103496%3A6D47D279147A130915876B040A805FFE)
visibility :
VisibilityKind (1 1); -- source
PackageImportSpecifies the visibility of the imported PackageableElements within the
importingNamespace, i.e., whether imported Elements will in turn be visible
to other Namespaces. If the PackageImport is public, the imported Elements
will be visible outside the importingNamespace, while, if the PackageImport
is private, they will not.
Default value: PUBLIC
![](/se-interop/image/down-arrow.png?hunchentoot-session=103496%3A6D47D279147A130915876B040A805FFE)
source :
Element (1 *); -- source
DirectedRelationship![](/se-interop/image/right-arrow.png?hunchentoot-session=103496%3A6D47D279147A130915876B040A805FFE)
target :
Element (1 *); -- source
DirectedRelationshipSpecifies the target Element(s) of the DirectedRelationship.
{
readonly}
Derived union with sources: (importedPackage)
Subsets: Relationship.relatedElement
![](/se-interop/image/down-arrow.png?hunchentoot-session=103496%3A6D47D279147A130915876B040A805FFE)
relatedElement :
Element (1 *); -- source
Relationship![](/se-interop/image/down-arrow.png?hunchentoot-session=103496%3A6D47D279147A130915876B040A805FFE)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=103496%3A6D47D279147A130915876B040A805FFE)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=103496%3A6D47D279147A130915876B040A805FFE)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: CMOF_14_3_7c() : Boolean;
Description: see also: https://sites.google.com/site/metamodelingantipatterns/catalog/mof/package-import-is-not-public
Expression: visibility = VisibilityKind::public
Operations:
No additional operations.
Send questions or comments to
[email protected].