Chapter 2 Underpinnings of Requirements Analysis

Slides:



Advertisements
Similar presentations
ESE Einführung in Software Engineering 6. Modeling Objects and Classes Prof. O. Nierstrasz.
Advertisements

Stereotypes Stereotypes provide the capability to create a new kind of modeling element. –They can be used to classify or mark modeling elements. –A type.
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Chapter 14 (Web): Object-Oriented Data Modeling
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation (Adapted) Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra,
Chapter 14: Object-Oriented Data Modeling
UML Class Diagrams: Basic Concepts. Objects –The purpose of class modeling is to describe objects. –An object is a concept, abstraction or thing that.
The Unified Modeling Language (UML) Class Diagrams.
Chapter 14: Object-Oriented Data Modeling
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.
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,
Unit 1 INTRODUCTION TO MODELING AND CLASS MODEL Ref : L7-UML.PDF.
© 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.
OBJECT-ORIENTED PROGRAMMING (OOP) WITH C++ Instructor: Dr. Hany H. Ammar Dept. of Electrical and Computer Engineering, WVU.
Object-Oriented Data Modeling
Chapter 12 Object-oriented design for more than one class.
Class diagrams Terézia Mézešová.
Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A.
ITEC0724 Modern Related Technology on Mobile Devices Lecture Notes #2 1.
CHAPTER 13: OBJECT-ORIENTED DATA MODELING (OVERVIEW) Modern Database Management 11 th Edition Jeffrey A. Hoffer, V. Ramesh, Heikki Topi © 2013 Pearson.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
Java Programming Fifth Edition Chapter 9 Introduction to Inheritance.
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Object-Oriented Modeling
Business System Development
The Movement To Objects
OBJECT ORIENTED CONCEPT
Object-Oriented Modeling with UML
EKT472: Object Oriented Programming
The Object-Oriented Thought Process Chapter 1
TIM 58 Chapter 8: Class and Method Design
Object Oriented Concepts
Chapter 12 Outline Overview of Object Database Concepts
Inheritance B.Ramamurthy 11/7/2018 B.Ramamurthy.
UML Class Diagrams: Basic Concepts
Abstract Classes.
Chapter 17 Linked Lists.
Chapter 19 Binary Search Trees.
Chapter 4 Inheritance.
Domain Class Diagram Chapter 4 Part 2 pp
Lec 3: Object-Oriented Data Modeling
Software Engineering Lecture #11.
Advanced Java Topics Chapter 9
Software Engineering Lecture 10.
Chapter 20 Object-Oriented Analysis and Design
Object-Oriented Knowledge Representation
Appendix A Object-Oriented Analysis and Design
Object Oriented Programming
Java Programming, Second Edition
Support for Object-Oriented Programming
Chapter 5 Algorithm Analysis.
Inheritance.
Object Oriented System Design Class Diagrams
Appendix A Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Chapter 11 Class Inheritance
The Object Model Lecture OO02 Classes as Abstract Data Types
The Object Paradigm Classes – Templates for creating objects
Chapter 6 Dynamic Programming.
ADVANCED OBJECT-ORIENTED PROGRAMMING
Chapter 2 Reference Types.
Presentation transcript:

Chapter 2 Underpinnings of Requirements Analysis (c) Addison Wesley Chapter 2 MACIASZEK, L.A. (2001): Requirements Analysis and System Design. Developing Information Systems with UML, Addison Wesley Chapter 2 Underpinnings of Requirements Analysis Copyright © 2000 by Addison Wesley Version 1.0 MACIASZEK (2001): Req Analysis & Syst Design

Topics Fundamentals of Object Technology Instance object Class (c) Addison Wesley Topics Chapter 2 Fundamentals of Object Technology Instance object Class Association Aggregation and Composition Generalization Class Object (c) Addison Wesley Chapter 2 MACIASZEK (2001): Req Analysis & Syst Design

Fundamentals of OT Object has Objects and natural systems State (c) Addison Wesley Fundamentals of OT Chapter 2 Object has State Behavior Identity Objects and natural systems (c) Addison Wesley Chapter 2 MACIASZEK (2001): Req Analysis & Syst Design

Instance object Class Instance object Class object (c) Addison Wesley Chapter 2

How objects collaborate? (c) Addison Wesley Chapter 2

Class (c) Addison Wesley Chapter 2

Attribute (c) Addison Wesley Chapter 2

Attribute type designating a class (c) Addison Wesley Chapter 2

Attribute visibility (c) Addison Wesley Chapter 2

Operation (c) Addison Wesley Chapter 2

Association (c) Addison Wesley Chapter 2

Association degree Binary Unary (singular) Ternary (c) Addison Wesley Chapter 2

Association multiplicity 0..0 0..1 0..* 1..1 1..* * (c) Addison Wesley Chapter 2

Association link and extent Link – association instance Extent – set of association instances (c) Addison Wesley Chapter 2

Association class Parameterized type (c) Addison Wesley Chapter 2

Composition and aggregation Composition – aggregation by value Aggregation – aggregation by reference Properties: Transitivity Asymmetry Existence dependency (c) Addison Wesley Chapter 2

Generalization Inheritance Reuse (c) Addison Wesley Chapter 2

(operation name and the number and type of arguments) Polymorphism The same signature (operation name and the number and type of arguments) (c) Addison Wesley Chapter 2

Multiple inheritance (c) Addison Wesley Chapter 2

Multiple classification Multiple inheritance A class may have many superclasses, but a single class must be defined for each object Multiple classification An object is simultaneously the instance of two or more classes The problem arises if Person is specialized in few orthogonal hierarchies Person can be Employee or Student, Male or Female, Child or Adult, etc. Without multiple classification need to define classes for each legal combination between the orthogonal hierarchies ChildFemaleStudent etc. (c) Addison Wesley Chapter 2

Dynamic classification An object does not only belong to multiple classes but it can gain or lose classes over its lifetime A Person object can be just an employee one day and a manager (and employee) another day In most current object-oriented programming environments, an object cannot change its class after it has been instantiated (created) (c) Addison Wesley Chapter 2

Abstract class Parent class that will not have direct instance objects Abstract class cannot instantiate objects because it has at least one abstract operation (c) Addison Wesley Chapter 2

Class object Object with Class-scope attributes and/or Class-scope operations (c) Addison Wesley Chapter 2