Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UML Activity Diagram Questions

 
Greg Hatt
Greenhorn
Posts: 14
Java Linux Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm fairly new to UML and have been trying to diagram a scenario for class but I'm stuck on one part. In the scenario three separate, non-exclusive activities can occur. After a client is registered they are able to book a new trip, modify an existing trip or cancel a trip. They can do all or one of that activities until they're all done managing their trips. I have something of a draft but I think it's wrong. I'll post the scenario and the diagram I've drafted.

Scenario

Once registered, the client has three options:
  • Book passage - this includes registering a passenger, selecting the destination, drop off and pick up times and paying for the passage. (Note that only on-line payments are accepted when using the web interface)
  • Modify existing passage
  • Cancel and refund existing passage (Note: any existing passage has already been paid for).


  • My Diagram

     
    Greg Hatt
    Greenhorn
    Posts: 14
    Java Linux Suse
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    So it turns out that these options ARE mutually exclusive, in which case the diagram looks like:

     
    It is sorta covered in the JavaRanch Style Guide.
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic