Object oriented database model
-
Upload
paquiaaizel -
Category
Technology
-
view
5.025 -
download
2
Transcript of Object oriented database model
![Page 1: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/1.jpg)
OBJECT-ORIENTED DATABASE MODEL
![Page 2: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/2.jpg)
history
The first of this model was the semantic data model (SDM) developed by M. Hammer and D. Mcleon and published in 1981 in their database description with SDM : A Semantic Database Model
![Page 3: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/3.jpg)
Since SDM is an object- oriented data model (OODM). In turn the OODM becomes the basis for the object oriented database model with the manage of through an object oriented database management system (OODBMS)
![Page 4: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/4.jpg)
OBJECT-ORIENTED DATABASE MODEL
![Page 5: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/5.jpg)
In the object oriented data model the (OODM). Both data and their relationship are contained in a single structure known us an object.
![Page 6: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/6.jpg)
An object includes information about relationship between the facts within the object, as well as information about its relationship with other objects.
![Page 7: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/7.jpg)
It is said to be ‘’SEMANTIC DATA MODEL’’
![Page 8: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/8.jpg)
The OO Data model components
An object is the abstraction of the real- word entity. An object represents only one occurrence of entity.
![Page 9: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/9.jpg)
Attributes describe the property of an object.
![Page 10: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/10.jpg)
example
PERSON
SOCIAL NUMBER
NAME
DATE OF BIRTH
![Page 11: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/11.jpg)
Objects that are similar in characteristics are grouped in class.
![Page 12: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/12.jpg)
Class: is a collection of similar objects with shared structure ( attributes) and behavior (method)
Method: represents areal word action such as finding a selected person’s name, changing person’s name or printing a persons address.
![Page 13: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/13.jpg)
Classes are organized in class hierarchy. The class hierarchy resembles an up side down tree in which each class has only one parent.
![Page 14: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/14.jpg)
PERSON
COTUMER
EMPLOYEE
PARENT
![Page 15: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/15.jpg)
Inheritance is the ability of an object within the class hierarchy to inherit the attributes and methods of the class above it.
![Page 16: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/16.jpg)
![Page 17: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/17.jpg)
Unified modeling language : describes a set of diagrams and symbols that can be used to graphically model a system.
![Page 18: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/18.jpg)
UML class diagram: are used to represent data and their relationships within the larger UML object oriented system modeling language,
![Page 19: Object oriented database model](https://reader036.fdocuments.in/reader036/viewer/2022082921/555e0d9fd8b42a9e188b4d5a/html5/thumbnails/19.jpg)
The object representation of the invoice includes all related objects within the same box. The connectivity is (1 and many)indicate the relationship of the related objects to the invoice.
INV__DATEINV__NUMBERINV__SHP__DATEINV__TOTAL
1
M
INVOICE
COTUMER
LINE