On this page
The Cameo Data Modeler Plugin for MagicDraw provides import functionality for data models created using the CA ERwin® Data Modeler (henceforth will be referred as ERwin). ERwin is one of the leaders in the data modeling tools market.
Data models produced in ERwin have a two-layer structure, consisting of tightly synchronized logical and physical layers. The physical layer semantically corresponds to the SQL modeling / diagramming / generation functionality in MagicDraw. The logical layer corresponds to ER diagrams implemented by the Cameo Data Modeler Plugin.
The import functionality only imports logical layer data from ERwin into ER diagrams / data models in MagicDraw. The Cameo Data Modeler Plugin does not yet support importing physical layer data.
Importing data models
Cameo Data Modeler supports model files produced in ERwin version 7.x. It is recommended that you use the newest v7.3 since it has been heavily tested. Data models in ERwin must be saved in the *.xml format (choose the XML Standard File option in the Save As dialog).
To import an ERwin model
- Start MagicDraw.
- Click File > Import From > CA ERwin Data Modeler v7.x. The Open file dialog will open.
- Select an ERwin model file (*.xml). A new MagicDraw project will be created and a logical model will be imported from the ERwin model file into that project.
After a successful import, you can proceed to edit or manage the model using MagicDraw features.
If you want to include the ER model as part of a larger project in MagicDraw, you can use either module linking functionality (click File > Use Module) to attach the ER model to your main project model or project import functionality (click File > Import From > Another MagicDraw Project) to transfer the contents of this ER model to your main project model.
If you want to update an imported and edited ER model (for example, you made changes to the ERwin model and want to import those changes into MagicDraw again), you can use the merge functionality (click Tools > Project Merge) to import the ERwin model into a new ER model and merge it with the model you have imported earlier.
Imported elements
Import mapping reviews and notes are in the following table.
ERwin | Cameo Data Modeler | Comments |
---|---|---|
Any element | Any Element |
|
Entity | Entity | |
Attribute | Attribute |
|
Key | Key Marking on Attributes |
|
Relationship | Association relationship |
|
Generalization relationship |
| |
Default Value | Instance Specification |
|
Domain | - |
|
Validation Rule | Constraint |
|
Display | ER diagram |
|
User Defined Properties Dictionary | Profile / Stereotypes / Tags |
|
User Defined Properties | Tag Values |
|