OMG UML 1.x XMI 1.x - Export - 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 1.x
Tool Web Site http://www.uml.org/
Supported Methodology [Object Modeling] Data Store (Object Model UML Class Diagrams) via UML XMI File

Export tool: Object Management Group Unified Modeling Language (UML) XMI 1.x (http://www.uml.org/)
Export interface: [Object Modeling] Data Store (Object Model UML Class Diagrams) via UML XMI File to OMG UML 1.x XMI 1.x Export bridge: 'OmgUmlXmi' 10.1.0

This bridge generates an XML file compliant to the Object Management Group (OMG) Unified Modeling Language (UML) XML Metadata Interchange (XMI) file format. There are multiple versions of the UML metamodel and XMI format, therefore make sure you generate the appropriate OMG UML XMI version for your target tool. Set up the bridge options accordingly, or select another export bridge version if necessary.

For instructions on how to load the generated UML XMI file, please select the exact bridge (with the tool name) from the list of bridges rather than using this generic bridge

FREQUENTLY ASKED QUESTIONS

Which version of UML file is supported by my tool?

Contact the vendor to obtain the exact version of their supported UML metamodel and XMI format. You can also check out the OMG web site for more details of their valid combinations of metamodels and XMI formats.


Bridge Parameters

Parameter Name Description Type Values Default Scope
File This bridge generates an XML file compliant to the Object Management Group (OMG) Unified Modeling Language (UML) XML Metadata Interchange (XMI) file format. There are multiple versions of the UML metamodel and XMI format, therefore make sure you generate the appropriate OMG UML XMI version for your target tool. Set up the bridge options accordingly, or select another export bridge version if necessary. FILE
*.xml
*.xmi
  Mandatory
Target Tool/Standard Each tool expects a slightly different variant of the XMI format. This option allows you to specify which variant the bridge should generate. This is the only option you need to set, all the others will be adjusted as appropriate. If one of the other options is not set to 'Default' it will override the settings for this tool.

'OMG XMI 1.0 for UML 1.1' - Generates an OMG XMI 1.0 for UML 1.1 compliant file.

'OMG XMI 1.0 for UML 1.3' - Generates an OMG XMI 1.0 for UML 1.3 compliant file.

'OMG XMI 1.1 for UML 1.3' - Generates an OMG XMI 1.1 for UML 1.3 compliant file.

'Argo/UML 0.7' - Generate the XMI file for use with Argo/UML version 0.7.0 or older.

'Argo/UML 0.8' - Generate the XMI file for use with Argo/UML version 0.7.1 or more recent.

'XMI Toolkit' - Generate the XMI file for use with IBM's XMI Toolkit.

'XMI Interchange' - Generate the XMI file for use with Unisys's Rose XMI Interchange.

'Rose UML' - Generate the XMI file for use with Unisys's Rose UML.

'Sybase PowerDesigner' - Generate the XMI file for use with Sybase PowerDesigner.

'Sparks Enterprise Architect' - Generate the XMI file for use with Sparks EA.
ENUMERATED
OMG XMI 1.0 for UML 1.1
OMG XMI 1.0 for UML 1.3
OMG XMI 1.1 for UML 1.3
Argo/UML 0.7
Argo/UML 0.8
XMI Toolkit
XMI Interchange
Borland Together
Rose UML
Sybase PowerDesigner
Sparks Enterprise Architect
OMG XMI 1.0 for UML 1.3  
Diagram Interchange Tags Specify if diagram and graphical layout metadata should be printed in xmi, according to the OMG Diagram Interchange specification.

To export such diagramming metadata, specify the 'Target Tool/Standard' parameter as either 'Borland Together' or 'OMG XMI 1.1 for UML 1.3', and set this parameter to 'True'.
ENUMERATED
Default
True
False
Default  
XMI Version This option allows you to specify XMI version you tool supports. 'Default' - Automatically use the appropriate default for the selected tool.

'XMI 1.0' - OMG XMI 1.0.
'XMI 1.1' - OMG XMI 1.1.
ENUMERATED
Default
XMI 1.0
XMI 1.1
Default  
UML 1.3 Support UML 1.3 defines standard stereotypes and tagged values that can be used to store extra information. This allows you to specify whether the bridge should take advantage of this.

'Default' - Automatically use the appropriate default for the selected tool.

'Enabled' - Use both UML 1.3's standard stereotypes and tagged values (OMG XMI 1.0 for UML 1.3, Argo/UML 0.7, Argo/UML 0.8, XMI Toolkit, XMI Interchange, Rose UML, Sybase PowerDesigner).

'Partial' - Only use UML 1.3's standard tagged values.

'Disabled' - Don't use UML 1.3's standard extensions (OMG XMI 1.0 for UML 1.1).
ENUMERATED
Default
Enabled
Partial
Disabled
Default  
Short Tags This allows you to specify whether the bridge should generate the short form of XMI tags, expected by some tools, or the long form mandated by the XMI standard.
This option makes sense only for tools supporting XMI 1.0 and is disabled if you selected XMI 1.1 support.
'Default' - Automatically use the appropriate default for the selected tool.
'True' - Use short tags (Argo/UML 0.7).
'False' - Use long tags.
ENUMERATED
Default
True
False
Default  
Reference Tags The way tools declare links between objects varies. Some use the tag for the destination object while others use the 'XMI.reference' tags.

'Default' - Automatically use the appropriate default for the selected tool.
'True' - Use the 'XMI.reference' tag (Argo/UML 0.7).
'False' - Use the destination object's regular tag.
ENUMERATED
Default
True
False
Default  
Reverse Tags Specifies whether reverse links should be explicit, i.e. whether each time we declare a link from 'A' to 'B' we should also declare a link from 'B' to 'A'.

'Default' - Automatically use the appropriate default for the selected tool.
'True' - Explicitly write both association directions (XMI Toolkit).
'False' - Only declare one direction of the link.
ENUMERATED
Default
True
False
Default  
Mandatory Tags Some tools do not generate all the tags specified as mandatory by the XMI standard. This option allows you to specify whether the bridge should only generate the tags it needs or whether it should also generate all the mandatory tags with their default value.

'Default' - Automatically use the appropriate default for the selected tool.
'True' - Generate all tags, this is the default if the target tool is.
'False' - Generate only the necessary tags (XMI Toolkit).
ENUMERATED
Default
True
False
Default  
UUIDs Determines whether to export the object's 'Universally Unique ID' when known.

Note that the UUIDs of the source model may not be compatible with the target tool.

'True' - Export the UUIDs.
'False' - Don't export the necessary tags. This is the default.
BOOLEAN   False  
Id on TaggedValue Determines whether to generate an xmi.id for TaggedValues. Some tools won't read the TaggedValue if they have an id. Some others won't read them if they don't have an id. 'Default' - Automatically use the appropriate default for the selected tool.

'True' - Generates an xmi.id.

'False' - Don't generate an xmi.id, this is the default if the target tool is (XMI Toolkit or XMI Interchange).
ENUMERATED
Default
True
False
Default  
Print attributes as   ENUMERATED
Default
XML child elements
XML attributes
Default  
XML Indentation (pretty printing) This option controls the pretty printing of the XML, for the purpose of opening the generated file in a text editor.

For example, specify here a tabulation character, or some space characters.

By default, there is no indentation which leads to a more compact file.
STRING      
Print DTD reference By default the bridge include a DTD reference in the XML file. BOOLEAN   True  

 

Bridge Mapping

Meta Integration Repository (MIR)
Metamodel
(based on the OMG CWM standard)
"OMG UML 1.x XMI 1.x"
Metamodel
OmgUmlXmi
Mapping Comments
     
AliasType Foundation.Data_Types.Primitive / DataType  
Description Foundation.Core.ModelElement.taggedValue / taggedValue The description is put in a tagged value called 'documentation'
Name Foundation.Core.ModelElement.name / name  
Argument Foundation.Core.Parameter / Parameter  
DefaultValue Foundation.Core.Parameter.defaultValue / defaultValue  
Description Foundation.Core.ModelElement.taggedValue / taggedValue The description is put in a tagged value called 'documentation'
Kind Foundation.Core.Parameter.kind / kind  
Name Foundation.Core.ModelElement.name / name  
Position   Order in the XMI file
Stereotype Foundation.Extension_Mechanisms.Stereotype  
Association Foundation.Core.Association / Association  
Aggregation   The aggregation property of the source AssociationRole is set to true
Description Foundation.Core.ModelElement.taggedValue / taggedValue The description is put in a tagged value called 'documentation'
ExtraConstraint Foundation.Core.Constraint / Constraint  
Name Foundation.Core.ModelElement.name / name  
Stereotype Foundation.Extension_Mechanisms.Stereotype  
AssociationRole Foundation.Core.AssociationEnd / AssociationEnd  
CppContainment Foundation.Core.AssociationEnd.aggregation / aggregation Only mapped for the source Association Role of aggregation Associations. Otherwise the default value is used
CppScope Foundation.Core.ModelElement.visibility / visibility  
Description Foundation.Core.ModelElement.taggedValue / taggedValue The description is put in a tagged value called 'documentation'
ExtraConstraint Foundation.Core.Constraint / Constraint  
Multiplicity Foundation.Core.AssociationEnd.multiplicity / multiplicity  
Name Foundation.Core.ModelElement.name / name  
Navigable Foundation.Core.AssociationEnd.isNavigable / isNavigable  
Ordered Foundation.Core.AssociationEnd.ordering / Foundation.Core.AssociationEnd.isOrdered / isOrdered  
Source   Based on the multiplicity of each role
Stereotype Foundation.Extension_Mechanisms.Stereotype  
Attribute Foundation.Core.Attribute / Attribute  
CppDerived Foundation.Core.ModelElement.taggedValue / taggedValue Tagged values called 'derived' in XMI Toolkit only
CppScope Foundation.Core.ModelElement.visibility / visibility  
CppStatic Foundation.Core.Feature.ownerScope / ownerScope  
Description Foundation.Core.ModelElement.taggedValue / taggedValue The description is put in a tagged value called 'documentation'
InitialValue Foundation.Core.Attribute.initialValue / initialValue  
Name Foundation.Core.ModelElement.name / name  
Position   Order in the XMI file
Stereotype Foundation.Extension_Mechanisms.Stereotype  
BaseType Foundation.Data_Types.Primitive / DataType  
Name Foundation.Core.ModelElement.name / name  
Class Foundation.Core.Class or Foundation.Core.Interface / Class or Interface The 'Interface' tag is used if 'cppClassType' is set to 'InterfaceClass'
CppAbstract Foundation.Core.GeneralizableElement.isAbstract / isAbstract  
CppClassType   See the mapping for Class and stereotype
CppConcurrency Foundation.Core.Class.isActive / isActive Set to true if cppConcurrency is 'ACTIVE'
CppPersistent Foundation.Core.ModelElement.taggedValue / taggedValue cppPersistent is saved in a tagged value called 'persistence' as defined in UML 1.3
CppScope Foundation.Core.ModelElement.visibility / visibility The value 'Implementation' is mapped to 'Private'.
Description Foundation.Core.ModelElement.taggedValue / taggedValue The description is put in a tagged value called 'documentation'
Name Foundation.Core.ModelElement.name / name  
Stereotype Foundation.Extension_Mechanisms.Stereotype The Stereotype is set to 'metaclass' or 'utility' as defined in UML 1.3 if 'cppClassType' is 'MetaClass' or one of the 'Utility' variants
Dependency Foundation.Core.Dependency / Dependency Dependencies to or from anything but Classes (e.g. Packages) are not supported. Links between Dependencies and such objects will be ignored and the Dependency deleted if it is invalid as a result
Description Foundation.Core.ModelElement.taggedValue / taggedValue The description is put in a tagged value called 'documentation'
Name Foundation.Core.ModelElement.name / name  
Stereotype Foundation.Extension_Mechanisms.Stereotype  
DerivedType Foundation.Data_Types.Primitive or Foundation.Data_Types.Enumeration or Foundation.Core.DataType / DataType The hierarchy of type is not reproduced. In Argo/UML mode the same tag is always used. Otherwise the 'Primitive' tag is used if the type has no type values
Name Foundation.Core.ModelElement.name / name  
DesignPackage Foundation.Core.Package / Model In Argo/UML mode all packages are saved using model tags. In XMI Toolkit mode the default package is omitted and its model elements are saved directly underneath the model
Description Foundation.Core.ModelElement.taggedValue / taggedValue The description is put in a tagged value called 'documentation'
Name Foundation.Core.ModelElement.name / name  
Stereotype Foundation.Extension_Mechanisms.Stereotype  
Generalization Foundation.Core.Generalization / Generalization Generalizations with multiple supertypes or subtypes are duplicated until they have exactly one supertype and subtype each
CppScope Foundation.Core.ModelElement.visibility / visibility The cppScope property is set to 'implementation' if the Generalization has the standard UML 1.3 'implementation' stereotype
Description Foundation.Core.ModelElement.taggedValue / taggedValue The description is put in a tagged value called 'documentation'
Name Foundation.Core.ModelElement.name / name  
Stereotype Foundation.Extension_Mechanisms.Stereotype If cppScope is set to 'implementation' then the Stereotype is set to 'implementation' as defined in UML 1.3
GeneralizationRole Foundation.Core.Generalization / Generalization  
Operation Foundation.Core.Operation / Operation  
CppAbstract Foundation.Core.Operation.isAbstract XMI 1.1 only
CppConcurrency Foundation.Core.Operation.concurrency / concurrency  
CppScope Foundation.Core.ModelElement.visibility / visibility  
CppStatic Foundation.Core.Feature.ownerScope / ownerScope  
CppVirtual Foundation.Core.Operation.isPolymorphic / isPolymorphic XMI 1.0 only
Description Foundation.Core.ModelElement.taggedValue / taggedValue The description is put in a tagged value called 'documentation'
Name Foundation.Core.ModelElement.name / name  
Postcondition Foundation.Core.Constraint / Constraint Constraint with the Stereotype 'postcondition' as defined in UML 1.3
Precondition Foundation.Core.Constraint / Constraint Constraint with the Stereotype 'precondition' as defined in UML 1.3
Semantics Foundation.Core.ModelElement.taggedValue / taggedValue Tagged value called 'semantics' as defined in UML 1.3
Stereotype Foundation.Extension_Mechanisms.Stereotype  
Realization Foundation.Core.Dependency This is implementated as a simple link between classes in XMI 1.0 and as a Dependency with the Stereotype 'realization' in XMI 1.1 as defined in UML 1.3
Description Foundation.Core.ModelElement.taggedValue / taggedValue The description is put in a tagged value called 'documentation'
Stereotype Foundation.Extension_Mechanisms.Stereotype  
StoreModel Model_Management.Model / Model  
Description Foundation.Core.ModelElement.taggedValue / taggedValue Tagged values called 'documentation' are put in the description
Name Foundation.Core.ModelElement.name / name  
TypeValue Foundation.Core.Attribute or Foundation.Data_Types.EnumerationLiteral / Attribute  
Description Foundation.Core.ModelElement.taggedValue / taggedValue The description is put in a tagged value called 'documentation'
Value Foundation.Core.ModelElement.name / name