P
P
Pavel Kityan2014-03-03 00:07:50
UML
Pavel Kityan, 2014-03-03 00:07:50

Use case diagram: include or extend?

This question in a different form is often found, a lot of things are googled on it, but I still could not understand - which is true? If there are several actions and, in principle, some of them will definitely be performed. So all of them - what? include? Or generalization?
Some sources write: if the action is not necessarily performed, then this is extend. Others - if at least one of the actions is required - definitely include.
In general, below is the diagram. Which one do you think is correct? It implies that the user can edit the letter, i.e. edit body AND/OR topic.
use-case_1.png
Another example. Unambiguously, "overwrite" is an extension of "add". But here's the "add" and "remove" themselves - include "file management" or extend or generalization?
use-case_2.png

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