Hi Arno

> Is it possible to have both states and activities in one 
> diagram. I don't
> mean if it is possible technically, but if it is a semantic 
> correct way of
> modeling.
> We are modeling a bug's lifecycle. Typically this is a 
> statechart diagram.
> One of my collegues created a diagram with both Activities 
> and states. I am
> having doubts weather this is semantic correct.

Bear in mind that an activity diagram is just like a state diagram but only
holds activities - so the two are very closely related.

In your state chart - you could have activities listed within the state (so
in your example, have a state called In Test, with the activity Testing
listed in the state icon.

Also - you can have states and activities on an activity diagram - see the
UML User Guide, p260 in my copy, "Because an activity diagram is a kind of
state machine, all characteristics of state machines apply.  That means that
activity diagrams may contain simple and composite states, branches, forks
and joins."  I did not see a diagram example of activity icons on a state
chart - but did not look that hard :-)

regards

anthony
 
************************************************************************
* 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
*
*************************************************************************

Reply via email to