Docsity

Object Oriented Data Base - Data Base Management System - Lecture Slides, Slides of Database Management Systems (DBMS)

Partial preview of the text

Download Object Oriented Data Base - Data Base Management System - Lecture Slides and more Slides Database Management Systems (DBMS) in PDF only on Docsity!

Object oriented DataBase

Object Database Systems

  • Not a new concept – research dates back to the mid-1970s
  • As the technology matured, a number of commercial ODBMSs appeared in the 80s and early 90s
  • To compete with RDBMSs, it became clear that a standard for ODBMSs, analogous to SQL, was needed

Object-Oriented and

Multimedia Databases

  • The object-oriented database (OODB)

contains both the text data of traditional

databases plus information about the set

of actions that can be taken on the data

fields.

  • Many OODBs are multimedia

databases that include graphics, audio

information and animation.

OOP – Object oriented Programming

  • OO concepts in Ada, Algol, LISP, SIMULA
  • OOPLs – Smalltalk, C++, Java
  • Provide for –
    • SW development environment
    • SW modeling tool
    • Reduce the amount of code
    • Reusable code

OOP Terminology

  • Object Identity (OID)
  • Attributes (Instance variables)
  • Object State
  • Messages and Methods
  • Encapsulated Structure
    • The ability to hide the object’s internal details

OOP Terminology

  • Object Class
    • the logical structure of an object (name, attributes, methods)
  • Object Class Library
    • a group of object classes
  • Object
    • an instance of an object class
  • Protocol –
    • collection of messages

OOP Terminology

  • Polymorphism
    • situation in which one name can be used to invoke different functions
  • Inheritance
    • automatically assuming the attributes and methods of another object at a higher class

OOP Example

PERSON NAME S ADDRESS S DOB S SEX S AGE I

Instance variables John Smith 123 Easy St 23-Nov- M 32

Object Instances

PERSON

Employee Student

SuperClass

Subclasses

Representing 1:M Relationships (Premiere Products Example)

Customer SS# Name Address Balance Cred_Lim

Sales_Rep 1

Sales_Rep Name Address Tot_Comm Com_Rate

Customer M