hasanghaforian
hasanghaforian

Reputation: 14022

UML Detecting usecase correctly

UML Diagrams says:

A use case is a kind of behaviored classifier that specifies a [complete] unit of [useful] functionality performed by [one or more] subjects to which the use case applies in collaboration with one or more actors, and which [for complete use cases] yields an observable result that is of some value to those actors [or other stakeholders] of each subject.

But it is not clear for me in specific small situation. For example in a mobile application I have a list and user can do

Now, are usecases ''selecting item'', ''deselecting item'' and ''changing selection mode'' or they are ''item click'' and ''item ling click''?

I think ''item click'' and ''item long click'' are not UC because

  1. Although ''item click'' and ''item long click'' are behaviors of list; but I did not create the application to provide a way for user to do ''click'' and ''long click'' (those are not useful independently)
  2. ''item click'' does not provide unit complete useful functionality (can lead to different useful behaviors with observable output: ''selecting/deselecting item'')

Am I right? I'm in doubt.

Upvotes: 0

Views: 46

Answers (1)

qwerty_so
qwerty_so

Reputation: 36295

Yes. The clicks are different behaviors (like different key strokes) you perform to achieve the goal of/trigger the underlying use case (select item etc.). Clicking something might be a use case if you are after some finger training. But you are probably dealing with some business goal to achieve.

Upvotes: 1

Related Questions