Skip to main content
Filter by
Sorted by
Tagged with
4 votes
2 answers
145 views

In my book OCUP 2 Certification Guide, there is this following example about a use case generalization relationship: Am I wrong that I do not see this as a generalization-relationship? A pay by cash ...
Sabine Meijran's user avatar
2 votes
1 answer
29 views

I have an instance where I want to represent a "sell stock" use case. In order to complete this, the user must either access it through "search stock", or through "view stock ...
Gethin Bishop's user avatar
1 vote
1 answer
32 views

I've started drawing use case diagrams and I have a quick question. Can we place a verb or any action above the association (line) connecting the actor to the use case (or feature in an oval)? For ...
سید نعمان's user avatar
-2 votes
1 answer
137 views

I plan to do a system aiming at journalists submitting news stories to editors in view of publishing. This is my use-case diagram: I struggle somewhat to define the classes based on this diagram. ...
just coding's user avatar
2 votes
1 answer
471 views

I'm researching on Use Case Diagram and have some question to discuss with you. Specifically, I'm wondering about the include relationship in Use Case Diagram. When I read the document of UML ...
Khoa Nguyễn's user avatar
0 votes
1 answer
113 views

I have an endpoint that should create a book, and if it is the clients first created book it should send an email like "Congratulations to your first book". Following Clean Architecture I ...
Odin Hufnagl's user avatar
1 vote
1 answer
96 views

we have a code that looks somewhat like this small example: // this is a class that is injected into a view model, it is injected once, as a parameter // it is used in multiple functions in the view ...
JustSightseeing's user avatar
1 vote
1 answer
63 views

Both UML Actor and UseCase specialize BehavioredClassifier which implies that they can own Behaviors. It is clear to me that UseCase needs to have Behaviors in order to link itself to StateMachine or ...
Robert Hairgrove's user avatar
2 votes
1 answer
70 views

In my application, I have actors guest, user and admin, user can use basic features and admin can do things like manage users. Beside, each user can create an organization, and inside organization ...
hdat.syzygy's user avatar
0 votes
1 answer
39 views

So I'm trying to understand clean architecture principles. One of the most confusing for me is the UseCase layer. I have read a lot of explanation about what is that, but I still can not decide how ...
Andreas1234's user avatar
1 vote
1 answer
131 views

I'm working on a project using Clean Architecture and an ORM. I have two entities: Entity A and Entity B. Entity A has a relationship with Entity B (e.g., Entity A contains an instance of Entity B). ...
isaac's user avatar
  • 11
2 votes
1 answer
99 views

I'm developing a use-case diagram for a system that uses several external APIs. The system should identify when a customer made an EFT(Electronic Fund Transfer) payment to a merchant's bank account ...
jkvithanage's user avatar
1 vote
1 answer
318 views

I am doing an API for a blog site using Clean Architecture and DDD. I find myself doing a use case to get all comments for a requested article. The thing is that anonymous users can see the comments ...
Dany Nuñez's user avatar
0 votes
0 answers
17 views

Image here I have a Use Case Diagram for our Event Management Platform and our group is having a fight. I wonder in these two which is correct: Cancel EXTENDS Join (in my view, we can choose to ...
huytienlam's user avatar
2 votes
1 answer
131 views

Designing a use case diagram, we face a challenge with three actors: Visitor, Client, and Administrator. Each has unique roles, but we must accurately capture their interactions and relationships. ...
Info Dz's user avatar
  • 23
1 vote
1 answer
112 views

I'm working on designing a use case diagram for a task management application, and I'm seeking guidance on representing role-based access control (RBAC) effectively. I've created a preliminary use ...
Nathan Budhuu's user avatar
0 votes
1 answer
153 views

i am making an activity diagram about an online train reservation system i want just to ask if what i did is correct or could it be better and how in general should activity diagram be ?
Marwan Elattar's user avatar
3 votes
1 answer
599 views

Let's image a new simple CRM, where... some external system A uploads new data, CRM saves them CRM validates the data and creates eg. new cases from them user displays the cases These requirements ...
M_Ryan's user avatar
  • 33
1 vote
1 answer
410 views

I have 3 actors: User A, User B and Admin and the use case view photo that is linked with each actors. Now, I want to add a use case add to favourites, and this use case can be activated only by User ...
sco's user avatar
  • 37
2 votes
1 answer
251 views

I need to specify use cases for deleting 2 type of objects x and y, where y is a list of object x. I want to avoid the excessive fragmentation of use cases, because the flow of event between the 2 use ...
sco's user avatar
  • 37
2 votes
1 answer
1k views

The first UML diagram features a basic user interacting with an E-Commerce site, where authentication is explicitly included for actions like placing orders, adding to the cart, and checking out. In ...
Adem Othman's user avatar
1 vote
1 answer
395 views

This is use case diagram of financial management I have done but I am not sure if it's correct or completed: I tried to add it as CRUD, but is this correct? And do I have to add more cases connected ...
Ilkin Bakhshaliyev's user avatar
0 votes
1 answer
239 views

My teacher just gave me a task to create a use case diagram based on her given use cases and I have 2 actors which is Admin and Inventory officer and they are most likely the same to each other, but I'...
darth-coder's user avatar
2 votes
1 answer
415 views

I was given a task by my teacher to create a use case diagram based on her given use cases below. Administrator(Actor) Add User Account Update User Account Deactivate User Account ...
darth-coder's user avatar
0 votes
1 answer
328 views

I have this sample code for use cases: final class AuthUseCases { final DataProxy dataProxy; const AuthUseCases(this.dataProxy); Future<AuthSession> login(TCredential credential) async { ...
Ουιλιαμ Αρκευα's user avatar
1 vote
1 answer
2k views

I am implementing MVVM android app with domain layer. It goes standard way: Activity -> ViewModel -> UseCase(with injected repository) I have one architectural question that I would like to ask ...
Kratos's user avatar
  • 1,007
1 vote
1 answer
102 views

I am designing the activity model for a website, and I have a question about whether I have an activity that represents displaying a page on the website. This page contains several buttons, and each ...
Manar Eyad's user avatar
3 votes
2 answers
1k views

I am creating an Android Application based on Clean Archtecture with App Modularization. I have modularized the app by 4 layers (:presentation, :domain:, :data, commons). The required hierarchy is as ...
NS.'s user avatar
  • 128
0 votes
1 answer
458 views

In clean architecture, the main core is usecase layer which contains business logics. Now in Android we will use case and pass it to viewmodel as param in constructor. For example class AddNoteUseCase(...
Shreyas Sparrow's user avatar
1 vote
1 answer
169 views

Consider a use-case UC1 that includes UC2 and UC3. The UML 2.5.1 specifications define «include» between two use-cases: Include is a DirectedRelationship between two UseCases, indicating that the ...
Christophe's user avatar
  • 75.1k
0 votes
0 answers
237 views

I want to have a BaseUseCase class by following: Must allow to indicate the parameters. Must run the work itself in a background thread (that would be the doWork method). Must return the value in the ...
alGhul7's user avatar
  • 163
0 votes
1 answer
42 views

I am required to create a use diagram for a requirement in a game where a player shoots another player. Now, I am getting very confused with what the use cases in the diagram should be. Should these ...
InNeedOfHelp01's user avatar
1 vote
1 answer
340 views

For an example, say, I want to draw a use-case diagram for an artificial vending machine like so: The vending machine have 3 options: carbonated drinks, tea, and pure water. The user can choose only ...
Toàn Trần's user avatar
1 vote
1 answer
2k views

Upon using Clean Architecture for multiple Android projects, I always stumbling with a temptation on where is the best location to put the business logic. Based on my understanding Domain Model holds ...
Bitwise DEVS's user avatar
  • 3,851
0 votes
0 answers
51 views

Which is best way to split Use Case? I have the following architecture (Clean Architecture): - Project.Api - - Project.Api.Controllers.TodoController - Project.Application -- Project.Application....
RussianPupok Pupok's user avatar
0 votes
1 answer
274 views

Suppose I have the following UseCase to fetch users as a flow class FetchUsersFlowUseCase( private val userRepository: UserRepository ) { operator fun invoke(): Flow<List<User>> { ...
Augusto Carmo's user avatar
0 votes
1 answer
45 views

I searched for some time for a suitable solution for my question, but did not find a compelling answer. So don't abandon this question if it is in the wrong place or answered elsewhere. Please state a ...
Gregor Fey's user avatar
3 votes
2 answers
580 views

in the book UML @ Classroom An Introduction to Object-Oriented Modeling is written "Use cases—even included or extending use cases—can always be executed independently. If they can only be ...
Ahmed 's user avatar
  • 31
1 vote
4 answers
975 views

I am a beginner android developer. I'm just starting to learn clean architecture. Is it practical to have kotlin coroutines dependency in domain layer? As I know domain don't need have dependencies. I ...
exxxort's user avatar
  • 13
0 votes
1 answer
5k views

I am working on a language learning platform and i made the following use case diagram : My question is : if all my use-cases require the user to be logged in, is the way i used considered correct, ...
ItsZeusX's user avatar
-2 votes
1 answer
785 views

Let's say I am building a basic REST allowing CRUD operations on some object type A. I am using clean architecture, so The definition of A itself sits in the Domain layer. This includes any business ...
Atai Ambus's user avatar
2 votes
1 answer
248 views

Is my use case diagram correct ? I need help to know if my use case diagram is correct or not, and if the actor admin inherits from manager, and manager inherits from technician, does that mean the ...
Mohamed's user avatar
  • 23
3 votes
1 answer
507 views

I use to use UML use cases and I have to model a system using Archimate. I need to model the features of the system, and I guess that I can do that using the business layer of Archimate. In this ...
granier's user avatar
  • 1,799
1 vote
1 answer
482 views

I have a system consisting of the following components: A mobile app that is controllable by users. Users can log in, create accounts, and then connect to a mirror and after that they can modify ...
Adem Othman's user avatar
1 vote
2 answers
1k views

I've created an interface for my use cases that returns a Future, Is it good approach to have an interface for all use cases? What if I need a Usecase to return Streams instead of a single return (...
djalmafreestyler's user avatar
1 vote
1 answer
1k views

Assume I have two models: Student and Course, so we have a simple many-to-many relationship here, i.e., each student can take many courses and each course has many students. I also have a usecase for ...
rrrttt's user avatar
  • 469
-1 votes
1 answer
49 views

I want to parse ClientEntity.weight in String to ClientDetails.weight which is List of Doubles and use it in my Screen. My mapper: fun ClientEntity.toClientDetails() : ClientDetails{ return ...
Equlo's user avatar
  • 197
2 votes
2 answers
109 views

While I am following an object oriented course, I am faced with a statement that is kinda strange. I couldn't understand why we would remove UC4 from the given image. And if it is wrong, then similar ...
Umut's user avatar
  • 27
2 votes
2 answers
108 views

I'm a little stuck on one question.In order for the ad to be "Premium", one of the three options must be selected. If none is selected, then the ad will be common. Can I somehow clarify this ...
Smth_Unknown's user avatar
0 votes
0 answers
28 views

I'm trying to figure out which connection I should use better because I don't quite understand the difference between these two connections.The connection of generalization is very clear to me on the ...
Smth_Unknown's user avatar

1
2 3 4 5
17