D
D
dmikhaylenko2019-07-30 11:57:42
UML
dmikhaylenko, 2019-07-30 11:57:42

Is it permissible in the UML to specify dependencies between an interface and a class, with a direction from interface to class (interface)?

You need to make a UML diagram that shows that all interface implementations pull the method of another interface. I gave an example of what I mean here www.plantuml.com/plantuml/uml/RSv12i8m40NG_PnYbXKX...
But I doubt that such dependencies are acceptable. I didn’t find a description of this nuance anywhere (maybe I was looking badly), and from the point of view of common sense it also looks twofold:
- On the one hand, the interface cannot use anything and depend on nothing, since this is an interface
- On the other hand, we can say that interface has implementations, and we want to use only those elements that are allowed according to the diagram

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question