© 2011 Pearson Education 1 Chapter 13 (Online): Object-Oriented Databases Modern Database Management 10 th Edition, International Edition Jeffrey A. Hoffer,

Slides:



Advertisements
Similar presentations
Object-Oriented Analysis and Design: Activity Diagrams
Advertisements

Chapter 3: The Enhanced E-R Model
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 3: The Enhanced E-R Model Modern Database Management 10 th Edition Jeffrey A. Hoffer,
Object-Oriented Analysis and Design: Object Modeling – Class Diagrams
1 © Prentice Hall, 2002 Chapter 4: The Enhanced E-R Model and Business Rules Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
Chapter 3 © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 CHAPTER 4: THE ENHANCED E-R MODEL Modern Database Management 11 th Edition Jeffrey.
CHAPTER 3: THE ENHANCED E-R MODEL © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey A. Hoffer,
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
Chapter 4: Object-Oriented Data Modeling
Chapter 8 Structuring System Data Requirements
Chapter 2: Entity-Relationship Model (Continued)
Chapter 1 The Systems Development Environment Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Chapter 14: Object-Oriented Data Modeling
Chapter 3: The Enhanced E-R Model
Advanced Information Modeling and Database Systems
Chapter 14: Object-Oriented Data Modeling
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 2: Modeling Data in the Organization Modern Database Management 10 th Edition Jeffrey.
Chapter 13 (Online): Object-Oriented Databases
Chapter 1 The Systems Development Environment Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 3: The Enhanced E-R Model Modern Database Management 10 th Edition Jeffrey A. Hoffer,
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 8 Slide 1 Chapter 9 Structuring System Data Requirements.
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 3 Appendix Object-Oriented Analysis and Design: Project Management Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George.
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 4 - Domain Classes.
Object-Oriented Software Development F Software Development Process F Analyze Relationships Among Objects F Class Development F Class Design Guidelines.
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.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 14 Using Relational Databases to Provide Object Persistence (Overview) Modern Database.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 15: Object-Oriented Data Modeling Modern Database Management 9 h Edition Jeffrey A.
Databases : Data Modeling 2007, Fall Pusan National University Ki-Joune Li.
Domain Modeling Part2: Domain Class Diagram Chapter 4 pp part 2 1.
© 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.
Unified Modeling Language © 2002 by Dietrich and Urban1 ADVANCED DATABASE CONCEPTS Unified Modeling Language Susan D. Urban and Suzanne W. Dietrich Department.
UML Class Diagram Trisha Cummings. What we will be covering What is a Class Diagram? Essential Elements of a UML Class Diagram UML Packages Logical Distribution.
Lecture 8 Object-Oriented Analysis and Design 20.1 COSC4406: Software Engineering.
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
Chapter 3: The Enhanced E-R Model
Chapter 7 Appendix C Object-Oriented Analysis and Design: Sequence Diagrams Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F.
Object-Oriented Data Modeling
Chapter 3: The Enhanced E-R Model
CHAPTER 3: THE ENHANCED E-R MODEL © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey A. Hoffer,
© 2011 Pearson Education 1 Chapter 3: Advanced Database Analysis Modern Database Management 10 th Edition, International Edition Jeffrey A. Hoffer, V.
CHAPTER 3: THE ENHANCED E-R MODEL © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey A. Hoffer,
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 4: The Enhanced E-R Model and Business Rules Modern Database Management 9 th Edition.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 5 (Part a): Logical Database Design and the Relational Model Modern Database Management.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 4: The Enhanced E-R Model Modern Database Management 9 th Edition Jeffrey A. Hoffer,
GO! with Office 2013 Volume 1 By: Shelley Gaskin, Alicia Vargas, and Carolyn McLellan Excel Chapter 3 Analyzing Data with Pie Charts, Line Charts, and.
Extended ER Modelling. Extended E-R Features: Specialization Top-down design process; we designate subgroupings within an entity set that are distinctive.
CHAPTER 13: OBJECT-ORIENTED DATA MODELING (OVERVIEW) Modern Database Management 11 th Edition Jeffrey A. Hoffer, V. Ramesh, Heikki Topi © 2013 Pearson.
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 3: THE ENHANCED.
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 2: MODELING DATA.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 3: Modeling Data in the Organization Modern Database Management 9 th Edition Jeffrey.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix C: E-R Diagrams and The IDEF1X Standard.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 4- 1.
David M. Kroenke and David J. Auer Database Processing: Fundamentals, Design, and Implementation Chapter Ten: Managing Databases with SQL Server 2012,
Object-Oriented Modeling
Advanced Database Analysis
Chapter 4: The Enhanced E-R Model and Business Rules
Chapter 4: Logical Database Design and the Relational Model
Database Management System 1 (ITED123A)
Domain Class Diagram Chapter 4 Part 2 pp
Lec 3: Object-Oriented Data Modeling
Chapter 3: The Enhanced E-R Model
Chapter 20 Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Presentation transcript:

© 2011 Pearson Education 1 Chapter 13 (Online): Object-Oriented Databases Modern Database Management 10 th Edition, International Edition Jeffrey A. Hoffer, V. Ramesh, Heikki Topi

Chapter 13-Web © 2011 Pearson Education 2 Generalization/Specialization Subclass, superclass Subclass, superclass similar to subtype/supertype in EER similar to subtype/supertype in EER Common attributes, relationships, and operations Common attributes, relationships, and operations Disjoint vs. Overlapping Disjoint vs. Overlapping Complete (total specialization) vs. incomplete (partial specialization) Complete (total specialization) vs. incomplete (partial specialization) Abstract Class: no direct instances possible, but subclasses may have direct instances Abstract Class: no direct instances possible, but subclasses may have direct instances Concrete Class: direct instances possible Concrete Class: direct instances possible

Chapter 13-Web © 2011 Pearson Education 3 Figure 13-9 Examples of generalization, inheritance, and constraints a) Employee superclass with three subclasses Shared attributes and operations An employee can only be one of these subclasses An employee may be none of them Specialized attributes and operations

Chapter 13-Web © 2011 Pearson Education 4 Figure 13-9 Examples of generalization, inheritance, and constraints (cont.) b) Abstract Patient class with two concrete subclasses Abstract indicated by italics A patient MUST be EXACTLY one of the subtypes Dynamic means a patient can change from one subclass to another over time

Chapter 13-Web © 2011 Pearson Education 5 Class-Scope Attribute Specifies a value common to an entire class, rather than a specific value for an instance Specifies a value common to an entire class, rather than a specific value for an instance Represented by underlining Represented by underlining “=“ is initial, default value “=“ is initial, default value

Chapter 13-Web © 2011 Pearson Education 6 Polymorphism Abstract Operation: Defines the form or protocol of the operation, but not its implementation Abstract Operation: Defines the form or protocol of the operation, but not its implementation Method: The implementation of an operation Method: The implementation of an operation Polymorphism: The same operation may apply to two or more different classes in different ways Polymorphism: The same operation may apply to two or more different classes in different ways

Chapter 13-Web © 2011 Pearson Education 7 Figure Polymorphism, abstract operation, class- scope attribute, and ordering Class-scope attributes– only one value common to all instances of these classes (includes default values) This operation is abstract…it has no method at Student level Methods are defined at subclass level

Chapter 13-Web © 2011 Pearson Education 8 Overriding Inheritance Overriding: The process of replacing a method inherited from a superclass by a more specific implementation of that method in a subclass Overriding: The process of replacing a method inherited from a superclass by a more specific implementation of that method in a subclass For Extension: add code For Extension: add code For Restriction: limit the method For Restriction: limit the method For Optimization: improve code by exploiting restrictions imposed by the subclass For Optimization: improve code by exploiting restrictions imposed by the subclass

Chapter 13-Web © 2011 Pearson Education 9 Figure Overriding inheritance Restrict job placement Subclasses that do not override placeStudent use the default behavior

Chapter 13-Web © 2011 Pearson Education 10 Multiple Inheritance Multiple Classification: An object is an instance of more than one class Multiple Classification: An object is an instance of more than one class Multiple Inheritance: A class inherits features from more than one superclass Multiple Inheritance: A class inherits features from more than one superclass

Chapter 13-Web © 2011 Pearson Education 11 Figure Multiple inheritance

Chapter 13-Web © 2011 Pearson Education 12 Aggregation Aggregation: A part-of relationship between a component object and an aggregate object Aggregation: A part-of relationship between a component object and an aggregate object Composition: A stronger form of aggregation in which a part object belongs to only one whole object and exists only as part of the whole object Composition: A stronger form of aggregation in which a part object belongs to only one whole object and exists only as part of the whole object Recursive Aggregation: Composition where component object is an instance of the same class as the aggregate object Recursive Aggregation: Composition where component object is an instance of the same class as the aggregate object

Chapter 13-Web © 2011 Pearson Education 13 Figure Example of aggregation A Personal Computer includes CPU, Hard Disk, Monitor, and Keyboard as parts. But, these parts can exist without being installed into a computer. The open diamond indicates aggregation, but not composition.

Chapter 13-Web © 2011 Pearson Education 14 Figure Aggregation and Composition (a) Class diagram (b) Object diagram Closed diamond indicates composition. The room cannot exist without the building.

Chapter 13-Web © 2011 Pearson Education 15 Figure Recursive aggregation

Chapter 13-Web © 2011 Pearson Education 16 Business Rules See Chapters 2 and 3 See Chapters 2 and 3 Implicit and explicit constraints on objects – for example: Implicit and explicit constraints on objects – for example: cardinality constraints on association roles cardinality constraints on association roles ordering constraints on association roles ordering constraints on association roles Business rules involving two graphical symbols: Business rules involving two graphical symbols: labeled dashed arrow from one to the other labeled dashed arrow from one to the other Business rules involving three or more graphical symbols: Business rules involving three or more graphical symbols: note with dashed lines to each symbol note with dashed lines to each symbol

Chapter 13-Web © 2011 Pearson Education 17 Figure Representing business rules Three- symbol constraint Two- symbol constraint

Chapter 13-Web © 2011 Pearson Education 18 Figure Class diagram for Pine Valley Furniture Company

Chapter 13-Web © 2011 Pearson Education 19 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America.