Download presentation
Presentation is loading. Please wait.
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
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
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.