Linksets are used to define the traceability between different elements in DOORS. Typically they define the explicit links between requirements (contained in a requirements module) and model elements (contained in a separate module). The linksets themselves are contained within a links module. More than one linkset can be contained in a single links module.
The RT Interface can be configured to export these links to DOORS. Links are supported between the following:
Note: When exporting links, you must also export the relevant diagrams to their respective modules.To configure a linkset for export:
Note: For the sake of brevity, this book explains the steps for configuring a linkset between a use case and a sequence diagram. The process is almost identical for other linksets, apart from the selection of the radio buttons controlling which linkset to export and the selection of the relevant modules to create each linkset type.
1.
Note: When you select DOORS I/F, a warning splash screen displays, which can be ignored. Click OK to delete the splash screen.
2. Create a module namedUse_Cases
in the Modules window.
3. Select Use-Case Diagrams from the Graphics tab.
4. Select Use Cases element from the Graphics tab.
5. Create a module namedSequence_diagrams
in the Modules window.
6. Select Sequence Diagram from the Graphics tab.
7.
8. Set Synchronize model data to be ON.
9. Set Synchronize links to be ON (creates the linksets automatically).
10. Set Create missing modules to be ON (creates the links module as well as the data modules).
The Rational DOORS configuration window should look similar to the following figure:
11. Set up the linkset module, define the type of links to be created, and source the target modules by following these steps:
a. Select the Links tab.
c. Add a new module namedLink_Module
.
d. Select the radio button for Link SD to Scenario in UCD.
e.
f.The DOORS configuration window should look similar to the following figure:
12.
Note: You can check the relevant DOORS module by going into the sequence-diagram module, then selecting a sequence diagram.
A red right-hand arrow displays. Right-click on the arrow, and the links to the use case diagram are shown as an unloaded object.
Select an unloaded object and the relevant use case diagram module is opened at the correct use case. The reverse link is seen as a yellow left-hand arrow.