Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Object-Oriented Systems Analysis and Design Using UML Systems Analysis and Design,

Slides:



Advertisements
Similar presentations
Using Data Flow Diagrams
Advertisements

UML (Sequence Diagrams, Collaboration and State Chart Diagrams) Presentation By - SANDEEP REDDY CHEEDEPUDI (Student No: ) - VISHNU CHANDRADAS (Student.
Object-Oriented Application Development Using VB.NET 1 Chapter 5 Object-Oriented Analysis and Design.
© 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.
Chapter 22 Object-Oriented Systems Analysis and Design and UML Systems Analysis and Design Kendall and Kendall Fifth Edition.
System Modelling System modelling helps the analyst to understand the functionality of the system and models are used to communicate with customers. Different.
Department of Computing
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Introduction To System Analysis and Design
Chapter 18 Object-Oriented Systems Analysis and Design Using UML
Using Dataflow Diagrams
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
Chapter 14 (Web): Object-Oriented Data Modeling
© 2005 Prentice Hall8-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
Essentials of interaction diagrams Lecture Outline Collaborations Interaction on collaboration diagrams Sequence diagrams Messages from an object.
C++ Training Datascope Lawrence D’Antonio Lecture 11 UML.
© Copyright Eliyahu Brutman Programming Techniques Course.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
Visual Basic Introduction IDS 306 from Shelly, Cashman & Repede Microsoft Visual Basic 5: Complete Concepts and Techniques.
Object-Oriented Systems Analysis and Design Using UML
Objectives Explain the purpose and objectives of object- oriented design Develop design class diagrams Develop interaction diagrams based on the principles.
Use Case Modeling.
2Object-Oriented Analysis and Design with the Unified Process Events and Use Cases  Use case  Activity the system carries out  Entry point into the.
SE-565 Software System Requirements More UML Diagrams.
Unified Modeling Language
UML Sequence Diagrams Michael L. Collard, Ph.D. Department of Computer Science Kent State University.
Introduction To System Analysis and design
Object-Oriented Systems Analysis and Design Using UML
Systems Analysis and Design in a Changing World, Fifth Edition
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix A Object-Oriented.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
Systems Analysis and Design in a Changing World, Fifth Edition
System Analysis System Analysis - Mr. Ahmad Al-Ghoul System Analysis and Design.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
Chapter 18 Object-Oriented Systems Analysis and Design Using UML
Sommerville 2004,Mejia-Alvarez 2009Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
CHAPTER 13 (ONLINE): OBJECT-ORIENTED DATA MODELING © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition.
Chapter 5 Models and UML Notation for The Object-Oriented Approach.
Systems Analysis & Design 7 th Edition Chapter 5.
IT 21103/41103 System Analysis & Design. Chapter 05 Object Modeling.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 15 System Modeling with the UML.
Systems Analysis and Design 8 th Edition Chapter 6 Object Modeling.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 13 (Online): Object-Oriented Data Modeling Modern Database Management 10 th Edition.
ניתוח מערכות מידע 1 Unified Modeling Language (UML) § § The Unified Modeling Language (UML) is the industry-standard language for: Specifying, Visualizing,
Copyright © 2013 Curt Hill UML Unified Modeling Language.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
5 Systems Analysis and Design in a Changing World, Fifth Edition.
Object-Oriented Systems Analysis and Design Using UML
Course Instructor: Kashif Ihsan 1. Chapter # 3 2.
CIS 112 Exam Review. Exam Content 100 questions valued at 1 point each 100 questions valued at 1 point each 100 points total 100 points total 10 each.
SWT - Diagrammatics Lecture 4/4 - Diagramming in OO Software Development - partB 4-May-2000.
Software Engineering Software Engineering - Mr. Ahmad Al-Ghoul.
Introduction to UML CS A470. What is UML? Unified Modeling Language –OMG Standard, Object Management Group –Based on work from Booch, Rumbaugh, Jacobson.
State Modeling. Events An event is an occurrence at a point in time, such as user depresses left button or.
Object-Oriented Application Development Using VB.NET 1 Chapter 5 Object-Oriented Analysis and Design.
Chapter 3: Introducing the UML
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
Object-Oriented Systems Analysis and Design Using UML
Appendix 3 Object-Oriented Analysis and Design
Unified Modeling Language
Object-Oriented Systems Analysis and Design Using UML
Chapter 20 Object-Oriented Analysis and Design
CIS 375 Bruce R. Maxim UM-Dearborn
Appendix A Object-Oriented Analysis and Design
Chapter 22 Object-Oriented Systems Analysis and Design and UML
CIS 375 Bruce R. Maxim UM-Dearborn
Appendix A Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Presentation transcript:

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Object-Oriented Systems Analysis and Design Using UML Systems Analysis and Design, 8e Kendall & Kendall

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-2 Object-Oriented Concepts Objects Classes Inheritance

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-3 Diagrams Structural diagrams Used to describe the relation between classes Behavior diagrams Used to describe the interaction between people (actors) and a use case (how the actors use the system)

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-4 Structural Diagrams Class diagrams Object diagrams Component diagrams Deployment diagrams

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-5 Behavioral Diagrams Use case diagrams Sequence diagrams Collaboration diagrams Statechart diagrams Activity diagrams

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-6 Commonly Used UML Diagrams Use case diagram Describing how the system is used The starting point for UML modeling Use case scenario A verbal articulation of exceptions to the main behavior described by the primary use case Activity diagram Illustrates the overall flow of activities

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-7 Commonly Used UML Diagrams (Continued) Sequence diagrams Show the sequence of activities and class relationships. Class diagrams Show classes and relationships. Statechart diagrams Show the state transitions.

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-8 An Overview of UML Diagrams Showing How Each Diagram Leads to the Development of Other UML Diagrams (Figure 10.5)

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-9 Use Case Modeling Describes what the system does, without describing how the system does it Based on the interactions and relationships of individual use cases Use case describes Actor Event Use case

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-10 A Use Case Example of Student Enrollment (Figure 10.6)

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-11 A Use Case Scenario Is Divided into Three Sections: Identification and Initiation, Steps Performed, and Conditions, Assumptions, and Questions (Figure 10.7)

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-12 Activity Diagrams Show the sequence of activities in a process, including sequential and parallel activities, and decisions that are made. Symbols Rectangle with rounded ends Arrow Diamond Long, flat rectangle Filled-in circle Black circle surrounded by a white circle Swimlanes

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-13 Specialized Symbols Are Used to Draw an Activity Diagram (Figure 10.8)

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-14 Creating Activity Diagrams Created by asking what happens first, what happens second, and so on Must determine what activities are done in sequence or in parallel The sequence of activities can be determined from physical data flow diagrams. Can be created by examining all the scenarios for a use case

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-15 Swimlanes Useful to show how the data must be transmitted or converted Help to divide up the tasks in a team Makes the activity diagram one that people want to use to communicate with others

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-16 This Activity Diagram Shows Three Swimlanes: Client Web Page, Web Server, and Mainframe (Figure 10.9)

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-17 Activity Diagrams and Test Plans Activity diagrams may be used to construct test plans. Each event must be tested to see if the system goes to the next state. Each decision must be tested.

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-18 Activity Diagrams Not Created for All Use Cases Use an activity diagram when: It helps to understand the activities of a use case The flow of control is complex There is a need to model workflow When all scenarios for a use case need to be shown

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-19 Sequence Diagrams Illustrate a succession of interactions between classes or object instances over time Often used to show the processing described in use case scenarios Used to show the overall pattern of the activities or interactions in a use case

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-20 Specialized Symbols Used to Draw a Sequence Diagram (Figure 10.10)

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-21 A Sequence Diagram for Student Admission: Sequence Diagrams Emphasize the Time Ordering of Messages (Figure 10.11)

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-22 Communication Diagrams Describes the interactions of two or more things in the system that perform a behavior that is more than any one of the things can do alone Shows the same information as a sequence diagram, but may be more difficult to read Emphasizes the organization of objects Made up of objects, communication links, and the messages that can be passed along those links

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-23 A Communication Diagram for Student Admission (Figure 10.12) Communication diagrams show the same information that is depicted in a sequence diagram but emphasize the organization of objects rather than the time ordering.

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-24 Class Diagrams Show the static features of the system and do not represent any particular processing. Show the nature of the relationships between classes. Show data storage requirements as well as processing requirements.

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-25 Class Diagrams (Continued) Classes Attributes Private Public Protected Methods Standard Custom

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-26 A Class Diagram for Course Offerings: The Filled-In Diamonds Show Aggregation and the Empty Diamond Shows a Whole-Part Relationship (Figure 10.13)

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-27 Types of Classes Entity classes Interface classes Abstract classes Control classes

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-28 Entity Classes Represent real-world items The entities represented on an entity- relationship diagram

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-29 Interface or Boundary Classes Provide a means for users to work with the system. Human interfaces may be a display, window, Web form, dialogue box, touch-tone telephone, or other way for users to interact with the system. System interfaces involve sending data to or receiving data from others.

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-30 Abstract Classes Linked to concrete classes in a generalization/specialization relationship Cannot be directly instantiated

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-31 Control Classes Used to control the flow of activities Many small control classes can be used to achieve classes that are reusable.

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-32 A Sequence Diagram for Using Two Web Pages: One for Student Information, One for Course Information (Figure )

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-33 Create Sequence Diagrams Include the actor from the use case diagram. Define one or more interface classes for each actor. Each use case should have one control class. Examine the use case to see what entity classes are required. The sequence diagram may be modified when doing detailed design.

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-34 Creating a Test Plan from a Sequence Diagram Does each method return correct results? Ensure that entity classes store or obtain the correct attribute values. Verify that all JavaScript paths work correctly. Ensure that the server control classes work correctly. Ask, “What may fail?” Determine what to do if something can fail.

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-35 Generalization/Specialization Diagrams Generalization Inheritance Polymorphism Abstract classes Messages

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-36 Generalization Describes a relationship between a general kind of thing and a more specific kind of thing Described as an “is a” relationship Used for modeling class inheritance and specialization General class is a parent, base, or superclass Specialized class is a child, derived, or subclass

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-37 Inheritance Helps to foster reuse Helps to maintain existing program code

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-38 Polymorphism The capability of an object-oriented program to have several versions of the same method with the same name within a superclass/subclass relationship The subclass method overrides the superclass method. When attributes or methods are defined more than once, the most specific one is used.

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-39 Abstract Classes Abstract classes are general classes. No direct objects or class instances, and is only used in conjunction with specialized classes Usually have attributes and may have a few methods

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-40 A Generalization/Specification Diagram Is a Refined Form of a Class Diagram (Figure 10.20)

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-41 Statechart Diagrams Used to examine the different states that an object may have Created for a single class Objects are created, go through changes, and are deleted or removed. Objects States Events Signals or asynchronous messages Synchronous Temporal events

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-42 Statechart Diagrams (Continued) Created when: A class has a complex life cycle. An instance of a class may update its attributes in a number of ways through the life cycle. A class has an operational life cycle. Two classes depend on each other. The object’s current behavior depends on what happened previously.

Kendall & KendallCopyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall7-43 A Statechart Diagram Showing How a Student Progresses from a Potential Student to a Graduated Student (Figure 10.22)