This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes UML Activity Diagram Questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "UML Activity Diagram Questions" Watch "UML Activity Diagram Questions" New topic

UML Activity Diagram Questions

Greg Hatt

Joined: Feb 26, 2014
Posts: 14

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.


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

    Joined: Feb 26, 2014
    Posts: 14

    So it turns out that these options ARE mutually exclusive, in which case the diagram looks like:

    I agree. Here's the link:
    subject: UML Activity Diagram Questions
    Similar Threads
    PreAssessment Questions and Answers
    IBM OOAD Practice Exam - Which 2 are wrong?
    (LONG POST) IBM's OOAD Test 486 Mock Exam Questions!
    Longer Post - ALL IBM ICE EXAM Q's for UML
    Answers to IBM 486 sample test