The Movement To Objects

Slides:



Advertisements
Similar presentations
Introduction to Object Orientation System Analysis and Design
Advertisements

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12Slide 1 Software Design l Objectives To explain how a software design may be represented.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall A.1.
Systems Analysis and Design 8th Edition
Chapter 22 Object-Oriented Systems Analysis and Design and UML Systems Analysis and Design Kendall and Kendall Fifth Edition.
Object-Oriented Analysis and Design
Chapter 1 Object-Oriented System Development
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 The.
Object Oriented System Development with VB .NET
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 The.
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
Slide 1 Systems Analysis & Design CS183 Spring Semester 2008 Dr. Jonathan Y. Clark Course Website:
Basic OOP Concepts and Terms
Systems Analysis & Design Sixth Edition Systems Analysis & Design Sixth Edition Toolkit Part 5.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
Object Oriented Concepts. Movement toward Objects Instead of data-oriented or process-oriented Analysis, many firms are now moving to object-oriented.
Unified Modeling Language
CMIS 470 Structured Systems Design
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.
Unified Modeling Language, Version 2.0
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 15: Object-Oriented Data Modeling Modern Database Management 9 h Edition Jeffrey A.
Systems Analysis & Design 7 th Edition Chapter 5.
IT 21103/41103 System Analysis & Design. Chapter 05 Object Modeling.
Systems Analysis and Design 8 th Edition Chapter 6 Object Modeling.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Basic OOP Concepts and Terms. In this class, we will cover: Objects and examples of different object types Classes and how they relate to objects Object.
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.
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 2: Introduction to Object-Oriented Systems Analysis.
Unified Modeling Language. Object Oriented Methods ► What are object-oriented (OO) methods?  OO methods provide a set of techniques for analyzing, decomposing,
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 2: Introduction to Object-Oriented Systems Analysis.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
Slide 1 Object-Oriented Analysis and Design Attempts to balance emphasis on data and process Uses Unified Modeling Language (UML) for diagramming Use-case.
1 Unified Modeling Language, Version 2.0 Chapter 2.
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 2: Introduction to Object-Oriented Systems Analysis.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
Technical Module C Object Modeling Objects Object – a valuable resource: Money (Account Receivable) Material (Product) Machines (Delivery Truck) Personnel.
Slide 1 Objectives Understand the basic characteristics of object-oriented systems. Be familiar with the Unified Modeling Language (UML),V.2.0.
Basic Characteristics of Object-Oriented Systems
Chapter 5 – System Modeling Lecture 1 1Chapter 5 System modeling.
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!)
Appendix 3 Object-Oriented Analysis and Design
Chapter 1: Introduction to Systems Analysis and Design
Business System Development
DATA REQIREMENT ANALYSIS
Roberta Roth, Alan Dennis, and Barbara Haley Wixom
Systems Analysis and Design
Object-Oriented Analysis and Design
Systems Analysis and Design With UML 2
Unified Modeling Language
Systems Analysis and Design With UML 2
Software Architecture & Design Pattern
Unified Modeling Language
University of Houston-Clear Lake
Chapter 20 Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Systems Analysis – ITEC 3155 Modeling System Requirements – Part 2
Copyright 2007 Oxford Consulting, Ltd
Chapter 1: Introduction to Systems Analysis and Design
Basic OOP Concepts and Terms
Chapter 5.
Chapter 22 Object-Oriented Systems Analysis and Design and UML
Appendix A Object-Oriented Analysis and Design
Chapter 4 System Modeling.
Appendix A Object-Oriented Analysis and Design
Chapter 1: Introduction to Systems Analysis and Design
UML  UML stands for Unified Modeling Language. It is a standard which is mainly used for creating object- oriented, meaningful documentation models for.
Presentation transcript:

The Movement To Objects Chapter 15

Key Definitions Object-oriented techniques view a system as a collection of self-contained objects which include both data and processes. The Unified Modeling Language (UML) the object modeling standard adds a variety of techniques to the field of system development.

BASIC CHARACTERISTICS OF OBJECT-ORIENTED SYSTEMS

Object Concepts An object is a person, place, event, or thing about which we want to capture information. Each object has properties (or attributes). The state of an object is defined by the value of its properties and relations with other objects at a point in time. Objects have behaviors -- things that they can do -- which are described by methods (or operations). Objects do not use primary or foreign keys, instead each instance is assigned a unique identifier (UID) when it is created.

Classes and Objects

Class A class is a general template we use to define and create specific instances or objects.

Object An object is an instantiation (child) of a class. An object is a person, place, event, or thing about which we want to capture information.

Messages and Methods Messages are information sent to objects to trigger methods

Encapsulation and Information Hiding Encapsulation is simply the combination of process and data into a single entity. The principle of information hiding suggests that only the information required to use a software module be published to the user of the module.

Inheritance Classes are arranged in a hierarchy Superclasses or general classes are at the top Subclasses or specific classes are at the bottom Subclasses inherit attributes and methods from the superclasses above them Classes with instances are concrete classes Abstract classes only produce templates for more specific classes

Class Hierarchy

Inheritance

Polymorphism and Encapsulation

Benefits of an Object Approach

UML 2.0 Diagram Summary

Integration of 4 UML Diagrams

Adaptation of the Unified Process Phased Development Methodology

USE CASE DIAGRAM

Use Case Diagram Concepts Summarizes all use cases (for the part of the system being modeled) together in one picture Typically drawn early in the SDLC Shows the associations between actors and use cases

Use Case Diagram for Appointment System

Syntax for Use Case Diagram

Use Case Diagram for Specialized Actor

Extends and Includes Associations

Steps in Creating the Use Case Diagram 1. Identify Use Cases 2. Draw the system boundary 3. Place Use Cases on the diagram Group Use Cases into packages Add special Use Case associations 4. Identify the actors 5. Add associations

CLASS DIAGRAM

Elements of a Class Diagram A static model that shows the classes and relationships among classes that remain constant in the system over time Similar to ERD, but classes only include both behaviors and states, while entities in the ERD include attributes Scope not system wide, but concern single Use Case

Class Diagram for Manage Appointment

Class Diagram Syntax

Operation Types Constructor operation: create new instances of a class Similar to relationships in ERDs Multiplicity shows how an instance of an object can be associated with other instances

Multiplicity

Steps in Creating a Class Diagram 1. Identify classes 2. Identify attributes and operations 3. Draw associations between classes

Initial Attributes for Class Diagrams

Revised Attributes and Associations

Final Class Diagram

SEQUENCE DIAGRAM

Sequence Diagram Concepts Illustrates the classes that participate in a use case Shows the messages that pass between classes over time for one Use Case Can be a generic sequence diagram, but more frequently one is drawn for a single scenario within the use case Design diagrams are implementation specific -- database objects or specific GUI components serve as classes

Sequence Diagram

Steps in Creating a Sequence Diagram 1. Identify classes 2. Add messages 3. Place lifeline and focus of control

Syntax for Sequence Diagram

Steps of the Customer Places Order Scenario

Sequence Diagram for Customer Places Order Scenario

BEHAVIORAL STATE MACHINE DIAGRAM

Behavioral State Machine Concepts A dynamic model showing changes of state of a single class over time in response to events along with its responses and actions Typically not used for all classes, but just to help simplify the design of algorithms for methods of complex classes

Behavioral State Machine Diagram for a Hospital Patient

Behavioral State Machine Syntax

The Life of an Order

Steps for Creating a Behavioral State Machine Diagram 1. Identify the states 2. Identify the transitions

Behavioral State Machine Diagram for a Special Order

Summary Many organizations are moving to the use of object-oriented techniques Objects are grouped into classes that share common properties and methods and arranged in a hierarchy Objects communicate by sending messages which trigger methods

Summary Major object-oriented modeling techniques include: Use Case diagrams Class diagrams Sequence diagrams Statechart diagrams