Skip to main content Skip to complementary content

NoMagic MagicDraw (via UML 2.x XMI) - Import

Availability-note AWS

Bridge Requirements

This bridge:
  • is only supported on Microsoft Windows.

Bridge Specifications

Vendor No Magic
Tool Name Magic Draw
Tool Version 8.0 to 18.x
Tool Web Site http://www.magicdraw.com/
Supported Methodology [Object Modeling] Data Store (Object Model UML Class Diagrams) via UML XMI File
Data Profiling
Incremental Harvesting
Multi-Model Harvesting
Remote Repository Browsing for Model Selection

SPECIFICATIONS
Tool: No Magic / Magic Draw version 8.0 to 18.x via UML XMI File
See http://www.magicdraw.com/
Metadata: [Object Modeling] Data Store (Object Model UML Class Diagrams)
Component: OmgUml2XmiImport.NoMagicMagicDraw version 11.2.0

OVERVIEW
Imports an XML file compliant to the Object Management Group (OMG) Unified Modeling Language (UML) 2.x XML Metadata Interchange (XMI) 2.x file format. While the OMG specification is clear on some metadata concepts, some concepts are not fully defined.

REQUIREMENTS
Generate a supported OMG 2.x XMI file:

1. Open the project with the model to export in MagicDraw.
2. Go to the File menu and select Export To > UML 2.5 XMI File.
3. Specify a file to export to.

FREQUENTLY ASKED QUESTIONS
n/a

LIMITATIONS
Refer to the current general known limitations at MIMB Known Limitations or bundled in Documentation/ReadMe/MIMBKnownLimitations.html

SUPPORT
Provide a troubleshooting package with debug log. Debug log can be set in the UI or in conf/conf.properties with MIR_LOG_LEVEL=6

Imports MagicDraw specific info:

- Diagram information including objects contained, object placement, color, font and other graphical information
- The 'PrimaryKey' and 'ForeignKey' stereotypes (Cameo Data Modeler plugin)
- Database schema details (Cameo Data Modeler plugin)


Bridge Parameters

Parameter Name Description Type Values Default Scope
File Imports an XML file compliant to the Object Management Group (OMG) Unified Modeling Language (UML) XML Metadata Interchange (XMI) file format. Imports versions of the UML 2.1 metamodel and XMI 2.1 format. FILE
*.xml
*.xmi
*.uml
*.uml2
  Mandatory
Top Package The metamodel requires that all model elements (Classes, Associations...) belong to a package. Whenever any element is not explicitly associated to a package it is stored in a special package. This option specifies the name of that package. If there is a single top level package by that name in the model, package is considered optional so that it will not appear in the destination model if the destination tool does not require all objects to be in the package. STRING      

 

Bridge Mapping

Meta Integration Repository (MIR)
Metamodel
(based on the OMG CWM standard)
"NoMagic MagicDraw (via UML 2.x XMI)"
Metamodel
OmgUml2Xmi
Mapping Comments
     
Association uml:Association  
Aggregation   True if one of the AssociationRoles has aggregation set to composite.
Description packagedElement / ownedComment / body Enterprise Architect contains a description in model extension.
AssociationRole uml:Property  
Multiplicity ownedEnd / lowerValue ownedEnd / upperValue or ownedAttribute / lowerValue ownedAttribute / upperValue  
Ordered ownedEnd.isOrdered or ownedAttribute.isOrdered  
Attribute uml:Property  
CppDerived ownedAttribute.isDerived  
CppScope ownedAttribute.visibility  
CppStatic ownedAttribute.isStatic  
Description ownedAttribute / ownedComment.body / body Enterprise Architect contains a description in model extension.
InitialValue ownedAttribute \ defaultValue.value  
Name ownedAttribute.name  
Position   Order in the XMI file
BaseType uml:PrimitiveType (ownedAttribute / type or ownedOperation / type) Attribute, Operation
DataType   See datatype conversion array
Name type.href Enterprise Architect contains a type name in model extension.
Class uml:Class  
CppAbstract packagedElement.isAbstract  
Description packagedElement / ownedComment.body / body Enterprise Architect contains a description in model extension.
Name packagedElement.name  
DerivedType uml:PrimitiveType (ownedAttribute / type or ownedOperation / type) Attribute, Operation
DataType   See datatype conversion array
Name type.href Enterprise Architect contains a type name in model extension.
UserDefined   Set to 'true'
DesignPackage uml:Package  
Description packagedElement / ownedComment.body / body Enterprise Architect contains a description in model extension.
Name packagedElement.name  
Generalization uml:Generalization  
Description generalization / ownedComment.body / body Enterprise Architect contains a description in model extension.
GeneralizationRole generalization.general  
Operation uml:Operation  
CppScope ownedOperation.visibility  
CppStatic ownedOperation.isStatic  
Description ownedOperation / ownedComment.body / body Enterprise Architect contains a description in model extension.
Name ownedOperation.name  
Position   Order in the XMI file
PropertyElementTypeScope User Defined Property Tools contain it in model extension.
Scope UDP Class  
PropertyType User Defined Property Tools contain it in model extension.
Name tag Set to the name of the tag
Usage   set to User
PropertyValue User Defined Property Tools contain it in model extension.
Name tag Set to the name of the tag
Value value Value of the tag
StoreModel uml:Model  
Description uml:Model / ownedComment.body / body Enterprise Architect contains a description in model extension.
Name uml:Model.name  

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!