Explain how our data can be related to one another can be solved by simply understanding the relationship, the hierarchy and using the proper object relationship model.

Explain how our data can be related to one another can be solved by simply understanding the relationship, the hierarchy and using the proper object relationship model.
May 4, 2020 Comments Off on Explain how our data can be related to one another can be solved by simply understanding the relationship, the hierarchy and using the proper object relationship model. Uncategorized Assignment-help
Words: 370
Pages: 2
Subject: Uncategorized

This is just a simple response to a discussion I only need like 100 words thanksIn order to understand the potential problems with navigating data when using relation and object models, first let’s identify and briefly define where the problem areas can occur: association, aggregation, inheritance, and composition. Association is nothing more than a structural relation and specify how objects relate to each other which can be shown using class or use case diagrams (What is Association, n.d.). Aggregation relationships have objects that can be a standalone entity even if the control class/object no longer exists (What is Association, n.d.). Composition relationships are like aggregate relationships except if the controlling no longer exists then any classes below it will not exist (What is Association, n.d.). Lastly, inheritance is similar to composition but has a tighter relationship between the classes (What is Association, n.d.).How our data can be related to one another can be solved by simply understanding the relationship, the hierarchy and using the proper object relationship model. To demonstrate the different associations, let’s say we have two classes: Person and Vehicle. We can relate these together using a direct association by saying a Person can own a vehicle or a vehicle belongs to a person. These two classes can be represented on the same level with a direct line between the two. For aggregation, there are classes of Wheel and Engine under vehicle. If the car is destroyed, it is possible the wheel and engine can be salvaged and reused in other vehicles. Therefore, they are standalone objects and are not directly linked to a specific class. This can be simplified down to a “whole/part” relation: a wheel is part of the whole car, or the whole car is made of parts including the wheel and engine. However, composition relations take the concept of aggregation relations and lock them in together. For example, you have a school campus system you have a Building class and a Room class. If the building is destroyed, there is no way the rooms inside the building are not destroyed. This can be simplified down to a “has-A” relationship i.e. a Building has a room.