Aggregation (EN)
ConceptLoose relationship between classes where the dependent element can exist independently
Architecture
classDiagram class Ganzes { +attribut1 +methode1() } class Teil { +attribut2 +methode2() } Ganzes "1" *-- "0..*" Teil : enthält In Context
- Typically used together with composition, association, and generalization
- Related to: Composition, Association, Dependency
- Example use: A car (whole) has wheels (parts) that can exist without the car