Part 1 of 7 · 1 min read
Why this page comes last in Level 1
In this module you will
- Name the main links between classes and tell them apart by intent.
- Read the difference between a class's code structure and its run-time structure.
- Decide whether a link is ownership or only knowing.
- Show each link in a text diagram and in Java.
- Count multiplicity and choose which side holds the reference.
Level 0 used these links in diagrams with a short table. This page gives them their full meaning. The main source is "Design Patterns" (GoF), chapter 1, on object aggregation and acquaintance, with the other terms taken from common modelling practice. Code was compiled and run before it was written here. Numbers marked "made up" only show the idea.