A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Architect Certification (SCEA/OCMJEA)
Condition (if-else) in Sequence diagram
Joined: Jul 21, 2003
May 04, 2007 14:12:00
How to best show condition (if-else) in sequence diagram.
For example, if login is successfull move on.
If login is not successful, then redirect.
Is it fine to show both the conditions in the same sequence digram? But the lifeline of an object may have to end in false condition, but the lifeline will continue if it were true.
Joined: Dec 20, 2006
May 04, 2007 14:22:00
UML2 has support for if-then-else in sequence diagrams.
The mechanism is called Structured Control:Conditionala execution.
shows an example.
OCUP UML fundamental and ITIL foundation
I agree. Here's the link:
subject: Condition (if-else) in Sequence diagram
JSP in Sequence Diagram
Do I need to show Pre-conditions of use case in Sequence Diagram
sequence diagram question
Iterations and condition in Rational Rose?
if-else condition thru Sequence diagram ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015