UMLSequenceDiagrams.ppt - UML Sequence Diagrams Michael L Collard Ph.D Department of Computer Science Kent State University Types of Diagrams \u2022

UMLSequenceDiagrams.ppt - UML Sequence Diagrams Michael L...

This preview shows page 1 - 7 out of 29 pages.

UML Sequence Diagrams Michael L. Collard, Ph.D. Department of Computer Science Kent State University
Kent State University 2 Types of Diagrams Structural Diagrams – focus on static aspects of the software system Class , Object, Component, Deployment Behavioral Diagrams – focus on dynamic aspects of the software system Use-case , Interaction , State Chart, Activity
Kent State University 3 Behavioral Diagrams Use Case Diagram – high-level behaviors of the system, user goals, external entities: actors Sequence Diagram – focus on time ordering of messages Collaboration Diagram – focus on structural organization of objects and messages State Chart Diagram – event driven state changes of system Activity Diagram – flow of control between activities
Kent State University 4 Refining the Object Model Typically, only very simplistic object models can be directly derived from use cases. A better understanding of the behavior of each use case is necessary (i.e., analysis) Use interaction diagrams to specify and detail the behavior of use cases This helps to identify and refine key abstractions and relationships Operations, attributes, and messages are also identified during this process
Kent State University 5 Interaction Diagrams There is one (or more) Interaction diagram per use case Represent a sequence of interactions Made up of objects, links, and messages Sequence diagrams Models flow of control by time ordering Emphasizes passing messages wrt time Shows simple iteration and branching Collaboration diagrams Models flow of control by organization Structural relationships among instances in the interaction Shows complex iteration and branching
Kent State University 6 Example: Sequence Diagram c:clie n t p :p la n n in g A ssista n t :T icke tA g e n t < < cr e a te > > se tItin e r a r y( i) ca lcu la te R o u te ( ) r o u te < < d e str o y> > n o tify( )

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture