Difference: 'uses', 'extends', 'includes'

Answer Posted / kumar rohit

First of all I like to mention that "extends" & "includes"
are use case relationships, and "uses" relationship is now
excluded in UML 2.0 standard.

Differences b/w includes & extends:
1> The included use case is always used to augment the
executing use case while the extension use case might be
used to augment the executing use case.
2> The executing use case decides when to call the included
use case. The included use case is unaware of the base use
case while The extension use case decides when it will
insert itself into the execution of the base use case. The
base use case is unaware of the extension.
3> The relationship arrow is drawn from the executing use
case to the included use case. The base of the arrow
indicates that the base use case directs the included use
case to execute while the relationship arrow is drawn from
the extension use case to the executing use case. The base
of the arrow indicates that the extension use case is
making the decision whether to interrupt the executing use
case.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are components of an mvc architecture?

564


What is a communication diagram in UML?

587


What is contract?

594


Explain about structural diagrams?

510


Can you name the different elements with the collaboration diagram?

544






What is the importance of modeling in UML?

551


Explain about composition?

560


Why can't I easily interchange uml models between modeling tools?

496


What relations are there between the Class Diagrams and Domain models. 

1519


What is class diagram in UML with example?

643


What are the different parts of a deployment diagram?

486


What do you mean by focus of control?

580


What are the three different views of a system model?

529


What is object constraint language?

597


What are the approaches to preparing state chart?

526