Behavioral Modeling.

Slides:



Advertisements
Similar presentations
Prof. Dr. Nizamettin AYDIN
Advertisements

Interaction Diagram Notation From Chapter 15 of Craig Larman, Applying UML and Patterns John Dalesandro.
1 Behavioral Modeling Chapter 8. 2 Key Ideas Behavioral models describe the internal dynamic aspects of an information system that supports business processes.
Chapter 6: Behavioral Modeling
Jan 15, Ron McFadyen1 Ch 9. Use-case model: drawing System Sequence Diagrams Iteration: a simple cash-only success scenario of Process Sale.
Interaction Diagrams Activity Diagram State Machine Diagram
Slide 1 Systems Analysis & Design CS183 Spring Semester Dr. Jonathan Y. Clark Course Website:
THE OBJECT-ORIENTED DESIGN WORKFLOW UML2 Sequence Diagrams.
COST G9 - Work group 2 Cadastral science meeting Aalborg, Dk Modeling methodology for real estate transactions Radoš Šumrada Faculty.
PowerPoint Presentation for Dennis, Wixom & Tegarden Systems Analysis and Design Copyright 2001 © John Wiley & Sons, Inc. All rights reserved. Slide 1.
PowerPoint Presentation for Dennis, Wixom & Tegarden Systems Analysis and Design Copyright 2001 © John Wiley & Sons, Inc. All rights reserved. Slide 1.
Slide 1 Chapter 8 Behavioral Modeling. Slide 2 Key Ideas Behavioral models describe the internal dynamic aspects of an information system that supports.
UML Collaboration Diagram. Recap System Sequence Diagrams (SSD) UML for SSD Examples.
Interactions. 2 Objects communicate with each other by sending messages. Sending a message is another name for a member function call. –Some C++ examples.
1 On to Object Design Chapter 14 Applying UML and Patterns.
1 Interaction diagrams and activity diagrams Speaker: 陳 奕 全 Real-time and Embedded System Lab 15 August 2002.
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Wixom, and David Tegarden Chapter 8: Behavioral Modeling.
Copyright © Hsiao-Lan Wei All Rights Reserved Design Model Interaction diagram.
Behavioral Modeling Chapter 8.
Collaboration Diagrams CSIS3600. What is a Collaboration Diagram Collaboration diagrams illustrate interactions between objects The collaboration diagram.
Drawing System Sequence Diagrams
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Wixom, and David Tegarden Chapter 8: Behavioral Modeling.
Behavioral Modeling Chapter 8
Use Case Driven Analysis Requirements Use Case Use Case Description System Sequence Diagram Chapter 5.
UML Diagrams CSC 422 Kutztown University Dr. Daniel Spiegel.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 5th Edition Copyright © 2015 John Wiley & Sons, Inc. All rights.
Communication Diagrams Lecture 8. Introduction  Interaction Diagrams are used to model system dynamics  How do objects change state?  How do objects.
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Wixom, and David Tegarden Chapter 8: Behavioral Modeling.
Chapter 7 Behavioral Modeling Brandon A. Jones Stand and Deliver ITEC March 6, 2011.
Chapter 5: Structural Modeling
PowerPoint Presentation for Dennis, Wixom & Tegarden Systems Analysis and Design Copyright 2001 © John Wiley & Sons, Inc. All rights reserved. Slide 1.
1 Systems Analysis and Design Behavioral Modeling Chapter 8 (Last one before the Midterm!)
Chapter 5 – System Modeling
CompSci 280 S Introduction to Software Development
Chapter 4: Business Process and Functional Modeling, continued
UML Diagrams By Daniel Damaris Novarianto S..
Interactions.
Collaboration Diagrams
Roberta Roth, Alan Dennis, and Barbara Haley Wixom
The Movement To Objects
Systems Analysis and Design with UML Version 2.0, Second Edition
Systems Analysis and Design
TIM 58 Chapter 6, continued: Behavioral Modeling
PHÂN TÍCH THIẾT KẾ HƯỚNG ĐỐI TƯỢNG
Chapter 5 – System Modeling
Chapter 5: Structural Modeling
UML Modeling Sequence diagram
COMP 2710 Software Construction Sequence Diagrams (cont.)
INFS 6225 Object-Oriented Analysis & Design
Dynamic Modeling of Banking System Case Study - II
Object-Oriented Systems Analysis and Design Using UML
Systems Analysis and Design
Communication DIAGRAM
UML Diagrams Jung Woo.
Object-Orientated Analysis, Design and Programming
Sequence Diagrams.
Princess Nourah bint Abdulrahman University
Interactions.
Princess Nourah bint Abdulrahman University
Sequence Diagrams Lecture 6.
Sequence Diagrams.
Interaction diagrams.
Object Interaction Diagrams
Unified Modelling Language
Interaction diagrams Interaction diagrams are models that describe how groups of objects collaborate in some behavior. Typically, an interaction diagram.
Communication DIAGRAM
Sequence Diagrams.
Chapter 9: Sequence Diagrams Chapter 5 in Software Engineering Book
Chapter 4 Sequence Diagrams
Presentation transcript:

Behavioral Modeling

Introduction Behavioral models describe the internal behavior of a system Behavioral model types: Representations of the details of a business process identified by use-cases Interaction diagrams (Sequence & Communication) Shows how objects collaborate to provide the functionality defined in the use cases. Representations of changes in the data Behavioral state machines

Behavioral Models Analysts view the problem as a set of use cases supported by a set of collaborating objects Aids in organizing and defining the software Behavioral models depict this view of the business processes: How the objects interact and form a collaboration to support the use cases An internal view of the business process described by a use case Creating behavioral models is an iterative process which may induce changes in other models

Interaction Diagrams Objects—an instantiation of a class Patient is a class Mary Wilson is an instantiation of the patient class (object) Attributes—characteristics of a class Patient class: name, address, phone, etc. Operations—the behaviors of a class, or an action that an object can perform Messages—information sent to objects to tell them to execute one of their behaviors A function call from one object to another Types Sequence Diagrams—emphasize message sequence Communication Diagrams—emphasize message flow

Sequence Diagrams Illustrate the objects that participate in a single use-case A dynamic model Shows the sequence of messages that pass between objects Aid in understanding real-time specifications and complex use- cases Generic diagram shows all scenarios for a use-case Instance diagrams show a single scenario

Sequence Diagram Syntax

More Sequence Diagram Syntax

Sample Sequence Diagram

Building Sequence Diagrams Set the context Identify actors and objects that interact in the use-case scenario Set the lifeline for each object Add messages by drawing arrows Shows how they are passed from one object to another Include any parameters in parentheses Obvious return values are excluded Add execution occurrence to each object’s lifeline Validate the sequence diagram Ensures that it depicts all of the steps in the process

Communication Diagrams Depict the dependencies among the objects An object diagram that shows message passing relationships Emphasize the flow through a set of objects

Communication Diagram Syntax

Sample Communication Diagram

Class Task Create a sequence and a communication diagram for each scenario of each use case identified in the functional model for the Holiday Travel Vehicles Minicase in Chapter 5.

Sequence Diagram for Holiday travel Vehicles . Sequence Diagram for Holiday travel Vehicles An Invoice invoice Vehicle: database Options: database Tax: Look up table A Client A Sales person Open invoice () Get Customer Info () Get vehicle info () Get options info () Get tax info () Calculate Totals () Gets Signature ()

Communication Diagram Vehicle: database 1: Open Invoice () 6: Calculate totals() 3 : Get vehicle info() 4: Get options info () A sales person An invoice invoice Option: database 2: Get Customer info () 7: Get Signature () 5: Get tax info () A customer Taxes: Lookup table

Building Communication Diagrams Set the context Identify objects, actors and associations between them Lay out the diagram Add the messages Validate the model

Class Task Convert to a CD