11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.

Slides:



Advertisements
Similar presentations
Database Systems: Design, Implementation, and Management Tenth Edition
Advertisements

Chapter 2 Data Models.
Database Systems: Design, Implementation, and Management Ninth Edition
Introduction to Databases
Object-Oriented Analysis and Design: Object Modeling – Class Diagrams
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 COS 346 Day 6.
Object-Oriented Databases v OO systems associated with – graphical user interface (GUI) – powerful modeling techniques – advanced data management capabilities.
Chapter Object-Oriented Practices. Agenda Object-Oriented Concepts Terminology Object-Oriented Modeling Tips Object-Oriented Data Models and DBMSs.
Chapter 1 File Systems and Databases
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Object Oriented System Development with VB .NET
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
File Systems and Databases
Chapter 14 (Web): Object-Oriented Data Modeling
Geographic Information Systems
Object-Oriented Databases
Chapter Five Data Modeling with the Entity-Relationship Model.
File Systems and Databases Hachim Haddouti
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 COS 346 Day 6.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke’s Chapter Five: Data Modeling with the Entity-Relationship.
Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 1 Data Models: Degrees of Data Abstraction l Modified ANSI/SPARC Framework.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 2 Data Models Database Systems, 8th Edition 1.
Chapter 4 Entity Relationship (E-R) Modeling
Chapter 14: Object-Oriented Data Modeling
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke’s Chapter Five: Data Modeling with the Entity-Relationship.
2 1 Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
DBMS Lecture 9  Object Database Management Group –12 Rules for an OODBMS –Components of the ODMG standard  OODBMS Object Model Schema  OO Data Model.
11 1 Object oriented DB (not in book) Database Systems: Design, Implementation, & Management, 6 th Edition, Rob & Coronel Learning objectives: What.
CONCEPTS OF OBJECT ORIENTED PROGRAMMING. Topics To Be Discussed………………………. Objects Classes Data Abstraction and Encapsulation Inheritance Polymorphism.
2 1 Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Design - Lecture 2
Database Systems: Design, Implementation, and Management Ninth Edition
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
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
Object Orientation and Its Benefits
7 Object Oriented Database and UML MIS 304 Winter 2006.
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
11 1 Chapter 11 Object Oriented Databases Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Chapter # 2 Data Models BIS Database Systems A.Thanop Somprasong
Chapter 2 Database Environment. Agenda Three-Level ANSI-SPARC Architecture Database Languages Data Models Functions of DBMS Components of DBMS Data Dictionary.
1 Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
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.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, modified by Dr. Lyn Mathis 5-1 David M. Kroenke’s, 10 th ed. Chapter.
© 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.
ITEC 3220A Using and Designing Database Systems Instructor: Prof Z. Yang Course Website: 3220a.htm
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
ITEC 3220A Using and Designing Database Systems Instructor: Gordon Turpin Course Website: Office: CSEB3020.
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
Database Design – Lecture 12 Object Oriented Database Design cont’d.
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.
The Object-Oriented Database System Manifesto Malcolm Atkinson, François Bancilhon, David deWitt, Klaus Dittrich, David Maier, Stanley Zdonik DOOD'89,
2 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Data Models Why data models are important About the basic data-modeling.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
1 © 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the.
1 © 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the.
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their.
Object-Oriented Database Management System (ODBMS)
File Systems and Databases
Lec 3: Object-Oriented Data Modeling
Chapter 4 Entity Relationship (ER) Modeling
ITEC 3220A Using and Designing Database Systems
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Processing: David M. Kroenke’s Chapter Five:
Chapter 20 Object-Oriented Concepts and Principles
Presentation transcript:

11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel

11 Object Schemas: The Graphical Representation of Objects Figure Shared Representation For All Objects Of the Class Person

11 State Of A Person Object Instance Figure 11.15

11 Defining Three Abstract Data Types Figure 11.16

11 Object Representation For Instances Of The Class Person With ADTs Figure 11.17

11 4The object space or object schema is the equivalent of a database schema or a relational schema at a given time. Object Schemas: The Graphical Representation of Objects Figure 11.18

11 Figure Referential Sharing Of Objects

11 4Class-Subclass Relationships Object Schemas: The Graphical Representation of Objects Figure Class Hierarchy

11 Employee Object Representation Figure 11.21

11 4Interobject Relationships: Attribute-Class Link u A attribute-class or interobject relationship is created when an object’s attribute references another object of the same or different class. u Relationship Representation: l Representing 1:M Relationships l Representing M:N Relationships l Representing M:N Relationships with an Intersection Class Object Schemas: The Graphical Representation of Objects

11 Class Hierarchy For The EDLP Retail Corporation Figure 11.22

11 4Representing 1:M Relationships u Related classes are enclosed in boxes to make relationships more noticeable. u The double line on the box’s right side indicates that the relationship is mandatory. u Connectivity is indicated by labeling each box. Object Schemas: The Graphical Representation of Objects

11 Representing The 1:M Relationship Figure 11.23

11 Representing The 1:1 And 1:M Relationships Figure 11.24

11 Employee-Dependent Relationship Figure 11.25

11 4Representing M:N Relationships Object Schemas: The Graphical Representation of Objects Figure 11.26

11 4Representing M:N Relationships with an Intersection Class Object Schemas: The Graphical Representation of Objects Figure Representing the M:N Relationship With Associated Attributes

11 Representing The M:N Relationship With Intersection Class Figure 11.28

11 Figure Object Space Representation

11 4Late and Early Binding: Use and Importance u With late binding the data type of an attribute is not known until execution time or run-time. u Late binding allows two different object instances of the same class to contain values of different data types for the same attribute. u Early binding allows the database to check the data type for each of the attribute’s values at compilation or definition time. Object Schemas: The Graphical Representation of Objects

11 Inventory Table With Predetermined (Base) Data Types Figure 11.30

11 Inventory Class With Early Binding Figure 11.31

11 OODM Inventory Class With Late Binding Figure 11.32

11 4Support for Versioning u Versioning is an OODM feature that allows us to track the history of change in the state of an object. u It is a very powerful modeling feature, especially in a CAD environment. Object Schemas: The Graphical Representation of Objects

11 OODM and Previous Data Models 4Object, Entity, and Tuple u An OODM object has additional characteristics such as behavior, inheritance, and encapsulation. u Such characteristics make OO modeling much more natural than E-R and relational modeling.

11 An Invoice Representation Figure 11.33

11 OODM and Previous Data Models 4Class, Entity Set, and Table u Class is a more powerful concept that allows not only the description of the data structure but also the description of the behavior. u A class allows both the concept and the implementation of abstract data types. 4Encapsulation and Inheritance u An object belonging to a class inherits all the properties of its superclasses. u Encapsulation hides the data representation and the method’s implementation from other objects and the user.

11 OODM and Previous Data Models 4Object ID u Object ID is not supported in either the E-R model or the relational model. u The hierarchical and the CODASYL models support some form of ID. 4Relationships u Relationships in an OODM can be of two types: interclass references or class hierarchy inheritance. u E-R and relational models use a value-based relationship approach.

11 OODM and Previous Data Models 4Access u E-R and relational models use an ad hoc, set- oriented query language. u OODM is suited to support both navigational and set-oriented access.