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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
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
 
wood burning stoves
 
subject: How to show included use case in sequence diagram