Class UML 2.5::ElementImport
Description:
An ElementImport identifies a NamedElement in a Namespace other than the
one that owns that NamedElement and allows the NamedElement to be referenced
using an unqualified name in the Namespace owning the ElementImport.
Direct Superclasses: DirectedRelationshipDirect Subclasses: Class Precedence List: ElementImport,
DirectedRelationship,
Relationship,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=57740%3A752DB83D108E4AB34E0B23F976F4A0FB)
alias : String (0 1); -- source
ElementImport![](/se-interop/image/down-arrow.png?hunchentoot-session=57740%3A752DB83D108E4AB34E0B23F976F4A0FB)
importedElement :
PackageableElement (1 1); -- source
ElementImport![](/se-interop/image/down-arrow.png?hunchentoot-session=57740%3A752DB83D108E4AB34E0B23F976F4A0FB)
importingNamespace :
Namespace (1 1); -- source
ElementImport![](/se-interop/image/down-arrow.png?hunchentoot-session=57740%3A752DB83D108E4AB34E0B23F976F4A0FB)
visibility :
VisibilityKind (1 1); -- source
ElementImport![](/se-interop/image/down-arrow.png?hunchentoot-session=57740%3A752DB83D108E4AB34E0B23F976F4A0FB)
source :
Element (1 *); -- source
DirectedRelationship![](/se-interop/image/down-arrow.png?hunchentoot-session=57740%3A752DB83D108E4AB34E0B23F976F4A0FB)
target :
Element (1 *); -- source
DirectedRelationship![](/se-interop/image/down-arrow.png?hunchentoot-session=57740%3A752DB83D108E4AB34E0B23F976F4A0FB)
relatedElement :
Element (1 *); -- source
Relationship![](/se-interop/image/down-arrow.png?hunchentoot-session=57740%3A752DB83D108E4AB34E0B23F976F4A0FB)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=57740%3A752DB83D108E4AB34E0B23F976F4A0FB)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=57740%3A752DB83D108E4AB34E0B23F976F4A0FB)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: CMOF_14_3_7b() : Boolean;
Description: see also: https://sites.google.com/site/metamodelingantipatterns/catalog/mof/element-import-is-not-public
see also: https://sites.google.com/site/metamodelingantipatterns/catalog/mof/element-import-has-alias
Expression: visibility = VisibilityKind::public and alias->isEmpty()
Operations:
Signature: getName() : String;
Description: The query getName() returns the name under which the imported PackageableElement
will be known in the importing namespace.
Expression: result = (if alias->notEmpty() then alias else importedElement.name endif)
Send questions or comments to
[email protected].