aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Activity diagram problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Activity diagram problem" Watch "Activity diagram problem" New topic
Author

Activity diagram problem

Harshana Dias
Ranch Hand

Joined: Jun 11, 2007
Posts: 327
Hey,

How can we represent two activities that only one activity can be done prior to a another activity?

If I say with a example like, user is submitting a form so before he submitting he select either enter some test in a text area or enter an image. so both activities belong to submit form activity but only one can be done..either submit the text or submit the image?

Thank You.
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
You could name the activity "Enter Text or Image".


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Harshana Dias
Ranch Hand

Joined: Jun 11, 2007
Posts: 327
Kengkaj Sathianpantarit wrote:You could name the activity "Enter Text or Image".


Ohh is it ok..sound cool. i was wonder there some notation like Fork or Join in Visio..by the way those are for parallel(simultaneous) activities right? cool

Thank you.
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
You're right. Fork and join are for modeling parallel activities, which was not what you wanted to do.
 
Consider Paul's rocket mass heater.
 
subject: Activity diagram problem