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

Talend Data Catalog Bridges

author
Talend Documentation Team
EnrichVersion
7.1
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
EnrichPlatform
Talend Data Catalog

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
Incremental Harvesting
Multi-Model Harvesting
Remote Repository Browsing for Model Selection
Data Profiling

Import tool: No Magic Magic Draw 8.0 to 18.x (http://www.magicdraw.com/)
Import interface: [Object Modeling] Data Store (Object Model UML Class Diagrams) via UML XMI File from NoMagic MagicDraw (via UML 2.x XMI) Import bridge: 'OmgUml2XmiImport.NoMagicMagicDraw' 10.1.0

This bridge 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.


Generating 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


The bridge imports MagicDraw specific info like:

- 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 This bridge imports an XML file compliant to the Object Management Group (OMG) Unified Modeling Language (UML) XML Metadata Interchange (XMI) file format. The bridge imports versions of the UML 2.1 metamodel and XMI 2.1 format, therefore make sure you identify the exact OMG UML XMI version produced by your source tool. FILE
*.xml
*.xmi
*.uml
*.uml2
  Mandatory
Top Package This option is used for two purposes:

First, the Repository metamodel requires that all model elements (Classes, Associations...) belong to a Package. So whenever an Object is not explicitly associated to a Package it is stored in a special Package and this option specifies the name of the Package.

Second, if there is a single top level Package by that name in the Model, we mark the Package as optional so that it will not appear in the destination Model if the destination tool does not require all objects to be in a 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