2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation (Adapted) Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra,

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

UML (cont.) “The Unified Modeling Language User Guide” by G. Booch, J. Rumbaugh and I. Jacobson ● Classes ● Relationships ● Class diagrams ● Examples.
Object-Oriented Analysis and Design: Object Modeling – Class Diagrams
Appendix Object-Oriented Analysis and Design: Use Cases Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
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.
Systems development life cycle & development methodologies
Chapter 1 Object-Oriented System Development
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Object Oriented System Development with VB .NET
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:
Chapter 14 (Web): Object-Oriented Data Modeling
Basic OOP Concepts and Terms
9-1 © Prentice Hall, 2004 Chapter 9, Part II: System Behavior - Interactions (Adapted) Object-Oriented Systems Analysis and Design Joey F. George, Dinesh.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
Chapter 14: Object-Oriented Data Modeling
Chapter 14: Object-Oriented Data Modeling
OBJECT AND CLASES: THE BASIC CONCEPTS Pertemuan 8 Matakuliah: Konsep object-oriented Tahun: 2009.
An Object-Oriented Approach to Programming Logic and Design
OBJECT ORIENTED PROGRAMMING CONCEPTS ISC 560. Object-oriented Concepts  Objects – things names with nouns  Classes – classifications (groups) of similar.
The Software Development Life Cycle: An Overview Presented by Maxwell Drew and Dan Kaiser Southwest State University Computer Science Program.
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.
Database Management System Prepared by Dr. Ahmed El-Ragal Reviewed & Presented By Mr. Mahmoud Rafeek Alfarra College Of Science & Technology Khan younis.
Unified Modeling Language, Version 2.0
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
System Analysis System Analysis - Mr. Ahmad Al-Ghoul System Analysis and Design.
Chapter 18 Object-Oriented Systems Analysis and Design Using UML
CHAPTER 13 (ONLINE): OBJECT-ORIENTED DATA MODELING © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition.
1 © Prentice Hall, 2002 Chapter 14: Object-Oriented Data Modeling Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R.
7-1 © Prentice Hall, 2004 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
7-1 © Prentice Hall, 2007 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 15: Object-Oriented Data Modeling Modern Database Management 9 h Edition Jeffrey A.
Unit 3 Conceptual Data Modeling. Key Concepts Conceptual data modeling process Classes and objects Attributes Identifiers, candidate keys, and primary.
7-1 © Prentice Hall, 2007 Week 5: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
Systems Analysis & Design 7 th Edition Chapter 5.
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.
CHAPTER 13: OBJECT-ORIENTED DATA MODELING (OVERVIEW) © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition.
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.
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
Object-Oriented Data Modeling
Design Model Lecture p6 T120B pavasario sem.
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
Software Engineering Software Engineering - Mr. Ahmad Al-Ghoul.
Chapter 12 Object-oriented design for more than one class.
1 Unified Modeling Language, Version 2.0 Chapter 2.
INFSY 535.  Small systems  Larger systems 1.Understand the program requirement- what 3. Write and test each part (unit testing) 4. Maintenance 2. Specify.
Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A.
CHAPTER 13: OBJECT-ORIENTED DATA MODELING (OVERVIEW) Modern Database Management 11 th Edition Jeffrey A. Hoffer, V. Ramesh, Heikki Topi © 2013 Pearson.
Unit 1 Object-Oriented Design Concepts. Key Concepts Development methodologies Classes and objects Attributes and methods Inheritance and polymorphism.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Appendix 3 Object-Oriented Analysis and Design
Object-Oriented Modeling
Business System Development
The Movement To Objects
Object Oriented Analysis and Design
Lec 3: Object-Oriented Data Modeling
Chapter 20 Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Understand and Use Object Oriented Methods
Systems Analysis – ITEC 3155 Modeling System Requirements – Part 2
Chapter 22 Object-Oriented Systems Analysis and Design and UML
Appendix A Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Presentation transcript:

2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation (Adapted) Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer

Chapter © Prentice Hall, 2004 Outline OO Terminology: -- Object, Encapsulation. – Class, Attribute, and Methods (processes, operations). – Generalization, Inheritance, Polymorphism. – Association. – Modeling and the Unified Modeling Language (UML).

Chapter © Prentice Hall, 2004 Object A business entity (person, agency in environment, thing, concept) important for business). An entity that encapsulates data and behavior - Objects are categorized into classes - Each individual object is an instance of a class

Chapter © Prentice Hall, 2004 Encapsulation The characteristic of object-orientation in which data and behavior are bundled into a class and hidden from the outside world Access to the data and behavior is provided and controlled through an object’s interface

Chapter © Prentice Hall, 2004 Objects & Classes Class: A category of objects that share attributes, operations, relationships, and semantics Object: An instance of a class Name Attributes Operations Object – An instance of class with specified Values of Attributes (specific data) /10/ /10/2003 Class

Chapter © Prentice Hall, 2004 Attributes Attribute - a named property of a class that describes a range of values that instances of the attribute might hold Attributes are the way classes encapsulate data

Chapter © Prentice Hall, 2004 Operation/Method A behavior of an object; what it can do We use operation and method interchangeably Methods are identified and invoked by their signatures, including name, parameters, and return type

Chapter © Prentice Hall, 2004 Signature identifies and invokes the behavior Method implements the behavior

Chapter © Prentice Hall, 2004 Minus sign indicates private domain. Plus sign indicates public domain (accessible). Inaccessible to other objects Only object’s methods can access that object’s data

Chapter © Prentice Hall, 2004 Inheritance: The technique by which the more specific class in a generalization relationship includes the attributes and methods of the more general class Generalization: The relationship between a more general (or parent) class and a more specific (or child) class The more specific class can have additional attributes and operations (methods) Inheritance & Generalization

Chapter © Prentice Hall, 2004 Subclasses inherit attributes & operations of the superclass, plus have some of their own. Generalization represented by arrows from subclasses to superclass. Class “generalizes” attributes & methods of subclasses.

Chapter © Prentice Hall, 2004 Association A relationship between objects or between classes (special associations). Types: (1) Special associations between classes: – Generalization (previous slide) – Part-Whole associations: Aggregation: part-whole relationships where the part can exist independently of the whole (e.g., Bill—Item) Composition: part-whole relationships where the part and the whole are fully dependent on each other (e.g., Building—Room)

Chapter © Prentice Hall, 2004 This is a binary association, showing roles (“places”) and multiplicities (one-to-many objects participating in association) Types of Associations: (2) Between objects places >

Chapter © Prentice Hall, 2004 Each type of vehicle has its own version of calcPrice() Message: Calculate pricePolymorphism The ability of different classes to respond to same messages in different ways. (Polymorphism = “many forms”.)

Chapter © Prentice Hall, 2004 Component A replaceable part of a system providing a clearly defined function through a set of interfaces Group of classes working together toward a common end -- a subsystem

Chapter © Prentice Hall, 2004 Interface The point of connection between different system parts (e.g., components). Technique by which users of a component invoke its behaviors and manipulate its properties The interface is implemented by method signatures

Chapter © Prentice Hall, 2004 Interfaces are represented as small rectangles

Chapter © Prentice Hall, 2004 Package Group of classes sharing similar characteristics or purposes (e.g., Sales package, Accounting package)

Chapter © Prentice Hall, 2004 Unified Modeling Language™ (UML) UML is a standard notation for representing object-oriented systems. Used with Rational Unified Process ™ various symbol used in various diagrams representing classes, objects, system behavior See pervious slides – all are in UML