1 / 18

A Student Guide to Object-Oriented Development

A Student Guide to Object-Oriented Development. Chapter 8 Activity diagrams. Activity diagrams. show the internal flow of control in a process can be used to model processing at different levels e.g. high-level workflows in an organization detail of what happens in a use case

Download Presentation

A Student Guide to Object-Oriented Development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Student Guide to Object-Oriented Development Chapter 8 Activity diagrams

  2. Activity diagrams • show the internal flow of control in a process • can be used to model processing at different levels e.g. • high-level workflows in an organization • detail of what happens in a use case • detail of how an operation works

  3. Activity diagrams • can be used to represent • sequence • selection • iteration • can also illustrate where different activities can be carried out in parallel

  4. Modelling a sequence of activities

  5. Notation

  6. Modelling alternative courses of action (1)

  7. Activity Diagram (UML) Decision point Synchronization bar End Task UML and C++ A Practical Guide To Object-Oriented Development

  8. Activity Diagrams Activity diagrams extend statechart diagrams and present a sequence of "activities" and how the execution path progresses from one activity to another. UML and C++ A Practical Guide To Object-Oriented Development

  9. Activity Diagrams Activity diagrams can also present: • decision points: conditions that change the flow of actions • parallel execution paths • objects affected by actions UML and C++ A Practical Guide To Object-Oriented Development

  10. Initial state Select Course Check Schedule Check Pre-requisites Action state [checks completed] [checks failed] Assign to Course Resolve Conflict [student added to course] Update Schedule Final state Example: Activity Diagram

  11. Modelling alternative courses of action(2)

  12. Modelling iteration of activities

  13. Modelling activities that are carried out in parallel(1)

  14. Modelling activities that are carried out in parallel(2)

  15. Alternative and parallel activities

  16. Swimlanes

  17. In alternative activities the diamond symbol may be omitted

  18. Including objects and object flows

More Related