Sequence diagram in UML Martin Palkovik. Sequence diagram  It is a graphic representation of system operations based on chronology - a time sequence.

Slides:



Advertisements
Similar presentations
© 2005 by Prentice Hall Appendix 3 Object-Oriented Analysis and Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Advertisements

UML (Sequence Diagrams, Collaboration and State Chart Diagrams) Presentation By - SANDEEP REDDY CHEEDEPUDI (Student No: ) - VISHNU CHANDRADAS (Student.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall A.1.
Essentials of interaction diagrams Lecture 23 & 24.
Essentials of interaction diagrams Lecture Outline Collaborations Interaction on collaboration diagrams Sequence diagrams Messages from an object.
Dynamic modeling using UML
Sequence Diagram. What is Sequence Diagram?  Sequence Diagram is a dynamic model of a use case, showing the interaction among classes during a specified.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
Lab 6 CPIT 250 System Analysis and Design.
Modern Systems Analysis and Design Fifth Edition Jeffrey A
7M822 UML Interaction Diagrams 25 November 2010.
1 Lab Beginning Analysis and Design 4 Completion of first version of use case diagram initiates the processes of analysis and design. 4 UML provides.
Unified Modeling Language
Sequence diagrams Chapter 5 Sommerville. Sequence diagrams Sequence diagrams are part of the UML and are used to model the interactions between the actors.
Interactions. 2 Objects communicate with each other by sending messages. Sending a message is another name for a member function call. –Some C++ examples.
Class, Sequence and UML Model.  Has actors and use cases.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour.
Interaction diagrams Sequence and collaboration diagrams.
State diagrams Interaction diagrams –Sequence diagrams –Collaboration diagrams Object orientation Part 4: Dynamic Modeling.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix A Object-Oriented.
Chapter 5 – System Modeling
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
Information Systems Engineering Interaction Diagrams: Sequence Diagram Collbortion Diagram.
Course Instructor: Kashif Ihsan 1. Chapter # 3 2.
Drawing System Sequence Diagrams
Interaction Diagrams Interaction Diagrams allow the designer to show how groups of objects collaborate in some behavior. –Interaction Diagrams will show.
Object Oriented Analysis and Design Sequence Diagrams.
Use Case realization How classes collaborate to realize use cases or system functionality.
UML Diagrams CSC 422 Kutztown University Dr. Daniel Spiegel.
CSCI-383 Object-Oriented Programming & Design Lecture 12.
Chapter 3: Introducing the UML
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
Communication Diagrams Lecture 8. Introduction  Interaction Diagrams are used to model system dynamics  How do objects change state?  How do objects.
 The Sequence Diagram models the collaboration of objects based on a time sequence.  It shows how the objects interact with others in a particular scenario.
Appendix Object-Oriented Analysis and Design: Use Cases and Sequence Diagrams Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F.
1 Kyung Hee University Interaction Diagrams Spring 2001.
More on UML 1. 1.Use-case diagram 2.Class diagram [Object diagram] (static) 1.1 Domain/analysis model – of reality 1.2 Design model – of decisions 3.
Chapter 7 Behavioral Modeling Brandon A. Jones Stand and Deliver ITEC March 6, 2011.
1 Object Oriented Analysis System modeling = Functional modeling + Object modeling + Dynamic modeling Functional modeling = Use cases Object modeling =class.
Appendix 3 Object-Oriented Analysis and Design
UML Diagrams By Daniel Damaris Novarianto S..
Interactions.
UML Modeling Sequence diagram
Object-Oriented Systems Analysis and Design Using UML
Sequence and Collaboration Diagrams
Communication DIAGRAM
UML Diagrams Jung Woo.
Business System Development
UML dynamic Modeling (Behavior Diagram)
Object Oriented Analysis and Design
Week 12: Activity & Sequence Diagrams
Interaction diagrams.
UML Diagrams: Sequence Diagrams Dynamic Analysis Model
CIS 375 Bruce R. Maxim UM-Dearborn
Appendix A Object-Oriented Analysis and Design
Unified Modelling Language
Chapter 9: Sequence Diagrams Chapter 5 in Software Engineering Book
Interaction diagrams Interaction diagrams are models that describe how groups of objects collaborate in some behavior. Typically, an interaction diagram.
UML Interaction diagrams
Interaction Diagrams Chapter 18.
Communication DIAGRAM
Chapter 9: Sequence Diagrams Chapter 5 in Software Engineering Book
CIS 375 Bruce R. Maxim UM-Dearborn
Appendix A Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Appendix 3 Object-Oriented Analysis and Design
Chapter 4 Sequence Diagrams
Presentation transcript:

Sequence diagram in UML Martin Palkovik

Sequence diagram  It is a graphic representation of system operations based on chronology - a time sequence  It represents the life cycle of the object for a period of time  Sequence diagram is part of the object - oriented model  It is a dynamic view showing symbols of objects (instances of classes) and messages between them  Shows the interaction as two-dimensional graph  The vertical axis represents time, the horizontal axis shows the objects, which cooperate among themselves

Sequence diagram  Represents the behavior of objects in terms of interactions  Complement class diagram, which represents the static structure of the system  Sequence diagram for the designer is important because it clarifies the role of objects in time sequence, based on events

Sequence diagram units  Actor - characterized by an external user who is interacting with the system  In the sequence diagram has the actor lifeline, representing the length of his life  It is not possible to separate the actor and his lifeline  If the user causes interaction, is often represented as the most left or most right object in the sequence diagram, because he is external to the system

Sequence diagram units Object - an instance of class In sequence diagram object has lifeline (Dashed vertical line under the symbol object) Time progresses downward line Lifeline object represents a period during which the object exists. It is not possible to separate the object and lifeline. If the object is created and abolished in the same time period depicted in the diagram, the lifeline begins and ends on the corresponding point.

Sequence diagram units Message - the communication between objects The report contains:  Sender, recipient and action  Sender is an object or actor, that send the message  Recipient of an object or an actor, who receives the report  Action is triggered to transfer information  The message is displayed as a full horizontal arrow from lifeline of one object or actor to lifeline of another object or actor. The arrow is named as the message title.

Sequence diagram units  Message shares the same concept in Collaboration in the Sequence diagram  It`s able to transfer between different types of diagrams  When composing a message, we can also choose to create an element activation, to show the process flow  Activation represents the period during which an object performs an activity

 Exists only as a graphic symbol  It is a thin rectangle, its upper edge is associated with initialization, the bottom edge of the end

Recursive message  message, sent by the object itself  The sender and receiver are the same object Recursive message with activation

 If we want to do as easily readable diagram we draw the Return arrow, which displays the time, when the action returned to the sender  It is clear to return, resulting in a return value for the source

Links:   akcie.pdf 

Thank you Thank you