Question & Answer
Question
How do you list IBM Rational Rhapsody applied stereotypes as attributes in IBM Rational DOORS?
Cause
When you are using Rational DOORS and you export information from Rational Rhapsody to Rational DOORS you need to see the applied stereotypes in Rational DOORS.
Answer
To list a Rational Rhapsody stereotype in Rational DOORS, you will need to create a new type in Gateway for applied stereotypes, and also set the intermediate file to be generated for your Rational Rhapsody project.
Steps to list Rational Rhapsody stereotypes in Rational DOORS as attributes:
- Open your project in Rational Rhapsody, right-click on your project in the browser and select Rational Rhapsody Gateway -> Open.
- Select Tools -> Options inside Gateway to open the Configuration dialog.
- Select the 'Types' button in the left-hand pane and expand the Unified Modelling Language(UML) node in the Type Editor.
- Right-click on the Rational Rhapsody option and select 'Duplicate'.
- Expand the newly created Rhapsody1 Type node created under Project_rpy, and expand the revealed attribute node.
- Right-click on the Tag type and select Duplicate.
- Rename the tag to "
AppliedStereotype
" in both the Name field and in the Analysis tab, and set the Display value toStereotype=$i
.
- Delete the label and condition attributes, both named "name", change the value of the identifier(id) attribute to "name", and delete its value.
- Select the Project button in the left-hand pane and select your Project in the Project Editor.
- Select "Rhapsody1" in the Details tab for your project, as the type of analysis, and check the checkbox labelled "Intermediate File".
- Select "With stereotypes applied" from the Variable drop down options.
- Check the checkbox labelled "Value".
Attached is an example Rational Rhapsody project with these settings already configured.
[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Integrations - IBM","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.0.3","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21659901