Software Disclaimer

Class UML 2.5::PackageImport


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: DirectedRelationship

Direct Subclasses:

Class Precedence List: PackageImport, DirectedRelationship, Relationship, Element


importedPackage : Package (1 1); -- source PackageImport
importingNamespace : Namespace (1 1); -- source PackageImport
visibility : VisibilityKind (1 1); -- source PackageImport

Specifies 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

source : Element (1 *); -- source DirectedRelationship

Specifies the source Element(s) of the DirectedRelationship.
Derived union with sources: (importingNamespace)
Subsets: Relationship.relatedElement

target : Element (1 *); -- source DirectedRelationship
relatedElement : Element (1 *); -- source Relationship
ownedComment : Comment (0 *); -- source Element
ownedElement : Element (0 *); -- source Element
owner : Element (0 1); -- source Element


Signature: CMOF_14_3_7c() : Boolean;
Description: see also:
Expression: visibility = VisibilityKind::public


No additional operations.

Send questions or comments to [email protected].