CH-6 (B) Object-Oriented Databases
CH-6 (B) Object-Oriented Databases
Object-Oriented Databases
Object-Oriented Databases
Need for Complex Data Types
Object-Oriented Languages
Applications:
computer-aided design, computer-aided software engineering
multimedia and image databases, and document/hypertext
databases.
Object-Oriented Data Model
Loosely speaking, an object corresponds to:
an entity in the E-R model.
The term message does not necessarily imply physical message passing.
Messages can be implemented as procedure invocations.
Messages and Methods
Methods are programs written in general-purpose language
with the following features:
only variables in the object itself may be referenced directly
data in other objects are referenced only by sending messages.
Methods can be read-only or update methods
Read-only methods do not change the value of the object