Tool Mentor: Designing Use
Cases Using Rational XDE Developer - Java Platform Edition
Purpose
This section provides links to additional information related to this tool mentor.
The steps in this tool mentor match those in the activity. Links to topics
in Rational XDE online Help are marked with .
Overview
The following steps are performed in this tool mentor:
For each use-case realization, you should illustrate the interactions between
its participating design objects by creating one or more sequence diagrams.
You might have created early versions of these diagrams, the analysis use-case
realizations, during Activity:
Use-Case Analysis. These analysis use-case realizations describe interactions
between analysis classes.
They must be evolved to describe interactions between design elements.
One approach is to create a new use-case realization and sequence diagrams
by following these steps:
- Navigate to the Design-Model package in which the new use-case realizations
are to be created. See Rational XDE
Model Structure Guidelines.
- Create a use-case diagram. See
.
- Add the use-case realization (a collaboration instance) to the diagram.
(See
.)
Give it the same name as the use case.
- Drag and drop the use case that it realizes onto the diagram. See
.
- Add a realization relationship from the use-case realization to the use case. See
.
- For each independent sub-flow (scenario) create one or more interaction
instances. (In the Model Explorer, right-click the collaboration instance,
and then click Add UML > Interaction Instance.) Consider naming
the interaction instance "<use-case name> - <flow type>."
-
Create a sequence diagram for this interaction instance. See
.
- Type a brief description of the scenario that the sequence diagram depicts.
See
.
- Drag and drop actors, classes, and interfaces onto the diagram to create
objects for interaction. See
.
- Add messages between the objects. See
.
- Describe each message. See
.
- To describe how the object behaves when it receives the message, assign an operation to the message. See
.
Alternatively, if you are not maintaining a separate Analysis Model, you may
decide to modify your existing sequence diagrams to reflect the evolution of
the design elements.
For more information, refer to
.
See the previous step for guidance on working with sequence diagrams.
Persistence mechanisms are ideally described using patterns. See the following
topics in the Rational XDE online Help:
Additional description can be added to the sequence diagrams for clarification.
Text can be added anywhere on the diagram. Notes can be added and attached to
shapes on the diagram. Consider using the RUP-provided template for Artifact:
Use Case Realization.
Refer to
,
,
and
in the Rational XDE online Help.
As use cases are realized, you must unify the identified design classes and
subsystems to ensure homogeneity and consistency in the Design Model.
Part of unifying the design is identifying common patterns that can be factored
out and reused. See the following topics in the Rational XDE online Help:
There is no Rational XDE specific guidance for this step.
|