During my course on my job the topic UML associations was a short discussion. What is the difference between Composition, Aggregation and Assocation. In Dutch, read here for more details
Association: The object which have a relation with eachother are equal. For example a person drives a car.
Aggregation: One object is owner of the other object. For example a department and a person which is 'chief of the deparment'
Composition: One object is owner of the other object. But when the owner is deleted to other object is useless. For example a Room belongs to a house. When the house is destroyed the room doesnot exists anymore.
See for more details Wikipedia
Metaframeworks voor React, Angular en Vue
1 week ago
No comments:
Post a Comment