P. 1
Overview of Object Oriented Concepts in Database

Overview of Object Oriented Concepts in Database

|Views: 31|Likes:
Published by 9890189067

More info:

Published by: 9890189067 on Aug 10, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

10/25/2012

pdf

text

original

1

What is an OOP Languages ?
Languages that uses "objects" ± data structures consisting of data fields and methods together with their interactions ± to design applications and computer programs.

An OOP consist of the following features :Data Abstraction (representing the essential features ) Encapsulation (restricting access to object components ) Polymorphism (more than one type ) Inheritance (Inherit data) Object
2

OOP Languages cont.. 

Example: Simula,Hybrid oop lang.c++,Java etc..

3

Object-oriented database
³ a database model (database schema is the structure or format) in which information is represented in the form of objects as used in object-oriented programming.´

4

Object-oriented database cont..
Main Goal of OO databse is:Try to maintain a direct correspondence between real-world and database objects so that objects do not lose their integrity and identity and can easily be identified and operated upon

5

Object-oriented database cont.. 

Need of creation of Object Oriented Databases:Need for more complex applications Increased use of object-oriented programming languages

6

Object-oriented database cont.. 

What is An Object. An object can be considered a thing that can perform set of activities. This activities perform by object are define in the term of Behavior Object has two components: 

State (value) Behavior (Operations)

7

Object-oriented database cont.. 

Object:The object found in the OODB is Persistence Object .Which is stored on the secondary storage and allow the sharing of these objects among multiple programs and can be retrieved later and shared by other programs. To maintain a direct corresponds between real world object and db objects so the object do not lose their integrity and identity for this OO db provide A unique system generated object identifier(OID) for each object
8

Object-oriented database cont.. 

Object :

Methods:
It is the code associated with each message called Methods.

9

Object-oriented database cont.. 

Feature:Object Structure:In OO databases, objects may have an object structure in order to contain all of the necessary information that describes the object.

10

Object-oriented database cont..
Encapsulation:Some OO models insist that all operations a user can apply to an object must be predefined. This forces a complete encapsulation of objects An operation is defined in two parts:--- interface of the operation, specifies the operation name and arguments (or parameters). ---method or body, specifies the implementation of the operation. Operations can be invoked by passing a message to an object, which includes the operation name and the parameters. The object then executes the method for that operation

11

Object-oriented database cont..
Polymorphism:It allows one to define operation for one object and then to share the specification of the operation with other objects. Operator overloading

12

13

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->