The Semantic Object Model Semantic Objects Creating Data Models with Semantic Objects Types of Objects Object-Oriented Programming and Semantic Objects.

Slides:



Advertisements
Similar presentations
the Entity-Relationship (ER) Model
Advertisements

Entity-Relationship (ER) Modeling
Chapter 31 Chapter 3 Data Modeling Using the Entity-Relationship Model.
Chapter 4 Entity Relationship (E-R) Modeling
Solutions to Review Questions. 4.1 Define object, class and instance. The UML Glossary gives these definitions: Object: an instance of a class. Class:
1 © Prentice Hall, 2002 Chapter 3: Modeling Data in the Organization Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 3 The Entity- Relationship Model.
System Analysis - Data Modeling
Object-Oriented Databases
Chapter 4 ENTITY-RELATIONSHIP MODELLING.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Chapter 2: Entity-Relationship Model Entity Sets Relationship Sets Design Issues Mapping.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
Fundamentals, Design, and Implementation, 9/e Chapter 16 Object-Oriented Database Processing.
CHAPTER 2: MODELING DATA IN THE ORGANIZATION © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey.
Chapter 4 Entity Relationship (ER) Modeling
Entity-Relationship Model
Chapter 4 Entity-Relationship modeling Transparencies © Pearson Education Limited 1995, 2005.
Compe 301 ER - Model. Today DBMS Overview Data Modeling Going from conceptual requirements of a application to a concrete data model E/R Model.
Data Modeling Using the Entity-Relationship Model
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 Entity Relationship Diagrams (ERDs)
1 © Prentice Hall, 2002 Chapter 3: Modeling Data in the Organization Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred.
1 Web-Enabled Decision Support Systems Entity-Relationship Modeling Prof. Name Position (123) University Name.
3.1 CSIS 3310 Chapter 3 The Entity-Relationship Model Conceptual Data Modeling.
1. 2 Data Modeling 3 Process of creating a logical representation of the structure of the database The most important task in database development E-R.
Dr. Mohamed Osman Hegaz1 Conceptual data base design: The conceptual models: The Entity Relationship Model.
Object Orientation An Object oriented approach views systems and programs as a collection of interacting objects. An object is a thing in a computer system.
11 1 Object oriented DB (not in book) Database Systems: Design, Implementation, & Management, 6 th Edition, Rob & Coronel Learning objectives: What.
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Module Title? Data Base Design 30/6/2007 Entity Relationship Diagrams (ERDs)
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Object Orientation and Its Benefits
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Chapter 2: Entity-Relationship Model Entity Sets Relationship Sets Design Issues Mapping.
CS370 Spring 2007 CS 370 Database Systems Lecture 4 Introduction to Database Design.
Entity-Relationship Modeling Based on Chapter 12.
Object-Oriented Database Processing
7-1 © Prentice Hall, 2004 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
University of Toronto Department of Computer Science © Steve Easterbrook. This presentation is available free for non-commercial use with attribution.
Pratt & Adamski chapter 9 & Some extra material The Object-Oriented approach Object-Oriented DBMSs Semantic Object Models Spring 2012.
Chapter 4 Entity Relationship (ER) Modeling.  ER model forms the basis of an ER diagram  ERD represents conceptual database as viewed by end user 
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
The Entity-Relationship Model
Chapter 7 Data Modeling with Entity Relationship Diagrams
CS 405G: Introduction to Database Systems Lecture 2 : Database Design I.
1 A Demo of Logical Database Design. 2 Aim of the demo To develop an understanding of the logical view of data and the importance of the relational model.
Component 4/Unit 6b Topic II Relational Databases Keys and relationships Data modeling Database acquisition Database Management System (DBMS) Database.
ITEC 3220A Using and Designing Database Systems Instructor: Prof Z. Yang Course Website: 3220a.htm
ITEC 3220A Using and Designing Database Systems Instructor: Gordon Turpin Course Website: Office: CSEB3020.
Chapter 4 The Semantic Object Model David M. Kroenke Database Processing © 2000 Prentice Hall.
DatabaseIM ISU1 Fundamentals of Database Systems Chapter 3 Data Modeling Using Entity-Relationship Model.
Data Modeling Using the Entity-Relationship (ER) Data Model.
The Entity-Relationship Model, P. I R. Nakatsu. Data Modeling A data model is the relatively simple representation, usually graphic, of the structure.
Chapter 3: Modeling Data in the Organization. Business Rules Statements that define or constrain some aspect of the business Assert business structure.
Fundamentals, Design, and Implementation, 9/e Appendix B The Semantic Object Model.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Chapter Five: Data Modeling with the Entity-Relationship.
Question 1 Which of the following requires object database technology? A. Storing employee picture on disk B. Retrieving an employee picture C. Retrieving.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix H: The Semantic Object Model.
Databases Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
©Silberschatz, Korth and Sudarshan 1.1 Database System Concepts قواعد البيانات Data Base قواعد البيانات CCS 402 Mr. Nedal hayajneh E- mail
Entity-Relationship Model
Semantic Object Modeling (SOM)
Entity-Relationship Model
Entity-Relationship Model
Database Design with Semantic Object Models
Object Oriented Concepts
Software : TableDesigner
Semantic Objects.
Object Oriented Programming
Presentation transcript:

The Semantic Object Model Semantic Objects Creating Data Models with Semantic Objects Types of Objects Object-Oriented Programming and Semantic Objects Comparing the Semantic Object and the E-R Model

Semantic Objects A semantic object is a named collection of attributes that sufficiently describes a distinct identity. (Fig. 4-2 pg. 81) Object attributes can be: çSimple attributes with a single value e.g. InvoiceNumber çGroup attributes being composites of other attributes e.g. Address{Street, City, State, Zip}

çSemantic object attributes that establish a relationship between one semantic object and another. çPaired attributes always exist in pairs. Maximum and minimum cardinality of attributes Object instances Object identifier Attribute domains Semantic object view

Creating Data Models with Semantic Objects An Example: The Highline University Administration Database (Fig pg. 93) Object specifications (Fig pg. 94,95)

Types of Objects Simple objects only contain single-valued, nonobject attributes e.g. EQUIPMENT pg. 96 Composite objects contain one or more multivalued, nonobject attributes e.g. HOTEL-BILL pg. 97 Compound objects contain at least one object attribute e.g. EMPLOYEE pg. 100

Hybrid objects contain at least one multivalued group attribute (composite) that includes a semantic object attribute (compound) e.g. DORMITORY pg. 104 Fig pg. 106, 107 Association objects relate two or more objects and store data that is peculiar to that specific to that relationship e.g. FLIGHT pg. 109 Parent/Subtype objects and inheritance e.g. EMPLOYEE and MANAGER, PROGRAMMER pg. 112

Object-Oriented Programming and Semantic Objects Object-oriented programming (OOP) is a way of designing and coding programs. An OOP object is an encapsulated (complete) structure having both attributes and methods. Methods are programs that OOP objects use to process themselves e.g. a method to display itself, one to create itself, etc.

Polymorphism means that several versions of a method exist and the compiler determines which one is appropriate each time the method is called. Object-Oriented DBMS and object persistence, i.e., the structure of the object is written out to some permanent storage like the disk.

Comparing the Semantic Object and the E-R Model Both are tools for modeling the database. Difference in orientation: entities Vs. semantic objects. Semantic objects contain more metadata than entities. Is it just a matter of preference? (Fig ,34, pg. 118)