Software Disclaimer

Class UML 2.4.1::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: DirectedRelationship

Direct Subclasses:

Class Precedence List: PackageImport, DirectedRelationship, Relationship, Element

Properties:

importedPackage : Package (1 1); -- source PackageImport
importingNamespace : Namespace (1 1); -- source PackageImport
visibility : VisibilityKind (1 1); -- source PackageImport
source : Element (1 *); -- source DirectedRelationship
target : Element (1 *); -- source DirectedRelationship
relatedElement : Element (1 *); -- source Relationship
ownedComment : Comment (0 *); -- source Element
ownedElement : Element (0 *); -- source Element

The Elements owned by this element.
{composite, readonly}
Derived union with sources: (ownedComment)
Opposite: Element.owner

owner : Element (0 1); -- source Element

Constraints:

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].