Selecting metatypes for export

Use the IBM® Rational® DOORS® export options to select the types of elements that can be exported, instead of selecting individual elements to export.

About this task

This gives you other options. For example, if you choose to export elements of metatype Package, you might still decide to export one particular package but not another. If you choose not to export elements of metatype Package, no individual elements of that type are exported.

Examples of exportable metatypes include packages, classes, attributes, object model diagrams, statecharts, relations, operations, states, activity flows, and constraints. Generally, all the metatypes that you see in the IBM Rational Rhapsody® browser are exportable, and more. States and transitions of statecharts are also exportable metatypes.

To select which metatypes to export:

Procedure

  1. Click Options. The Export Options window opens.
  2. To export all metatypes in the Rational Rhapsody model to Rational DOORS, select the All types check box. The browse tree is unavailable, indicating that you can no longer select individual metatypes.

    To explicitly select individual metatypes to export, clear the All types check box and select one or more element metatypes to export using the browser tree.
  3. To export the graphics of diagrams and statecharts to Rational DOORS, select the Diagram images check box, or set the RTInterface::ExportOptions::ExportPictures property to Checked. When you have turned on this option, every diagram that you export to Rational DOORS has an OLE object inserted in its shadow. The OLE object holds the diagram graphics as an RTF file stored in the Rational Rhapsody project directory.
    Note: If WORD is not on the machine, the OLE object will not be created.
  4. To export element labels instead of names, select the Export Labels check box.
  5. There are two kinds of deletion:
    1. Hard delete means that the element and its link is deleted from the Rational DOORS database.
    2. Soft delete means that the element is marked as deleted, but remains in the database so it can be recovered. The link is deleted.

      The RTInterface::ExportOptions::PurgeOnDelete property controls the deletion type used in Rational DOORS. By default, this property is set to Checked (hard delete).

      To permanently delete the element, select the Purge on Delete check box.

      Note the following information:
      • When there is an extra element in Rational DOORS that does not exist in Rational Rhapsody, the system asks whether you want to delete it.
      • If you soft delete an element and later create an element with the same name, a new shadow element is created in Rational DOORS. The old one is not used.

Results

The metatypes are shown in hierarchical order, with packages and diagrams at the top of the tree. This is analogous to the way metatypes are shown in the browser. The same information hierarchy is maintained in the Rational DOORS formal module as in the Rational Rhapsody model.

Note the following information:


Feedback