XMI (XML Metadata Interchange) is an open standard for exchanging object programming and design information between application development tools and repositories. Based on XML (Extensible Markup Language), XMI provides an industry-standard format for sharing design information based on UML modeling definitions. UML Designer can import model information from, or export it to, XMI file streams.
The UML Designer XMI support uses XMI Version 1.0, which is based on the UML 1.1 metamodel. To view the UML 1.1 XMI Document Type Definition, inspect the following Smalltalk expression in a workspace:XmiUmldImport dtdSource.
Not all XMI modeling elements are supported by UML Designer. The
following table shows which UML Designer elements can be imported from, or
exported to, XMI streams; it also shows how the UML Designer elements are
mapped to corresponding XMI elements. (A complete XMI stream will
include additional tagging; these are only the primary elements.)
UML Designer model element | XMI element tag (primary only) |
---|---|
Model | Model_Management.Model |
Group | Model_Management.Package |
Class Design | Foundation.Core.Class |
Protocol |
|
Message | Foundation.Core.Operation |
Parameter | Foundation.Core.Parameter |
Return Value | Foundation.Core.Parameter |
Attribute | Foundation.Core.Attribute |
Association | Foundation.Core.Association |
Inheritance | Foundation.Core.Generalization |
Group Membership | Model_Management.ElementReference |
Actor | Behavioral_Elements.Use_Cases.Actor |
Use Case | Behavioral_Elements.Use_Cases.UseCase |
Stereotype | Foundation.Extension_Mechanisms.Stereotype |
Related Text | Foundation.Extension_Mechanisms.TaggedValue (with tag = 'documentation') |