Dynamic Modeling: Defining Classes

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

Interaction Diagram Notation From Chapter 15 of Craig Larman, Applying UML and Patterns John Dalesandro.
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.
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
Introduction to UML Part 2 Behavioral Modeling. Sequence (event) diagram Describes object interaction Typically captures behavior of a single use case.
THE OBJECT-ORIENTED DESIGN WORKFLOW UML2 Sequence Diagrams.
C++ Training Datascope Lawrence D’Antonio Lecture 11 UML.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
Lab 6 CPIT 250 System Analysis and Design.
SE-565 Software System Requirements More UML Diagrams.
UML Diagrams: Sequence Diagrams The Requirements Model, and The Dynamic Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical.
UML Sequence Diagrams Michael L. Collard, Ph.D. Department of Computer Science Kent State University.
Class, Sequence and UML Model.  Has actors and use cases.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix A Object-Oriented.
1 On to Object Design Chapter 14 Applying UML and Patterns.
UML Diagrams: Sequence Diagrams The Requirements Model, and The Dynamic Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
ניתוח מערכות מידע 1 Unified Modeling Language (UML) § § The Unified Modeling Language (UML) is the industry-standard language for: Specifying, Visualizing,
Interaction Diagrams Interaction Diagrams allow the designer to show how groups of objects collaborate in some behavior. –Interaction Diagrams will show.
Design Jon Walker. More UML ● What is UML again?
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
Introduction to UML CS A470. What is UML? Unified Modeling Language –OMG Standard, Object Management Group –Based on work from Booch, Rumbaugh, Jacobson.
©2007 · Georges Merx and Ronald J. NormanSlide 1 Chapter 15 The Unified Modeling Language: a Primer.
Dynamic Models Sequence Diagrams Collaboration Diagrams Activity Diagrams.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Object-Oriented Systems Analysis and Design Using UML Systems Analysis and Design,
Communication Diagrams Lecture 8. Introduction  Interaction Diagrams are used to model system dynamics  How do objects change state?  How do objects.
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.
Introduction to UML and Rational Rose UML - Unified Modeling Language Rational Rose 98 - a GUI tool to systematically develop software through the following.
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
1 Systems Analysis and Design Behavioral Modeling Chapter 8 (Last one before the Midterm!)
CompSci 280 S Introduction to Software Development
Introduction to UML.
Appendix 3 Object-Oriented Analysis and Design
Instructor: Dr. Hany H. Ammar
UML Diagrams By Daniel Damaris Novarianto S..
The Movement To Objects
Main issues: • What do we want to build • How do we write this down
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Object-Oriented Analysis and Design
Object-Oriented Systems Analysis and Design Using UML
Communication DIAGRAM
Introduction to Unified Modeling Language (UML)
University of Central Florida COP 3330 Object Oriented Programming
UML Diagrams Jung Woo.
Sequence Diagrams.
Business System Development
UML dynamic Modeling (Behavior Diagram)
Software Architecture & Design Pattern
Interactions.
Requirements To Design In This Iteration
Unified Modeling Language
IMAT5205 Systems Analysis and Design
Week 12: Activity & Sequence Diagrams
Interaction diagrams.
UML Diagrams: Sequence Diagrams Dynamic Analysis Model
Chapter 20 Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Design and Implementation
Communication DIAGRAM
Review CSE116 2/21/2019 B.Ramamurthy.
Copyright 2007 Oxford Consulting, Ltd
Analysis and Design with UML: Classes and Relationships
CIS 375 Bruce R. Maxim UM-Dearborn
Appendix A Object-Oriented Analysis and Design
Appendix 3 Object-Oriented Analysis and Design
Chapter 4 Sequence Diagrams
Presentation transcript:

Dynamic Modeling: Defining Classes B.Ramamurthy 9/22/2018 B.Ramamurthy

Introduction (User) Requirement Analysis was done using Use Case Model. Result of this phase is a Use Case Diagram(s). Further analysis involves using the use cases to discover classes and relationship among them. Result of this phase is a class diagram(s). Next the classes need to be defined: the attributes, the methods and dynamics of the interaction among the classes. Dynamic Model expresses the dynamic behavior of objects of class and the interaction among objects during the execution of a system. Dynamic Modeling Tools are: Collaboration diagram, state diagram, sequence diagram and activity diagram. 9/22/2018 B.Ramamurthy

Topics for Discussion Revisit Weather Station analysis. Other class diagrams from Lab2. Class definition. Interface, Abstract Class, Concrete Class. Sequence Diagrams: describe how objects interact and communicate with each other. Primary focus here is time. Collaboration Diagrams: describe how objects interact but the focus is on space. Activity Diagrams: yet another way of showing interaction but with focus on activities. Since Sequence, Collaboration, and Activity diagrams all show interaction, you must make a choice as what you want to use in your practice. State Diagrams: describe which states an object can have during its life cycle, behavior in those states, and along with events that bring about state transitions. We will study Sequence Diagrams and State Diagrams. 9/22/2018 B.Ramamurthy

Class Definition Class name Class attributes/characteristics/properties/data Class operations/capabilities/behaviors/methods Types of methods: Constructor(s) Destructor Service methods Get/set methods Utility methods Predicate methods 9/22/2018 B.Ramamurthy

Sequence Diagrams Sequence diagrams illustrate how objects interact with each other. They focus on message sequences. Objects interact by sending messages that invoke operations specified by the objects receiving the messages. Two axes: vertical axes shows time, horizontal access shows objects. 9/22/2018 B.Ramamurthy

Message Types and Notation (UML) Synchronous Message (call) Asynchronous Message (interrupt) Simple Message (passing of control Flow) Message Return Note: Rational Rose Demo tool provides just one type of arrow head for all the messages. 9/22/2018 B.Ramamurthy

Components of a Sequence Diagram An object which is an instance of class Manager An Object An object Dan which is an instance of class Manager Dan, the Manager is sending a message to Sue, the Employee to contactClient(); contactClient() is a method of Employee class. 9/22/2018 B.Ramamurthy

Job Application: Class Diagram 9/22/2018 B.Ramamurthy

Job Application: Sequence Diagram 9/22/2018 B.Ramamurthy

State Diagram Defines the semantics of a class or operations within an object. Basic components: Initial State, Final State, intermediate state, state transition and associated labels. All objects have a state which is a result of previous activities performed by the object. 9/22/2018 B.Ramamurthy

Matrix of Diagrams Sequence CRC Class Analysis System Design Class Use Case Sequence Collabortn. Component Deployment CRC Class State Activity Package Analysis System Design Class Design Physical Architecture 9/22/2018 B.Ramamurthy