Java ElementMagicDraw-UML Element
Type Import

Mapped to the UML Element Import with the optional stereotype «JavaImport». The supplier is an imported UML Classifier, representing the imported Java type, and the client is a UML Classifier requiring an imported element.

Package Import

Mapped to the UML Package Import with the optional stereotype «JavaImport». The supplier is an imported UML Package, representing the imported Java package, and the client is a UML Classifier requiring imported elements. 

Static import for all static members

Mapped to the UML Element Import with the stereotype «JavaStaticImport». The {JavaImportAll} tag of «JavaStat- icImport» must have a “true“ value. The supplier is an imported UML Classifier owner of imported static members, and the client is a UML Classifier requiring imported elements.

Static import for single static members

Mapped to the UML Element Import with the stereotype «JavaStaticImport». The {JavaImportAll} tag of «JavaStaticImport» must have a “false“ value and its tag {JavaImportedMember} must have reference to the imported member. The supplier is a UML Classifier owner of an imported static member, and the client is a UML Classifier requiring imported elements. If several static members are imported, {JavaImportedMember} can list all of them.

Related Pages: