Could someone please help me with this simple question? I'm new to UML and I'm studying Iterator Design Pattern.
What does the solid arrow from ConcreteIterator to ConcreteAggregate stands for?
Thanks
Could someone please help me with this simple question? I'm new to UML and I'm studying Iterator Design Pattern.
What does the solid arrow from ConcreteIterator to ConcreteAggregate stands for?
Thanks
The two arrows between ConcreteAggregate and ConcreateIteraor are not valid in a class diagram. The black solid arrow from ConcreateIteraor and ConcreteAggregate is the notation for an extension between a stereotype and a metaclass. This is not valid between classes and it is not what this diagram intent to describe.
The correct notation for this diagram is:
With a dependency from ConcreteAggregate to ConcreateIteraor and an unidirectional association from ConcreateIteraor and ConcreteAggregate.
To avoid doing not valid diagrams you should use a real UML modeling tool (as opposite to drawing tool). This one as been made with GenMyModel.