Andrey Grigoriev wrote:
> Is this legal in UML that one activity has two or more exit points?
Andrey,
Sure it's legal to have several exit points. Since there are two ways to interprete
your
question, I'll be more precise. Firstly, an activity DIAGRAMME can have several exits.
Secondly, an activity can have several outgoing transitions.
Consider the case of a vending machine (because 98% of all activity diagramme examples
refer
to them).
There can be several exits from the diagramme: The machine can be out of order; the
machine
can be out of supplies; the client can cancel the transaction; or the client can get
his
selection. There is no reason to join all these together at the end.
On the otherhand, an individual activity can have several outgoing transactions, each
having
an exclusive guard condition. For example, the ADD_MONEY activity could easily have
two
outgoing transitions: RETURN_MONEY or MAKE_SELECTION. The guard condition would be
whether
a selection was made or the money return requested.
While it may seem that I am interpreting these in two completely different ways, they
are
intimately related. The second case of one activity with several outgoing transitions
can
be exploded into its own full-fledged activity diagramme. In this case, the diagramme
would
have the characteristics of case one.
--
Neil Pitman
[EMAIL PROTECTED]
+1.514.863.5465
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************