OpenEnergyPlatform / academy

The Open Energy Academy is a collection of courses, tutorials, and questions for the Open Energy Family
https://openenergyplatform.github.io/academy/
GNU Affero General Public License v3.0
16 stars 6 forks source link

Correct semantics of compositions #41

Closed MGlauer closed 4 years ago

MGlauer commented 5 years ago

Composition does not entail a non-empty child list. It does entail a part-of relation between parent and child, i.e. if the parent is destroyed, so are all children and an object of the child class can not exist without a parent. See UML specification Section 9.5.3

MGlauer commented 5 years ago

ping