Structure of the import map

When customizing the map file to import IBM® Rational® System Architect elements into an IBM Rational Rhapsody® model, modify the standard map structure.

A map block begins and ends with the MAP keyword. Use these entries to describe the map:

Required blocks

For each imported type, the map has an element or relation block.

Each element and relation block includes the following parameters: Optional parameters

You might want to use these optional parameters for the element and relation map entries:

Attributes

To identify the characteristics of each element and relation, use the attribute keyword with these parameters: An attribute block might use the SA_AttribType optional parameter. If this property is held as a collection in Rational System Architect, this entry contains the Collection keyword.

Default maps

A default map element block contains the SA_Type parameter set to "*"

A default map relation block contains the SA_Type parameter set to "*"

A default diagram map holds an element block with the SA_Type parameter set to "Diagram*"

A default map attribute holds an attribute block with the SA_Property parameter set to "*"

Import map sample

The following import map sample shows a Rational System Architect System Node mapped to a Rational Rhapsody Block:

<element Rhapsody_MetaClass="Class" Rhapsody_StereoType="block" Rhapsody_Profile="SysML" SA_Type="System Node">
<attribute Rhapsody_Field="Description" SA_Property="Description"/>

Feedback