M2M Import Modeling Guide
This guide describes the modeling activities to complete a transformation rule set in Rhapsody with the M2M Import Framework.
Before starting the M2M Modeling activity, load the M2M_IE Profile by following these steps:
- Open the model to be transformed (It can be UML, SysML, MARTE, AUTOSAR or any home-made profiles)
- Click on File/Add To Model…, and select M2M_IE.sbsx previously deployed in your Rhapsody Profiles folder ($OMROOT/Profiles/M2M_IE). It will automatically load the superset profile M2M.sbsx.
- Click again on File/Add To Model, to select the MDWMetamodel which is the source metamodel used to read the source file. And then, add the profile of the domain where you want to transform. If you want to transform towards UML,you do not need to select a profile.
Limitations
- Since Rhapsody 9.0, if the project is a SysML project, it will be impossible to add other elements than SysML elements.
- To check if your project is a SysML project, move the mouse over the project name in the model Browser. A tool tip will appear and show the project stereotype.
- If this is a SysML project, to be able to add M2M elements into the project, the kind of the project must be changed. To do that, open the project context menu by right clicking on the project; select the 'change to' item, and select 'project'.
- Once the modifications have been done, the project can be set back to SysML project with context menu 'change to'.
Modeling steps