File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
    It's not a secret anymore!