I'm pretty new at UML modelling so bear with me.
Say I have a class with an attribute students
that is a list of Student
instances. I have set an aggregation relation to the Student
class which is also in the diagram. Does this relation replace an attribute entry such as #students : Student[]
in the container class, or can the attribute and relation co-exist?
Thanks in advance for any answers!