top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

Please explain ‘Extend’ and ‘Include’ in use cases diagram?

+2 votes
Please explain ‘Extend’ and ‘Include’ in use cases diagram?
posted Feb 25, 2014 by Merry

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
Best answer

Let me google for you:

Extend is used when a use case conditionally adds steps to another first class use case.

For example, imagine "Withdraw Cash" is a use case of an ATM machine. "Assess Fee" would extend Withdraw Cash and describe the conditional "extension point" that is instantiated when the ATM user doesn't bank at the ATM's owning institution. Notice that the basic "Withdraw Cash" use case stands on its own, without the extension.

Include is used to extract use case fragments that are duplicated in multiple use cases. The included use case cannot stand alone and the original use case is not complete without the included one. This should be used sparingly an only in cases where the duplication is significant and exists by design (rather than by coincidence).

For example, the flow of events that occurs at the beginning of every ATM use case (when the user puts in their ATM card, enters their PIN, and is shown the main menu) would be a good candidate for an include.

answer Feb 25, 2014 by Salil Agrawal
Similar Questions
+1 vote
+2 votes

Need inputs on converting the UML to restful API. From where should i start.I know the basics of rest and have knowledge of djangorestframework. How UML can be converted to rest api. After all UML is just a modelling way to design and architect.

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.