Object oriented modeling differs in several ways from data and process modeling. What are two ways that these processes differ? What are two advantages and two disadvantages of object oriented modeling?
Expert Answer
Object modeling refers to creating the whole system as a system of classes, their class diagrams, relations between them, their methods and properties and so on. It also supports very complex things like inheritancem, polymorphism etc.
Data model deals with entities at the database level. Data models deals with schema, relations, tables, contraints like Primary key, foriegn key.
Process modeling focusses on the processes/fuctions/methods that constitute the working part of the model.
Advantages of Object Oriented Modeling: Objects encapsulate data thereby making certain data secure as it can be made private by the programmers. It enables reusability of code thereby reducing development time.
Disadvantages of Object Oriented Modeling: Sometimes it is not very efficient to use object oriented modeling. If we have a lot of things that all have different properties then object modeling might not be good. Object orieted modeling when converted to code usually has a lot of lines as compared to data and process modeling