1 / 10

ZEIT2301 Design of Information Systems Interaction Design: Communication Diagrams

ZEIT2301 Design of Information Systems Interaction Design: Communication Diagrams. School of Engineering and Information Technology UNSW@ADFA Dr Kathryn Merrick. Topic 07: Interaction Design. Objectives

matia
Télécharger la présentation

ZEIT2301 Design of Information Systems Interaction Design: Communication 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. ZEIT2301Design of Information SystemsInteraction Design: Communication Diagrams School of Engineering and Information Technology UNSW@ADFA Dr Kathryn Merrick

  2. Topic 07: Interaction Design • Objectives • To understand the notation, rules and style guidelines for creating communication diagrams (previously known as collaboration diagrams) • To understand one technique for identifying potential interactions between objects is a CRUD analysis. Reference: Text Ch 7

  3. Communication Diagrams Communication diagram – is a behavioural diagram that shows message passing relationships between objects & actors. It is equivalent to a sequence diagram, but Communication diagram - emphasizes the flow of messages through a set of objects, Sequence diagram – emphasizes the time ordering of messages The analyst/designer may choose either or both. 3

  4. Communication Diagrams Elements of a communication diagram: Actors & objects Associations & messages– messages are labels on associations Sequence – messages are assigned a sequence number Conditions - messages can be conditional Session 2, 2010 4

  5. Communication Diagram Syntax Session 2, 2010 5

  6. Communication Diagram Session 2, 2010 6

  7. Communication Diagram - Rent Movie :Rented Items Object 1 find_customer() 6 add(customer, movies) 3 enter_movie() 8 generateRentalTotal() 5 rent(movie) 2 search(CustId) :Check-out Manager :Customer 7 print invoice() :Employee 4 searchBarcode() :Inventory Message 7

  8. CRUD: an analysis technique One technique for identifying potential interactions between objects is a CRUD analysis. CRUDstands C: create R: read (or reference) U: update D: delete Use a CRUD matrix … What object creates, reads, updates, deletes another object? What object creates, reads, updates, deletes another object? 8

  9. Sample CRUD Matrix An object of the receptionist class needs to be able to Create, Read, Update and Delete objects of the Patient class. 9

  10. Summary Behavioural Modelling State Machine diagrams – shows the different states that an object of a single class passes through during its life in response to events. Can also be used at a higher level to explore the complex behaviour of a system or component, particularly real-time systems. Interaction Diagrams Sequence diagram – illustrates the objects that participate in a use case and the messages that pass between them. Emphasis on the time ordering of messages sent. Communication diagram – equivalent to sequence diagrams (i.e. objects & messages), but emphasis on the flow of control between objects. 10

More Related