What is the meaning of dashed arrow in UML class diagram?

Martin Thoma picture Martin Thoma · Jul 17, 2012 · Viewed 31.3k times · Source

What is the meaning of the dashed arrow in a UML class diagram in general?

As an example: What is the meaning of the dashed arrow in this image (from client to ConcreteCommand):

enter image description here

Article: Command pattern

Answer

Matin Kh picture Matin Kh · Jul 17, 2012

Between Client and ConcreteCommand::
It means dependency.
Dependency: The definition or implementation of the dependent classifier might change if the classifier at the arrowhead end is changed.

Between ConcreteCommand and Command means Realization::
Realization: The class implements the operations and attributes defined by the interface. The interface is at the arrow end of the connector.
(Use the Inheritance tool to create a realization between a class and an interface.)