Руководство по инструменту: Finding Business Actors and Use Cases Using Rational Rose
This tool mentor describes how to use Rational Rose to record the results of finding business actors and business use cases.
Инструмент: Rational Rose
Взаимосвязи
Связанные элементы
Основное описание

Purpose

This tool mentor describes how to use Rational Rose to record the results of finding business actors and business use cases.

Overview

To record the results of finding business actors and business use cases using Rational Rose:

1. Create the business use-case model package

A separate business use-case model can be represented in Rational Rose® using a package within the Use Case View named "Business Use-Case Model." To create a package called "Business Use-Case Model" in the Use Case View:

  • Right-click to select the Use Case View in the browser.
  • Select Package from the New option on the pop-up menu. A "NewPackage" browser icon is added to the browser.
  • With the new package icon selected, type the name "Business Use-Case Model".

A separate business use-case model package is only necessary if you are maintaining both business use-case model and system use-case model in one and the same Rational Rose model. Otherwise the business use cases and business actors can be created directly under the Use Case View in the browser.

2. Create a use-case diagram

Business actors and business use cases can be created in a use-case diagram.

To create a use-case diagram for the business use-case model:

  • Right-click to select the package named "Business Use-Case Model" in the browser and make the shortcut menu visible.
  • Select Use Case Diagram from the New option on the pop-up menu. A "NewDiagram" use-case diagram icon is added to the browser.
  • With the new use-case diagram selected, type a name of the diagram.
  • Double-click on the new use-case diagram to bring it up in the diagram window.

3. Create business actors

To create a business actor in the use-case diagram, do the following:

  • Double-click on a use-case diagram in the Use Case View in the browser to display the diagram in the diagram window.
  • Select Actor in the toolbox. The shape of the cursor changes to a plus sign.
  • Left-click in the use-case diagram where you want to place the actor symbol. Type the name of the new actor.
  • Open the Actor Specification dialog box by double-clicking on the actor's symbol in a use-case diagram or the browser. The Class Specification is displayed with "Actor" defined as the stereotype setting. Open the General tab.
  • Select the «business actor» stereotype.
  • Write a brief description of the business actor in the Documentation field.
  • Click OK to accept and close the Actor Specification dialog box.
  • Right-click on the business actor and make sure that Options: Stereotype Display: Icon is selected.

4. Create business use cases

To create a new business use case in a use-case diagram, do the following:

  • Double-click on a use-case diagram in the Use Case View in the browser to display the diagram in the diagram window.
  • Select Use Case in the toolbox. The shape of the cursor changes to a plus sign.
  • Left-click in the use-case diagram where you want to place the use case symbol. Type the name of the new use case.

To briefly describe the use case, do the following:

  • Open the Use Case Specification dialog box by double-clicking on the use case's symbol in a use-case diagram or the browser. Open the General tab.
  • Select the «business use case» stereotype.
  • Write a brief description of the business use case in the Documentation field.
  • Click OK to accept the brief description entry and close the Use Case Specification dialog box.
  • Right-click on the business use case, and make sure that Stereotype Display: Icon is selected.

5. Document the relationship between business actors and business use cases

To insert a communicates-association from a business actor to a business use case in a use-case diagram, do the following:

  • Select the Association arrow from the toolbox in the use-case diagram editor.
  • Position the cursor on the business actor in the use-case diagram. Left-click and move the cursor to the business use-case symbol and release.
  • Double-click on the created association and select the «communicates» stereotype in the Association Specification dialog box.
  • Click OK.
  • Right-click on the created association, and make sure that the Show Stereotype selection is checked in the pop-up menu.
  • The stereotype label can be repositioned by dragging and dropping it in the diagram.

To briefly describe a communicates-association, do the following:

  • Open the Association Specification dialog box by double-clicking on the association symbol in a use-case diagram.
  • The General tab in the Association Specification dialog box now appears by default.
  • Write a brief description in the Documentation field.
  • Click OK to accept the brief description entry, and close the Association Specification dialog box.

To describe the multiplicity of a role in a communicates-association, do the following:

  • Right-click on the association line close to the business actor or business use case where the multiplicity is to be specified.
  • Select the multiplicity from the multiplicity section of the pop-up menu. Values not predefined in the pop-up menu can be specified in the Association Specification dialog box, which can be opened by double-clicking the association.

To specify the navigability of a role in a communicates-association, do the following:

  • Right-click on the association line close to the business actor or business use case where the navigability is to be specified.
  • Select or de-select the Navigable property in the pop-up menu.

6. Manage use cases using Rational Rose and 
Rational RequisitePro 

Rational's Integrated Use Case Management allows you to manage use cases in Rational Rose using attributes, such as Priority, Risk, Status, and Iteration, by associating use cases in Rose with Rational RequisitePro documents and requirements. You can easily navigate from use-case models in Rose to RequisitePro use-case documents and requirements. Use-case management in RequisitePro adds depth and relational information to your Rose use cases.

For more information, see Tool Mentor: Managing Use Cases Using Rational Rose and Rational RequisitePro.