Object Interaction Diagrams - PowerPoint PPT Presentation

About This Presentation
Title:

Object Interaction Diagrams

Description:

Object Interaction Diagrams CSC 422 Kutztown University Dr. Spiegel Use Case Diagram Lays out the use cases in a system Shows actors and the different system actions ... – PowerPoint PPT presentation

Number of Views:278
Avg rating:3.0/5.0
Slides: 29
Provided by: Dr231927
Category:

less

Transcript and Presenter's Notes

Title: Object Interaction Diagrams


1
Object Interaction Diagrams
  • CSC 422
  • Kutztown University
  • Dr. Spiegel

2
Use Case Diagram
  • Lays out the use cases in a system
  • Shows actors and the different system actions in
    which they are participants
  • Provides an overall picture of the interactions
    within a system

3
Use Case Diagram
4
Object Interaction Diagrams
  • Collaboration
  • Sequence

5
Collaborations
  • What is a collaboration?
  • An arrangement of objects within a context
  • Properties
  • The collaboration is aimed at achieving some goal
  • Object (possibly) fulfills a predefined role
  • A single object may fulfill more than one role
  • Roles are only meaningful within their context
  • A parameterized collaboration is a pattern
  • Collaboration diagram
  • Shows Interaction between the participating
    objects
  • Relationships are indicated by arrows (messages,
    composition, )
  • Time is indicated by sequence number

6
Validate User (Administrator)
7
Change Password (Administrator)
8
Register Course (Administrator)
9
Drop Course (Administrator)
10
Add Course (Administrator)
11
Remove Courses (Administrator)
12
List Students(Administrator)
13
Student Details (Administrator)
14
Add Account (Administrator)
15
Delete Account (Administrator)
16
View Transcript (Administrator)
17
Sequence Diagrams
  • Describe how groups of objects interact
  • Shows messages passed between objects over time
  • Properties
  • Captures the behavior of a single scenario
  • Most popular way for representing a use-case
  • Actually shows the same information as a
    collaboration diagram
  • Sequence diagrams (SD) vs. Collaboration Diagrams
    (CD)
  • SD Shows time clearly object relationships are
    implicit
  • CD Shows object relationships clearly time has
    no visual representation

18
Validate User (Administrator)
19
Change Password (Administrator)
20
Register Course (Administrator)
21
Drop Course (Administrator)
22
Add Course (Administrator)
23
Remove Courses (Administrator)
24
List Students (Administrator)
25
Student Details (Administrator)
26
Add Account (Administrator)
27
Delete Account (Administrator)
28
View Transcript (Administrator)
Write a Comment
User Comments (0)
About PowerShow.com