Class UML 2.3::PackageImport
Description:
A package import is a relationship that allows the use of unqualified names
to refer to package members from other namespaces.
Direct Superclasses: DirectedRelationshipDirect Subclasses: Class Precedence List: PackageImport,
DirectedRelationship,
Relationship,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=166455%3A981EC4F0984F6281CF5E54685246C2A1)
importedPackage :
Package (1 1); -- source
PackageImport![](/se-interop/image/down-arrow.png?hunchentoot-session=166455%3A981EC4F0984F6281CF5E54685246C2A1)
importingNamespace :
Namespace (1 1); -- source
PackageImport![](/se-interop/image/down-arrow.png?hunchentoot-session=166455%3A981EC4F0984F6281CF5E54685246C2A1)
visibility :
VisibilityKind (1 1); -- source
PackageImport![](/se-interop/image/down-arrow.png?hunchentoot-session=166455%3A981EC4F0984F6281CF5E54685246C2A1)
source :
Element (1 *); -- source
DirectedRelationship![](/se-interop/image/down-arrow.png?hunchentoot-session=166455%3A981EC4F0984F6281CF5E54685246C2A1)
target :
Element (1 *); -- source
DirectedRelationship![](/se-interop/image/down-arrow.png?hunchentoot-session=166455%3A981EC4F0984F6281CF5E54685246C2A1)
relatedElement :
Element (1 *); -- source
Relationship![](/se-interop/image/down-arrow.png?hunchentoot-session=166455%3A981EC4F0984F6281CF5E54685246C2A1)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=166455%3A981EC4F0984F6281CF5E54685246C2A1)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=166455%3A981EC4F0984F6281CF5E54685246C2A1)
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
Signature: public_or_private() : Boolean;
Description: The visibility of a PackageImport is either public or private.
Expression: self.visibility = #public or self.visibility = #private
Operations:
No additional operations.
Send questions or comments to
[email protected].