File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes How to show alternative Flows in Sequence Diagram? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "How to show alternative Flows in Sequence Diagram?" Watch "How to show alternative Flows in Sequence Diagram?" New topic
Author

How to show alternative Flows in Sequence Diagram?

Peter Lee
Greenhorn

Joined: Jun 25, 2003
Posts: 24
Hi all,
As subject.
How to show alternative flows like "Customer not logged in" in sequence diagram? A separate diagram or use "alt" operator?
Thanks.
Peter
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
I think what you are looking for is a conditional execution. You can use guarded conditions do this.
[customer not logged in]
----------------------------------> invoke login

Hope that helps,


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
 
jQuery in Action, 2nd edition
 
subject: How to show alternative Flows in Sequence Diagram?