OMG UML 2.x XMI 2.x - 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 Object Management Group
Tool Name Unified Modeling Language (UML) XMI
Tool Version 2.x
Tool Web Site http://www.uml.org/
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: Object Management Group Unified Modeling Language (UML) XMI 2.x (http://www.uml.org/)
Import interface: [Object Modeling] Data Store (Object Model UML Class Diagrams) via UML XMI File from OMG UML 2.x XMI 2.x Import bridge: 'OmgUml2Xmi' 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, including:

- Diagram information including objects contained, object placement, color, font and other graphical information

- Data type information including standard native data type information that may be mapped consistently to the MIR metamodel

Because of this flexibility, potential non-conformities exist between XMI exported from various design tools which support the 2.x format. Three tools are explicitly supported: Borland Together, IBM Rational Software Architect, and Sparx Enterprise Architect. These tools vary in their support for the specification and the way in which they vary from it, thus it is important that one always refer to the bridge mapping specs for the specific tool in order to determine what metadata is migrated and to what extent.


THIRD-PARTY TOOL SPECIFIC INFORMATION


BORLAND TOGETHER

Generating a supported OMG 2.x XMI file:

1. Open the project with the model to export in Borland Together

2. Right-click on the Project in the Project Browser

3. Select 'Export Model to XMI'


Summary of Known limitations:

1. Diagramming information is not imported


IBM RATIONAL SOFTWARE ARCHITECT (RSA)

Generating a supported OMG 2.x XMI file:

1. Open the model to export in IBM RSA

2. Go to the 'File' menu and select 'Export'

3. Inside the dialog box be select 'Other' -> 'UML 2.1 XMI Interchange Model'

4. Browse to the model you wish to export and select it

5. Specify a file to export to


Summary of Known limitations:

1. Diagramming information is not exported to XMI and thus not imported

2. User defined properties (UDPs) are not exported to XMI and thus not imported


SPARX ENTERPRISE ARCHITECT

Generating a supported OMG 2.x XMI file:

1. Open the project with the model to export in Sparx EA

2. Right-click on the Project in the Project Browser

3. Select 'Export Model to XMI'

4. Inside the 'Export Package to XMI' dialog box be sure to select 'XMI 2.1' in the 'XMI Type' combo box


Summary of Known limitations:

1. Diagramming information is not exported to XMI and thus not imported


VISUAL PARADIGM FOR UML

Generating a supported OMG 2.x UML XMI file:

1. Open the project with the model to export in the tool

2. Go to the File menu and select Export -> XMI

3. Inside the 'Export XMI' dialog box be sure to select the following items (in the 'XMI Version' section):
- 'XMI 2.1'
- 'Export to for UML2'
- 'Export Data Type to: UML Primitive Type'
- 'Export ... to Interface'
- 'Export Interface Realization'


Summary of Known limitations:

1. Diagramming information is not exported to XMI and thus not imported


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)
"OMG UML 2.x XMI 2.x"
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