When laying down associations, why is the triangle of a generalization at the receiving end while the diamond of an aggregation is at the source end?
The diamond of an aggregation should be viewed as the base or origin (not the ‘head’) of the relationship. Conversely, the open arrow of the generalization does indicate the head of the relationship. Further, the owning class of the aggregation knows about its aggregates and therefore it follows that this is the origin of the relationship. With the generalization, it is the subclass that knows about the superclass. The superclass should know nothing about the subclass. Here it follows that the origin of the relationship should emanate from the subclass. This is consistent with most other CASE tools on the market.
Related Questions
- When laying down associations, why is the triangle of a generalization at the receiving end while the diamond of an aggregation is at the source end?
- What happens if the entire personal carbon source is not used to create the diamond?
- What happens if the entire personal carbon source is not used to create the diamond?
- How do I rack a diamond for 9-ball using a standard 8-ball triangle?
- How do I rack a diamond for 9-ball using a standard 8-ball triangle?
- What is Diamond Light Source and what does it do?