19153

extends vs include in usecase [duplicate]

Question:

This question already has an answer here:

<ul><li> <a href="/questions/1696927/whats-is-the-difference-between-include-and-extend-in-use-case-diagram" dir="ltr" rel="nofollow">What's is the difference between include and extend in use case diagram?</a> <span class="question-originals-answer-count"> 19 answers </span> </li> </ul>

what is the difference between extends and includes in usecase UML?

if I hava login usecase and and addGroup usecase, the admin should login to be able to add group , what is the relation here??

Answer1:

One means it is done in the context of of another (almost like a function call) and the other means it is done as an alternative as another. Be careful, they are not using 'extends' and 'includes' in the same manner as OO programming languages. There are subtle differences. I don't remember which is which and would rather not guess.

In all my years of using UML, I still have not come across a situation where either term provided any benefit to a Usecase Diagram.

Here is a page that discusses <a href="http://www.agilemodeling.com/artifacts/useCaseDiagram.htm" rel="nofollow">Extends and Includes in a Usecase Diagram</a>.

Recommend

  • How to get constant pool table with javassist
  • Linking activity diagram to entities to be accessed
  • Generalization arrows
  • Generalization arrows
  • How to access components of jFrame from other class?
  • Polymorphic-like SQL database table structure
  • How to run code sequentially with parse, in Android?
  • How do we set maximum_bad_records when loading a Bigquery table from dataflow?
  • Checking if the Faye server exists before running it for my Rails app
  • Highcharts - Column chart with empty columns for date in x-axis
  • Why is django manage.py syncdb failing to create new columns on my development server?
  • how to change api_token column in token guard
  • Changing Jupyter Notebook start up folder by modifying “start in” not working any more
  • Configure nginx to return different files to different authenticated users with the same URI
  • How to override value that appears in a dropdown in the rails_admin gem
  • Why use database factory in asp.net mvc?
  • cygwin cannot exec 'git-add--interactive' permission denied
  • How do I configure context broker accept post requests from my remote sensor?
  • Query to find the duplicates between the name and number in table
  • Grails calculated field in SQL
  • Custom Tabgroup Appcelerator
  • Django rest serializer Breaks when data exists
  • Django: Count of Group Elements
  • Recording logins for password protected directories
  • Linq Objects Group By & Sum
  • Is there any way to access browser form field suggestions from JavaScript?
  • Read text file and split every line in MSBuild
  • How to add a column to a Pandas dataframe made of arrays of the n-preceding values of another column
  • Javascript Callbacks with Object constructor
  • When should I choose bucket sort over other sorting algorithms?
  • How do you troubleshoot character encoding problems?
  • Unit Testing MVC Web Application in Visual Studio and Problem with QTAgent
  • Getting error when using KSoap library to consume .NET web services
  • Understanding cpu registers
  • Java static initializers and reflection
  • embed rChart in Markdown
  • Cant find why the layout is getting smaller
  • Android Google Maps API OnLocationChanged only called once
  • UserPrincipal.Current returns apppool on IIS