Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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

like image 938
Martin Thoma Avatar asked Jul 17 '12 11:07

Martin Thoma


People also ask

What are the symbols in UML class diagram?

Pre-drawn UML class diagram symbols represent class, template class, object, item, package, interface, dependency, composition, and association, etc. These symbols help create accurate diagrams and documentation. UML class diagram templates offer you many useful shapes.

What do arrows mean in a diagram?

Arrow Diagram is used for scheduling activities in a project plan. Precedence relationships between activities are represented by circles connected by one or more arrows. The length of the arrow may be used to represent the duration of the relevant activity, or with a figure.

Which way do arrows point in UML?

In my diagrams (and in UML in general) the arrow heads point in the direction of source code dependencies, not data or control flow. In graph theory in general, arrow points to parent (“descends from”).

What does a +/- symbol mean in an UML diagram?

This can be represented with the following class diagram. The fields and methods are annotated to indicate their access level: plus (+) for public, minus (-) for private, and hash (#) for protected.


1 Answers

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.)

like image 175
Matin Kh Avatar answered Sep 28 '22 04:09

Matin Kh