aspose file tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes How to show included use case in sequence diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Reply Bookmark "How to show included use case in sequence diagram" Watch "How to show included use case in sequence diagram" New topic
Author

How to show included use case in sequence diagram

Lin Feng
Ranch Hand

Joined: Dec 11, 2002
Posts: 142
Hi All,
Suppose I have usecase A , B , C. A and B all include C.
When I draw the sequence diagram for use case A and B , how to show at somewhere it will use the usecase C. The the reader can refer to the sequence diagram for usecase c to get detail information?
Thanks in advance .
Lin
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I'd make a diagram for use case C that shows a stimulus coming from outside into some object to start the use case. Don't specify where it comes from, because we don't really care ... I often have an object called "Any Client" for that kind of thing. Then in use case A and B show the same object and send the stimulus message to it. Add a comment to refer the reader to the "use case C" diagram to see what happens in response to the stimulus.
Does that sound like it will work for you?


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Lin Feng
Ranch Hand

Joined: Dec 11, 2002
Posts: 142
Stan,
Thanks for your help.
Lin
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to show included use case in sequence diagram
 
Similar Threads
SCEA Deliverables + Use cases
Regarding UseCase-Class Diagram-Componet-Sequence Diagram
How to "include" another use case in the sequence diagram
How to link Sequence Diagram with other seq diagrams
sequence diagrams