If we consider a UML diagram where we have an object which contains a collection of objects of another class. What kind of relationship will be there,between both the classes.
Will it be aggregation or it will be Composition ?
The object having collection wont directly be having these objects, instead the collection will be holding them. but then in this case can we represent it as 1 is to Many, containment kind of relationship ?
I am very new to UML, I am sorry if It seems a total noob question.