The following is part of the class diagram in the DG for Model
A line with a solid diamond represents composition, in which the "part" class should not exist without being attached to the "whole" class.
However in FixMyAbs, Exercises can be created and exist without having a log that contains it. The association here is not a composition, so the black diamond inaccurately represents the relationship between Exercise and Log.
The following is part of the class diagram in the DG for
Model
A line with a solid diamond represents composition, in which the "part" class should not exist without being attached to the "whole" class.
However in FixMyAbs,
Exercise
s can be created and exist without having a log that contains it. The association here is not a composition, so the black diamond inaccurately represents the relationship betweenExercise
andLog
.