Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

representing or calling a use case in another sequence diagram

 
rethna pillai
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
How can we represent a scenario where in one sequence diagram want to execute a another use case.
Thanks,
 
Matt Dole
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ttt. i'm also interested in the proper way to depict this in uml.
 
Juan Rolando Prieur-Reza
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by rethna pillai:
represent a scenario where in one sequence diagram want to execute a another use case

First, Don't confuse Use Case (analysis phase) with Sequence diagrams (design phase).
Here is one way to show a sequence that flows to another sequence...
Suppose you have identified a class X on Sequence Diagram A, that then is supposed to perform, or start a number of steps. And say you want to put all those downstream steps into Sequence Diagram B. Well, on Diagram A show only the messages to (and optional responses from) class X's activation bar, but no message from X to any of the classes you intend to place on Diagram B. Next, on diagram B position class X where the "client" would normally lay. You might stereotype it as <<client>>, or even give it a gray fill color on Diagram A or on Diagram B. (gray'ed classes informally indicate something like "this is not where I'm defining this. see the other place". So, on Diagram B, class X is shown initiating various messages to other classes, just like a client would do.
You should check that each scenario associated with a use case is supported by Diagrams A and B (together or separately as needed.
This is one reasonable approach, based on UML practices. I can't say what the SCEA exam would want. Good Luck

[ October 20, 2003: Message edited by: john prieur ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic