Tool Mentor: Using Rational Rose® to Manage the
Design Model
Purpose
To represent the design model and related artifacts in Rational Rose®98.
Related Rational Unified Process Activities: Architectural Design
Overview
The following steps are performed to manage the Artifact: Design Model:
- Creating the Design Model
- Creating Packages in the Design Model
- Creating Layers in the Design Model
- Document the Model Organization
The Artifact: Design Model can be
represented in Rational Rose using a package within the Logical View Named
"Design Model". To create a package called "Design Model" in the
Logical View:
- Right-click to select the Logical View in the browser.
- Select Package from the New option on the short-cut menu. A
"NewPackage" browser icon is added to the browser.
- With the new package icon selected, type the name "Design Model".
To create a package in the Design Model:
- Right-click to select the "Design Model" package in the browser and make the
short-cut menu visible.
- Select Package from the New option on the short-cut menu. A
"NewPackage" package icon is added to the browser.
- Open the Package Specification dialog box for the package, either by
double-clicking on the package symbol, or by right-clicking and selecting the Specification
option in the short-cut menu.
- In the Name field, enter the name of the package.
- Click OK to close the Package Specification dialog box.
A model may contain several layers. A package is created for each layer. Layers may be
nested. To describe the layers for a model do the following in Rational Rose:
- Right-click to select the package that represents the top layer in the browser and make
the short-cut menu visible.
- Select Package from the New option on the short-cut menu. A
"NewPackage" package icon is added to the browser below the top layer.
- Open the Package Specification dialog box for the package, either by
double-clicking on the package symbol, or by right-clicking and selecting the Specification
option in the short-cut menu.
- In the Name field, enter the name of the package.
- Enter the stereotype "layer" in the Stereotype property. If the
stereotype "layer" has been used before, it may be selected from the drop-down
menu.
- Enter a brief description for the layer in the Documentation field.
- Click OK to close the Package Specification dialog box.
Repeat steps 1 - 3 for subsequent layers.
Every model needs a class diagram showing the layer and subsystem organization of the
model. To create this diagram do the following in Rational Rose:
- Right-click to select the Main diagram in the browser and make the short-cut menu
visible.
- Select Rename from the short-cut menu options.
- Type the name "Model Organization".
To organize layers and subsystems, do the following:
- Select the package that represents the layer or subsystem that you want moved.
- Drag the package icon to the desired location in the browser and release.
|