use-case

What is the best way to structure these use cases?

依然范特西╮ 提交于 2019-12-02 11:52:06
At the moment, I have defined 3 different use cases that are really just 3 steps in a business process ... Say I have a list of people, and all these people are interested in obtaining one or more limited resources (say for example, they are seats at concerts). Ultimately, I want to automatically and fairly allocate these people to the available seats. I have a few different algorithms I use to do this. I am documenting a system that already exists (retrospectively), so even through the process is a little convoluted, I can't change it. The process I have to use is as follows: 1) Define a set

Can a use-case include and precondition the same other use-case?

断了今生、忘了曾经 提交于 2019-12-02 07:20:18
Let's take the example of logging in and add item as two use case of an items management system. the requirements of the client are : (he needs/wants to : ) Gain legitimate access to the resources of the system; Add Item (create one). we also know that no unauthenticated user should use the system ! My questions are : 1) Is " Gain Access " a use case ? A precondition to other use-cases ? Or Both ? (knowing that by naming the use-case " Gain Access " and not "Logging in" I wanted to highlight the need rather than the solution to that need. 2) if " Gain Access " is a use-case, does the " Add

Have I to use the same actors for those extending or included use cases? [closed]

无人久伴 提交于 2019-12-01 14:14:13
I am currently refreshing/altering my knowledge in software development because I will work in this area soon. We have learned a lot about UML diagrams and coding at University, but I have never brought it all together in a real Project. Therefore, I started to create a test web-app in Grails, and I wanted to begin with a requirements analysis and use cases too keep it close to reality. My web-app should allow users to share recipes, find recipes and review recipes by other users. Every recipe has many ingredients, which are not just strings but rather entities so that calories, fat, protein

UML relation between usecases (extend/include)

亡梦爱人 提交于 2019-12-01 14:09:00
I do not understand well following topic since it is a bit ambiguous from what I read: Inlcude is like a reference to next part, the usecase is not completed without it. This part should be referenced from more places otherwise its use has no sense. But I have seen an example when there is "include" only in some IF statement is true, like: Add new product--->include--->Add new manufacturer . //Adds only when doesnt exist. Why there isnt "extend"? Is it because somewhere else could be "Add new manufacturer" used once again? Thanks Exactly. Once you extend another use case you've reached the end

MVC, controller - use cases

 ̄綄美尐妖づ 提交于 2019-12-01 12:28:14
问题 I've learned that you should set up the controller-class in a MVC-OOD as a use case, from top to bottom in only one method that run the MVC-classes. Is it OK to use different methods in one controller to get more control and better overview? Let's say you wanna run a controller that will display a login form (getting the html etc from the View). And the same controller will also display a log-out button IF the user is NOT logged in. This could be done with a single method in the controller,

Have I to use the same actors for those extending or included use cases? [closed]

我的未来我决定 提交于 2019-12-01 12:26:13
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I am currently refreshing/altering my knowledge in software development because I will work in this area soon. We have learned a lot about UML diagrams and coding at University, but I have never brought it all together in a real Project. Therefore, I started to create a test web

UML relation between usecases (extend/include)

旧城冷巷雨未停 提交于 2019-12-01 12:16:21
问题 I do not understand well following topic since it is a bit ambiguous from what I read: Inlcude is like a reference to next part, the usecase is not completed without it. This part should be referenced from more places otherwise its use has no sense. But I have seen an example when there is "include" only in some IF statement is true, like: Add new product--->include--->Add new manufacturer . //Adds only when doesnt exist. Why there isnt "extend"? Is it because somewhere else could be "Add new

Does generalization exist in UML Use Case Diagrams?

烈酒焚心 提交于 2019-12-01 10:55:55
I'm trying to model some requirements and I saw some examples in the web with use cases generalization, but the UML 2.5 standard review doesn't say anything about generalization in Use Case Diagrams, or I can't find it. So, is generalization supported by standards? Since a UseCase is a Classifier, they can be generalized. The UML 2.5 spec contains an example of this in Fig. 18.11 on p. 686 (the "ATM Services" example). Tricky. While the Generalization relationship is defined as going between two Classifiers , and a Use Case is itself a specialization of a Classifier , the semantics of the

Is it possible to embed Cockburn style textual UML Use Case content in the code base to improve code readability?

纵然是瞬间 提交于 2019-12-01 04:39:17
experimenting with Cockburn use cases in code I was writing some complicated UI code. I decided to employ Cockburn use cases with fish,kite,and sea levels (discussed by Martin Fowler in his book 'UML Distilled'). I wrapped Cockburn use cases in static C# objects so that I could test logical conditions against static constants which represented steps in a UI workflow. The idea was that you could read the code and know what it was doing because the wrapped objects and their public contants gave you ENGLISH use cases via namespaces. Also, I was going to use reflection to pump out error messages

Is it possible to embed Cockburn style textual UML Use Case content in the code base to improve code readability?

你离开我真会死。 提交于 2019-12-01 02:25:41
问题 experimenting with Cockburn use cases in code I was writing some complicated UI code. I decided to employ Cockburn use cases with fish,kite,and sea levels (discussed by Martin Fowler in his book 'UML Distilled'). I wrapped Cockburn use cases in static C# objects so that I could test logical conditions against static constants which represented steps in a UI workflow. The idea was that you could read the code and know what it was doing because the wrapped objects and their public contants gave