interaction & acivity diagram
TRANSCRIPT
-
8/8/2019 Interaction & Acivity Diagram
1/27
Activity, Collaboration, and
Component Diagrams
Philip Liew
-
8/8/2019 Interaction & Acivity Diagram
2/27
Activity Diagrams
Represent the business and operational
workflow of a system
Shows activity, and event that causesobject to be in particular state
-
8/8/2019 Interaction & Acivity Diagram
3/27
Symbols
Starting point
First activity of the flow
Activity
Decisions
-
8/8/2019 Interaction & Acivity Diagram
4/27
Symbols
Signals (input and output)
Concurrent activity
Final activity
-
8/8/2019 Interaction & Acivity Diagram
5/27
Activity Example
-
8/8/2019 Interaction & Acivity Diagram
6/27
Sequence Diagrams
Depicts a sequence of actions that occur
in a system
Captures invoked methods of objects, andorder of invocation
Represents dynamic behaviour of system
-
8/8/2019 Interaction & Acivity Diagram
7/27
Sequence Symbols
Object is an instance of a class
Name to the left of : is objectname
Name to the right of : is classname
Arrows represent messages Simple messages
Special message creating object Special message destroying object
Message response
-
8/8/2019 Interaction & Acivity Diagram
8/27
Sequence Diagram
Horizontal object shows life of represented
object
Vertical axis represents sequence ofinvocation of object
-
8/8/2019 Interaction & Acivity Diagram
9/27
Sequence Diagram Skeleton
-
8/8/2019 Interaction & Acivity Diagram
10/27
Collaboration Diagram
Sequence diagram is time ordered
Like activity diagrams but shows
association with other objects in thesystem
-
8/8/2019 Interaction & Acivity Diagram
11/27
Elements
Object
Relation/Association
Message
Number represents order ofinteraction
-
8/8/2019 Interaction & Acivity Diagram
12/27
Component Diagram
Represents Implementation perspective
Reflect grouping of different design
elements of system
-
8/8/2019 Interaction & Acivity Diagram
13/27
Component Elements
Component
Interacting objects within system
Class/Interface/Object
Relation/Association
-
8/8/2019 Interaction & Acivity Diagram
14/27
Component Diagram Example
-
8/8/2019 Interaction & Acivity Diagram
15/27
Deployment Diagram
Represents physical relationships among
software and hardware components as
realized in running system
Nodes represent computational elements
(i.e. processor, server, etc.)
-
8/8/2019 Interaction & Acivity Diagram
16/27
Deployment Diagram Skeleton
-
8/8/2019 Interaction & Acivity Diagram
17/27
Example
-
8/8/2019 Interaction & Acivity Diagram
18/27
Example
-
8/8/2019 Interaction & Acivity Diagram
19/27
Courseware Example
Construct the design elements for a system that can beused to manage courses/classes
The organization offers a courses in areas such aslearning management techniques and understanding
different software languages and technologies Each course consists of a set of topics
Tutors assigned courses to teach according to theirspecialty and availability
Publishes and maintains calendar of courses andassigned tutors
Course Administrators who manage content, assigncourses to tutors, and define schedule
-
8/8/2019 Interaction & Acivity Diagram
20/27
Identify Actors
Tutors
Course Administrators
Students Course Administrator is main actor
-
8/8/2019 Interaction & Acivity Diagram
21/27
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
-
8/8/2019 Interaction & Acivity Diagram
22/27
Use Case
-
8/8/2019 Interaction & Acivity Diagram
23/27
Class Diagram
-
8/8/2019 Interaction & Acivity Diagram
24/27
Activity Diagram
-
8/8/2019 Interaction & Acivity Diagram
25/27
Sequence Diagram
-
8/8/2019 Interaction & Acivity Diagram
26/27
Collaboration Diagram
-
8/8/2019 Interaction & Acivity Diagram
27/27
Component Diagram