Dynamic Modeling of Banking System Case Study - II

Slides:



Advertisements
Similar presentations
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
Advertisements

A Brief Introduction. Acknowledgements  The material in this tutorial is based in part on: Concurrency: State Models & Java Programming, by Jeff Magee.
1 Chapter 4 Dynamic Modeling and Analysis (Part I) Object-Oriented Technology From Diagram to Code with Visual Paradigm for UML Curtis H.K. Tsang, Clarence.
Sequence Diagrams. Introduction A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object, and.
Interaction Diagrams Activity Diagram State Machine Diagram
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 5, Analysis: Dynamic Modeling.
C++ Training Datascope Lawrence D’Antonio Lecture 11 UML.
Slide 1 Chapter 8 Behavioral Modeling. Slide 2 Key Ideas Behavioral models describe the internal dynamic aspects of an information system that supports.
1 Introduction to UML DIAGRAMS & CLASS DIAGRAM Chapter 7,8 主講人 : 許勝杰
Behavioral Modeling Chapter 8.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
Unified Modeling Language* Keng Siau University of Nebraska-Lincoln *Adapted from “Software Architecture and the UML” by Grady Booch.
ניתוח מערכות מידע 1 Unified Modeling Language (UML) § § The Unified Modeling Language (UML) is the industry-standard language for: Specifying, Visualizing,
TAL7011 – Lecture 4 UML for Architecture Modeling.
1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.
1 An Introduction to UML Interaction (Sequence and Communication) Diagrams Georgia State University CIS 3300 Spring, 2009.
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
Unified Modeling Language User Guide Section 4 - Basic Behavioral Modeling Chapter 16 - Use Cases Chapter 17 - Use Case Diagrams.
UML Diagrams CSC 422 Kutztown University Dr. Daniel Spiegel.
Software Engineering Lecture 8 Object-Oriented Analysis.
OMT Modeling 1. Object Model : presented by the object model and the data dictionary. 2. Dynamic Model: presented by the state diagrams and event flow.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Week 04 Object Oriented Analysis and Designing. What is a model? A model is quicker and easier to build A model can be used in simulations, to learn more.
Technical Module C Object Modeling Objects Object – a valuable resource: Money (Account Receivable) Material (Product) Machines (Delivery Truck) Personnel.
Diagrams. Typically, we view the static parts of a system using one of the four following diagrams. 1. Class diagram 2. Object diagram 3. Component diagram.
Object-Oriented Software Engineering CS288 Paul Krause.
CS 501: Software Engineering Fall 1999 Lecture 15 Object-Oriented Design I.
Chapter 7 Behavioral Modeling Brandon A. Jones Stand and Deliver ITEC March 6, 2011.
Requirements Document for the Banking System
Introduction to Unified Modeling Language (UML) By Rick Mercer with help from The Unified Modeling Language User Guide, Grady Booch, James Rumbaugh, Ivar.
ITEC1301 Object-Oriented Systems Construction Lecture Notes #4 1.
1 Object-Oriented Static Modeling of the Banking System - III Lecture # 33.
1 Object-Oriented Static Modeling of the Banking System - II Lecture # 32.
1 An Overview of UML. 2 The Unified Modeling Language UML is a graphical language used by software engineers to model software systems during development.
1 Case Study and Use Cases for Case Study Lecture # 28.
1 Systems Analysis and Design Behavioral Modeling Chapter 8 (Last one before the Midterm!)
CompSci 280 S Introduction to Software Development
Systems Analysis and Design in a Changing World, Fourth Edition
Software Design Refinement Using Design Patterns
UML Diagrams By Daniel Damaris Novarianto S..
Use Case Modeling - II Lecture # 27.
Structured Analysis and Design Technique
Review of Lectures Lecture # 45.
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Object-Oriented Analysis and Design
Dynamic Modeling of Banking System Case Study - I
Object-Oriented Static Modeling of the Banking System - I
Introduction to Unified Modeling Language (UML)
Introduction to Unified Modeling Language (UML)
University of Central Florida COP 3330 Object Oriented Programming
UML Diagrams Jung Woo.
UML dynamic Modeling (Behavior Diagram)
Software Architecture & Design Pattern
Interactions.
The Unified Modeling Language
UML Overview Part 2.
Unified Modeling Language
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Week 12: Activity & Sequence Diagrams
Introduction to Unified Modeling Language (UML)
Software Design Lecture : 15.
Interaction Diagrams Chapter 18.
Dynamic Modeling Lecture # 37.
Object and class structuring
Using Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Real-Time Structured Analysis and Design Technique (RSTAD)
Uml diagrams In ooad.
Presentation transcript:

Dynamic Modeling of Banking System Case Study - II Lecture # 39

Dynamic Modeling There are two ways to model dynamic behavior One is the life history of one object as it interacts with the rest of the world; the other is the communication patterns of a set of connected objects as they interact to implement behavior

Dynamic Modeling The view of an object in isolation is a state machine – a view of an object as it responds to events based on its current state, performs actions as part of its response, and transitions to a new state This is displayed in state chart diagrams in UML

Dynamic Modeling The view of a system of interacting objects is a collaboration, a context-dependent view of objects and their links to each other, together with the flow of messages between objects across data links Collaboration and sequence diagrams are used for this view in UML. Both of these combined are called interactive diagrams

Dynamic Modeling The dynamic model depicts the interaction among the objects that participate in each use case The starting point for developing the dynamic model is the use case and the objects determined during object structuring

Today’s Topics We’ll talk about the second view today We’ll apply this to our Banking System application also But, first let us review our knowledge about interaction diagrams as defined in the UML

Interaction Diagrams Interaction diagrams are used to model the dynamic aspects a system. For the most part, this involves modeling concrete or prototypical instances of classes, interfaces, components, and nodes, along with messages that are dispatched among them, all in the context of a scenario that illustrates a behavior

Interaction Diagrams Interaction diagrams may stand alone to visualize, specify, construct, and document the dynamics of a particular society of objects, or they may be used to model one particular flow of control of a use case

Types of Interaction Diagrams Sequence diagrams Collaboration diagrams

Sequence Diagrams A sequence diagram is an interaction diagram that emphasizes the time ordering of messages Graphically, a sequence diagram is a table that shows objects arranged along the X axis and messages, ordered in increasing time, along the Y axis

Collaboration Diagrams A collaboration diagram is an interaction diagram that emphasizes the structural organization of the objects that send and receive messages Graphically, a collaboration diagram is a collection of vertices and arcs

Hints and Tips on Interaction Diagrams Give it a name that communicates its purpose Use a sequence diagram if you want to emphasize the time ordering of messages Use a collaboration diagram if you want to emphasize the organization of the objects involved in the interaction

Hints and Tips on Interaction Diagrams Lay out its elements to minimize lines that cross Use notes and color as visual cues to draw attention to important features of your diagram

Collaboration Diagram: ATM Client Validate PIN Use Case :BankServer 1: Card Reader Input 1.2: Card Inserted :CardReader Interface 2.5: Validate PIN (Customer Info) 2.6: [Valid] Valid PIN :CardReader 1.1: Card Input Data :ATM Control 2.4: PIN Entered (Customer Info) :ATMCard 1.3: Get PIN 2.7a: Update Status 2.2: Card Data 2.1: Card Request 2.7: Display Menu 1.4: PIN Prompt 2.8: Selection Menu :Customer Interface :ATM Transaction 2: PIN Input 2.3: Customer Info

Sequence Diagram: ATM Client Validate PIN Use Case - 1 :CardReader Interface :Customer Interface :ATM Transaction :ATM Customer :ATMCard :ATMControl :BankServer 1: Card Reader Input 1.1: Card Input Data 1.2: Card Inserted 1.3: Get PIN 1.4: PIN Prompt

Sequence Diagram: ATM Client Validate PIN Use Case - 2 :CardReader Interface :Customer Interface :ATM Transaction :ATM Customer :ATMCard :ATMControl :BankServer 2: PIN Input 2.1: Card Request 2.2: Card Data 2.3: Customer Info 2.4: PIN Entered 2.5: Validate PIN 2.6: [Valid]: Valid PIN

Sequence Diagram: ATM Client Validate PIN Use Case - 3 :CardReader Interface :Customer Interface :ATM Transaction :ATM Customer :ATMCard :ATMControl :BankServer 2.7: Display Menu 2.7a: Update Status 2.8: Selection Menu

Collaboration Diagram: ATM Client Withdraw Funds Use Case

Sequence Diagram: ATM Client Withdraw Funds Use Case

Consolidated Collaboration Diagram for ATM Client Subsystem

Summary In the last lecture we introduced the dynamic modeling through statecharts In this lecture we have gone through the other aspect of dynamic modeling, i.e. Interaction diagrams We can model the interaction of objects through Sequence diagrams and Collaboration diagrams

References ‘Designing Concurrent, Distributed, and Real-Time Applications with UML’ by H. Gomaa, Addison-Wesley, 2000 ‘The Unified Modeling Language User Guide’ by G. Booch, J. Rambaugh, & I. Jacobson, Addison-Wesley, 1998 ‘The Unified Modeling Language Reference Guide’ by J. Rambaugh, I. Jacobson, & G. Booch, Addison-Wesley, 1998