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 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 Large objects(LOBs) for Semi Structured and Unstructured Data Large objects (LOBs) are a type of data type used to store semi-structured and unstructured data in a database. LOBs are typically used for storing data that is too large to fit into a traditional data type, such as text documents, images, videos, and audio files. LOBs are particularly useful for st 5 min read Building blocks of a Data Model A data model is a structure of the data that contains all the required details of the data like the name of the data, size of the data, relationship with other data and constraints that are applied on the data. It is a communication tool. A data model is essential in order to store the database in a 2 min read Data Modeling Techniques For Data Warehouse Data modeling is the process of designing a visual representation of a system or database to establish how data will be stored, accessed, and managed. In the context of a data warehouse, data modeling involves defining how different data elements interact and how they are organized for efficient ret 5 min read Graph Based Data Model in NoSQL Graph Based Data Model in NoSQL is a type of Data Model which tries to focus on building the relationship between data elements. As the name suggests Graph-Based Data Model, each element here is stored as a node, and the association between these elements is often known as Links. Association is stor 3 min read Data Model In Neo4j The data model in Neo4j organizes data using the concepts of nodes and relationships. Both nodes and relationships can have properties, which store the data items associated with nodes and relationships. Nodes can have labels: A node can have zero, one, or several labels.The nodes that have the same 3 min read Like