Basic Object Oriented Data Model Last Updated : 10 Dec, 2021 Comments Improve Suggest changes Like Article Like Report Need of Object Oriented Data Model : To represent the complex real world problems there was a need for a data model that is closely related to real world. Object Oriented Data Model represents the real world problems easily. Object Oriented Data Model : In Object Oriented Data Model, data and their relationships are contained in a single structure which is referred as object in this data model. In this, real world problems are represented as objects with different attributes. All objects have multiple relationships between them. Basically, it is combination of Object Oriented programming and Relational Database Model as it is clear from the following figure : Object Oriented Data Model = Combination of Object Oriented Programming + Relational database model Components of Object Oriented Data Model : Basic Object Oriented Data Model Objects - An object is an abstraction of a real world entity or we can say it is an instance of class. Objects encapsulates data and code into a single unit which provide data abstraction by hiding the implementation details from the user. For example: Instances of student, doctor, engineer in above figure. Attribute - An attribute describes the properties of object. For example: Object is STUDENT and its attribute are Roll no, Branch, Setmarks() in the Student class. Methods - Method represents the behavior of an object. Basically, it represents the real-world action. For example: Finding a STUDENT marks in above figure as Setmarks(). Class - A class is a collection of similar objects with shared structure i.e. attributes and behavior i.e. methods. An object is an instance of class. For example: Person, Student, Doctor, Engineer in above figure. class student { char Name[20]; int roll_no; -- -- public: void search(); void update(); } In this example, students refers to class and S1, S2 are the objects of class which can be created in main function. Inheritance - By using inheritance, new class can inherit the attributes and methods of the old class i.e. base class. For example: as classes Student, Doctor and Engineer are inherited from the base class Person. Advantages of Object Oriented Data Model : Codes can be reused due to inheritance.Easily understandable.Cost of maintenance can reduced due to reusability of attributes and functions because of inheritance. Disadvantages of Object Oriented Data Model : It is not properly developed so not accepted by users easily. Comment More infoAdvertise with us Next Article Basic Object Oriented Data Model I itskawal2000 Follow Improve Article Tags : DBMS Similar Reads Record-Based Data Model Data Model is the model that organizes elements of the data and tell how they relate to one-another and with the properties of real-world entities. The basic purpose of the data model is to make sure that the data stored in the data model is understood fully. Further, it has three types- 1. Physical 2 min read Spatial Data Types and Models Spatial data is the data collected through with physical real life locations like towns, cities, islands etc. Spatial data are basically of three different types and are wisely used in commercial sectors : Map data : Map data includes different types of spatial features of objects in map, e.g - an o 2 min read Network Model in DBMS The Network Model in a Database Management System (DBMS) is a data model that allows the representation of many-to-many relationships in a more flexible and complex structure compared to the Hierarchical Model. It uses a graph structure consisting of nodes (entities) and edges (relationships) to org 6 min read Various rules of Object Oriented DBMS From the past few years, data management and application environment have been getting complex. These can be handled by the Object Oriented Database Management System (ODBMS). In this system, there are combined features of object-oriented and database management system. Figure - Object Oriented DBMS 4 min read Aggregate-Oriented Databases in NoSQL The aggregate-Oriented database is the NoSQL database which does not support ACID transactions and they sacrifice one of the ACID properties. Aggregate orientation operations are different compared to relational database operations. We can perform OLAP operations on the Aggregate-Oriented database. 3 min read Like