1 / 7

Sequence Diagrams

Sequence Diagrams. Richard Hopkins rph@nesc.ac.uk UML for Use Cases NeSC, Edinburgh, Jan 5/6 2006. Sequence Diag. . Sequence Diag. . The Role of Sequence Diagrams. Sequence diagram = sequence of interactions between actors = one path through Use-Case structure = one (derived) scenario.

cree
Download Presentation

Sequence 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. Sequence Diagrams Richard Hopkins rph@nesc.ac.uk UML for Use Cases NeSC, Edinburgh, Jan 5/6 2006

  2. Sequence Diag. Sequence Diag. The Role of Sequence Diagrams • Sequence diagram = sequence of interactions between actors • = one path through Use-Case structure = one (derived) scenario Partially articulated requirements to elucidate use case – how system interacts with other actors – Business Model Capture Requirements Requirements Use Case Diag. … Construct Model of Overall system Class Diag. Structure to express design – how system components interact with each other and external actors – Software Model … Behaviour

  3. Borrower Authoriser A Sequence Diagram Library Authenticator Bank logon (credentials) authenticate (credentials) extendLoan (book) overdue (£fine) payfine (CC#) debit (CC#, credentials, £fine) authenticate (credentials) extendLoan (book) authoriseLoanExtension (book) Scenario : Extend Loan on an Overdue Book

  4. Borrower Borrower Constituents of Sequence Diagrams (human) actor Library logon (credentials) (system) actor Library lifeline extendLoan (book) overdue (£fine) payfine (CC#) activation message reply extendLoan (book) 4. payfine (CC#) (numbered) message details e.g. operation and parameteres

  5. Features of Sequence Diagrams • A single case walk-through, corresponds to a scenario • may be a derived scenario • Visual representation of interactions during the behaviour • Can show information flow • Can have greater sophistication • branch points • self-messages • Synchronous vs. asynchronous messages • Of more use in software design

  6. Questions?

  7. Practical – Sequence Diagrams • 1 – Individually (20 mins) • take one path through the Use Case Structure of your group for previous exercise • or use group C – most interaction potential • do the sequence diagram for it – using either pencil and paper, or Visual Paradigm for UML • First – group splits up the paths • 2 – Group (20 mins) • Each individual shows the sequence diagram to rest of group • How easy? • How useful? • 3 – Group Discussion

More Related