use-case

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

为君一笑 提交于 2019-12-20 04:19:30
问题 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

Does generalization exist in UML Use Case Diagrams?

穿精又带淫゛_ 提交于 2019-12-19 10:33:09
问题 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? 回答1: 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). 回答2: Tricky. While the Generalization relationship is defined as

UML use case: listing vs diagram

穿精又带淫゛_ 提交于 2019-12-19 04:37:28
问题 I'm confused about a book I'm reading. I always thought use cases where some kind of diagram with actors and bubbles like this one from wikipedia : But in Head First Object-Oriented Analysis and Design - O'Reilly, what are called "use cases" are just listings with main/happy paths and alternate paths. O'Reilly provides a sample from this book here (you can scroll to page 71 of the pdf, which is page 123 in the book) and these listings look like: Main Path 1. Fido barks to be let out. 2. The

When to use Android PopupWindow vs Dialog

南楼画角 提交于 2019-12-18 03:02:05
问题 I'm unclear about when to use PopupWindow vs Dialog. Any insight would be much appreciated. Thanks. 回答1: They both use the addView() method along with various windowManager methods. The two are similar in that regard. Dialogs seem to come with more built-in features for interaction, such as handlers and buttons already included in the base class, while PopupWindows come with more built-in methods for positioning them about the screen. I think that each of them can do exactly the same as the

Good use case for Akka [closed]

为君一笑 提交于 2019-12-17 02:51:42
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 6 years ago . I have heard lots of raving about Akka framework (Java/Scala service platform), but so far have not seen many actual examples of use cases it would be good for. So I would be interested in hearing about things developers have used it succesfully. Only one limitation: please

Class diagram conversion to relational model; Inheritance, and a table for matching

可紊 提交于 2019-12-14 04:20:05
问题 For a school project, I'm supposed to design the systems of a previous semester's project. We're using UML, creating an extremely simple use case diagram (no <<extend>> type nonsense, just actors pointing at use cases inside of a system), from which we make a class diagram, then a relational model. Use Case and Class Diagram attempts: The last diagram is just me eventually thinking that maybe my use cases were the issue. My application lets people/restaurants list food they're willing to

What is a use-case? How to identify a use-case? [closed]

∥☆過路亽.° 提交于 2019-12-14 03:42:40
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . The question is quite generic. What are the points that should be kept in mind to identify a valid use case? How to approach a use case? 回答1: A use case identifies, with specificity, a task or goal that users will be able to accomplish using a program. It should be written in terms that users can understand.

Show dependencies on UML use case diagrams other than “<<extend>>” or “<<include>>”

安稳与你 提交于 2019-12-12 14:02:34
问题 How can we show simple dependencies between use cases other than "extend" or "include". For example we want to say use case1 depends on use case2 which are done by user1. Can a simple arrow be used for this? For which direction? 回答1: Yes. There are other dependencies. The full list of classes directly connected to Use Case is (fig. 18.1 of UML 2.5 standard) : Use Case Constraint Actor Include Extend Extension point But that doesn't mean you can't use other UML elements in the diagram with Use

Question about UML extend/include from Book Example

非 Y 不嫁゛ 提交于 2019-12-12 05:12:16
问题 Reading the book about UML, I do not understand following: --------include---> Add new manufacturer Servoce Assistant---Add new product <--------extend----Add new product type I just do not understand it. If there is yet uknown manufacturer, it uses included case Add manufacturer. But if it is yet uknown type, there is extend? That does not make any sense to me. It would make sense if only Add manufacturer could be called from different places but Add new product type exists only for that

Use case diagram for overriding settings?

亡梦爱人 提交于 2019-12-12 05:06:57
问题 I have a fan in a room. The fan has two speeds 1,2,3,4,5. 1 is slowest, 5 is fastest. The speed of the fan depends on the temperature. These are my regular settings for the fan: if temp is cold - speed = 1, if temp is normal - speed = 2, if temp is hot - speed = 3 Suppose someone else wants to use my room when i am out. He wants to change the speeds as shown: cold = 2, normal = 3, hot = 5 For this system, I made a use case - setFanProperties which lets ME set fan speeds according to MY needs.