1 / 27

Activity, Collaboration, and Component Diagrams

Activity, Collaboration, and Component Diagrams. Philip Liew pliew@alumni.uwaterloo.ca. Activity Diagrams. Represent the business and operational workflow of a system Shows activity, and event that causes object to be in particular state. Symbols. Starting point First activity of the flow

sawyer
Download Presentation

Activity, Collaboration, and Component Diagrams

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. Activity, Collaboration, and Component Diagrams Philip Liew pliew@alumni.uwaterloo.ca

  2. Activity Diagrams • Represent the business and operational workflow of a system • Shows activity, and event that causes object to be in particular state

  3. Symbols • Starting point • First activity of the flow • Activity • Decisions

  4. Symbols • Signals (input and output) • Concurrent activity • Final activity

  5. Activity Example

  6. Sequence Diagrams • Depicts a sequence of actions that occur in a system • Captures invoked methods of objects, and order of invocation • Represents dynamic behaviour of system

  7. Sequence Symbols • Object is an instance of a class • Name to the left of “:” is object name • Name to the right of “:” is class name • Arrows represent messages • Simple messages • Special message creating object • Special message destroying object • Message response

  8. Sequence Diagram • Horizontal object shows life of represented object • Vertical axis represents sequence of invocation of object

  9. Sequence Diagram Skeleton

  10. Collaboration Diagram • Sequence diagram is time ordered • Like activity diagrams but shows association with other objects in the system

  11. Elements • Object • Relation/Association • Message • Number represents order of interaction

  12. Component Diagram • Represents Implementation perspective • Reflect grouping of different design elements of system

  13. Component Elements • Component • Interacting objects within system • Class/Interface/Object • Relation/Association

  14. Component Diagram Example

  15. Deployment Diagram • Represents physical relationships among software and hardware components as realized in running system • Nodes represent computational elements (i.e. processor, server, etc.)

  16. Deployment Diagram Skeleton

  17. Example

  18. Example

  19. Courseware Example • Construct the design elements for a system that can be used to manage courses/classes • The organization offers a courses in areas such as learning management techniques and understanding different software languages and technologies • Each course consists of a set of topics • Tutors assigned courses to teach according to their specialty and availability • Publishes and maintains calendar of courses and assigned tutors • Course Administrators who manage content, assign courses to tutors, and define schedule

  20. Identify Actors • Tutors • Course Administrators • Students • Course Administrator is main actor

  21. Use Case • Manage courses • View courses • Manage topics for a course • Manage course information • Manage course assignments • View course calendar • View tutors • Manage tutor information • Assign courses to tutors

  22. Use Case

  23. Class Diagram

  24. Activity Diagram

  25. Sequence Diagram

  26. Collaboration Diagram

  27. Component Diagram

More Related