How can i draw a use case diagram when there is 6 use cases and each has a...
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 View User Account Add...
View Articleby lazy {} causing an cast exception in production
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...
View Articleby lazy {} causing a cast exception in production / hashmap loosing values...
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...
View ArticlePrevent duplication of validation logic in use-cases (Clean Architecture)
Suppose I have multiple use-cases that takes in user-id as parameter and therefore has to verify that there indeed exists a user with that user-id in the db before the execution start. This works fine,...
View ArticleOrchestrated vs Core use-cases in clean architecture
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 thought I...
View ArticleHow to prevent duplication of validation logic in use-cases [closed]
Suppose I have multiple use-cases that takes in user-id as parameter and therefore has to verify that there indeed exists a user with that user-id in the db before the execution start. This works fine,...
View ArticleHow should I separate core services from orchestration logic in Domain-Driven...
I'm working on a movie-reviewing api-project using Domain-Driven Design (DDD) principles. I wonder how to differ between the core and orchestration logic. I have a use-case called...
View ArticleMaking a use cases diagram for an automated system
How exactly does one draw out a use cases diagram when everything is automated? Here is an example with a request I got:"Make a modification that resets a game server to a certain map or switches...
View ArticleHow do I make a class diagram out of this use case diagram?
This is my use-case diagramThis is what how I've defined key classes so far:StoryAttributes:storyIDtitlecontentstatus (e.g., submitted, approved, rejected,...
View ArticleShould Login be an included use case in Logout?
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...
View ArticleDomain layer with Use Cases in android app
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...
View ArticleVerb Above Association in USE CASE Diagram
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...
View ArticleAssistance in Designing a Use Case Diagram for User Interactions
Can you please help me in the use case diagram for user in my web app:the user can browse tripscan create trip (login is required)can view profile(login is required)share trip (login is required)manage...
View ArticleWhat are use cases for coroutines?
The concept of a coroutine sounds very interesting, but I don't know, if it makes sense in a real productive environment? What are use cases for coroutines, where the coroutine implementation is more...
View ArticleIs My ERD for University Course Registration System Correct? Feedback Needed...
I am modeling the course registration system for a university. My work is based on the use case descriptions provided in the system.I designed my ERD to represent two use cases:Maintain Planned...
View ArticleUse case extends or include [duplicate]
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...
View ArticleHow to make a class diagram out of a use case diagram?
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.Below...
View ArticleHow to rename actors in draw.io
I am using draw.io online tool for drawing UML diagrams. When I am dragging an Actor from left panel to the canvas, there I found no options to rename the actor. For example I want to rename the...
View ArticleDo two include relationships attached to a singular use case mean that both...
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 portfolio".I don't know...
View ArticleHow to portray visibility in Use Case Diagram
ContextImagine an Event Management website where event planners can post events. Say we have three Actors: a non-registered user, registered user and an Event Planner. Event planner can post events...
View Article