Closed kevinchua6 closed 3 years ago
Referencing the above diagram, if the Model interface has a dependency to the Urgency Enumeration, shouldn't ModelManager also have a dependency to Urgency because ModelManager implements Model?
Not necessarily, the Urgency
might not appear in any of the method signatures of Model
(e.g., it could be a constant defined in Model
). Plus, we only show what we think is important to the purpose of the diagram. It doesn't have to show every dependency.
Ah I see! Thanks Prof @damithc!
Referencing the above diagram, if the Model interface has a dependency to the Urgency Enumeration, shouldn't ModelManager also have a dependency to Urgency because ModelManager implements Model?