Skip to main content

Questions tagged [uml]

The Unified Modeling Language is the industry standard for modeling software-intensive systems.

Filter by
Sorted by
Tagged with
2 votes
3 answers
258 views

I’m modeling a use case diagram for an online marketplace system. In one of my use cases, the seller can perform three different actions: Accept an offer → closes the negotiation, Reject an offer → ...
dok's user avatar
  • 313
5 votes
4 answers
562 views

I’m creating a 0- and 1-Level DFD, along with a UC Diagram, for a data cleansing web application for a government agency. The primary user of the system is the agency’s Quality Assurance (QA) Officer. ...
Bronwyn Rojas's user avatar
7 votes
1 answer
513 views

I am in the process of engineering some UML state diagrams to explicitly model the transitions among Git’s file states: TRACKED, UNTRACKED, UNMODIFIED, MODIFIED, UNSTAGED, and STAGED. The diagrams I’...
Alex's user avatar
  • 87
3 votes
3 answers
324 views

I would like to know how many Final States an UML State Machine diagram can have. In this OpenCF online book, I read this: Some models may have more than one initial state or more than one final ...
Pascal's user avatar
  • 155
2 votes
1 answer
296 views

I have been reading the book "OCUP 2 Certification Guide : Preparing for the OMG Certified UML 2. 5 Professional 2 Foundation Exam". Where-in I am unconvinced with the answer option provided ...
Nerdy's user avatar
  • 131
3 votes
2 answers
281 views

I am trying to create a UML class diagram using RBAC. I am new to this language and trying to make sense of it. I am attempting to showcase permissions to specific roles. I am not sure whether that is ...
Apollo 025's user avatar
7 votes
2 answers
1k views

If I create a sequence diagram for a use case, should the objects in the sequence diagram be based on the methods and classes in the class diagram, or is that not necessarily required?
mana's user avatar
  • 151
6 votes
2 answers
165 views

I'm creating a use case diagram. Is it correct to make gaining muscle/maintaining weight/losing weight a generalization? Or do you think I should just delete those use cases? I mean the use case of ...
mana's user avatar
  • 151
2 votes
3 answers
512 views

What type of diagram can I use to model parallel processes interacting with a shared set of resources, along with the state of those resources at each point in time? My motivation is I have a bug that ...
Rob Mosher's user avatar
2 votes
2 answers
148 views

I have a system that is divided into partitions (avionics system). THe basic means of sending and receiving information is via read and write calls to a certain port. The reading and writing is ...
Passeris's user avatar
0 votes
2 answers
170 views

I have this Use-case diagram: Stop Scroll Here!!! What is your first impression about the use case? I mean is it interpretable intuitively? After you answer it, I will explain what that use case is ...
Muhammad Ikhwan Perwira's user avatar
0 votes
1 answer
122 views

I have created a Python code where a main algorithm uses three different modules (.py) after importing them. To illustrate and describe it I have create the following component diagram? Could it be ...
Patrick Schulz's user avatar
0 votes
2 answers
141 views

I want model something in class diagram. sometime it seems you can use association or just operation. for example User and Product, should they have association with name Add or should class User have ...
ali.qb's user avatar
  • 17
1 vote
1 answer
142 views

Detailed Idea for the Dermatech System Main Idea of the System: Dermatech is an AI-based system that operates through a mobile application, designed to assist users in diagnosing primary skin ...
Shahad At's user avatar
1 vote
0 answers
30 views

I'm trying to learn UML, and right now I'm focusing on sequence diagrams. I'm trying to represent this Java code in a diagram. I'm very unsure about the activation boxes. Could somebody maybe provide ...
Map Kami's user avatar
2 votes
3 answers
438 views

I try to brush up on my technical interview skills as I plan to seek a better offer I don't recall being ever asked that really, but I still want to clear up any confusion. What is association, ...
Sergey Zolotarev's user avatar
0 votes
2 answers
155 views

I am new to UML, and I am self-learning it, so please bear with me. I am trying to model a system where a teacher can develop an assignment paper and use an LLM to generate answers to make a more ...
D Jay's user avatar
  • 127
1 vote
1 answer
163 views

I am new to UML and have a problem. I am trying to model a system where a teacher can develop an assignment paper and use an LLM to generate answers to make a more robust paper. later, the moderator ...
D Jay's user avatar
  • 127
1 vote
1 answer
244 views

I am new to UML and have a problem. I am trying to model a system where a teacher can develop an assignment paper and use an LLM to generate answers to make a more robust paper. later, the moderator ...
D Jay's user avatar
  • 127
0 votes
1 answer
421 views

In Uncle Bob's Clean Architecture, he provides the following diagram: This diagram is used for discussing the Open-Closed Principle (OCP). I understand that the interface Financial Report (FR) ...
neuralcoral's user avatar
0 votes
2 answers
328 views

I am realising a project only I do not understand whether the diagram is correct or not. I've used a generalization for merging two CRUD operations. Is this correct? Is the use case login correct if ...
lucagiuseppe caliò's user avatar
-1 votes
3 answers
238 views

When designing a data-intensive software, or any kind of software, regardless of the platform, is it appropriate to mix UML and non-UML diagrams together in the design document of the software? For ...
Acemad's user avatar
  • 115
1 vote
4 answers
430 views

I'm reading about design patterns from both "Head First Design Patterns" and the original "Elements of reusable software etc" and I'm finding some confusion right at the start, in ...
Maldus's user avatar
  • 126
0 votes
1 answer
100 views

Let's image that I have a requirement from a user about logging. He wants to log and then display to manager every action made by a user in the system. And for specific actions e.g. opening a case he ...
M_Ryan's user avatar
  • 1
3 votes
2 answers
132 views

Per the UML 2.5.1 specification: DeployedTargets are shown as a perspective view of cube labeled with the name of the DeployedTarget shown prepended by a colon. System elements deployed on a ...
patrickekw's user avatar
3 votes
1 answer
143 views

I am creating a use case diagram for an elevator control system program, and I am a little confused about using includes for sequential actions. What I mean is that when the user calls the elevator, ...
Carter Karl Falkenberg's user avatar
0 votes
2 answers
696 views

In UML we have two special messages, create and destroy. These two messages describe the creation and the destruction of objects, respectively. We must use the stereotypes << create >> and ...
AAA's user avatar
  • 43
1 vote
1 answer
280 views

In the Collaboration diagram, we represent a message with a solid-headed line : Moreover, in a sequence diagram, we can show a synchronous message with a solid-headed line and an asynchronous message ...
AAA's user avatar
  • 43
1 vote
2 answers
241 views

I have been doing a lot of thinking lately about the implications of event-based/responsive programming and UML statecharts. I believe my thinking up to this point has been flawed. Take, for example, ...
Patrick Wright's user avatar
5 votes
2 answers
3k views

Is it possible to have an association without explicitly indicating the reference attributes in the participating classes in the UML class diagram? For example, consider this example : We can see ...
Ahmed Mohamed's user avatar
0 votes
3 answers
2k views

For a game I'm making I have two objects; Gun and ReloadSystem. At the moment, these two object reference each other. Gun tells ReloadSystem to perform a reload when the gun gets clicked, and ...
Boudebouz1's user avatar
1 vote
1 answer
376 views

I'm building a ToDo list while practicing in different patterns and adding more complexity to the project. The problem which I'm currently facing is to how to apply (and later use, validate and ...
Roman's user avatar
  • 11
1 vote
1 answer
153 views

In UML statecharts, an event may how zero or more "parameters" (i.e., additional data associated with the event). The classic example would be a key press event with a parameter containing ...
Patrick Wright's user avatar
2 votes
3 answers
225 views

there are a vehicle class and customer class . In short, in the customer class there is a function that shows 'can this person or company rent that car'.The function uses a object of vehicle and ...
Tunahan's user avatar
  • 31
1 vote
1 answer
114 views

I'm modeling a part of Python/Qt GUI code which uses reflection to construct a collection of widgets, in a form. The code works like this: There is a Model which has attributes of various types, ...
Daniël Schenk's user avatar
1 vote
1 answer
182 views

Suppose I have the following client code: using System; namespace InterfaceCompositionUml { internal class Program { static void Main(string[] args) { ...
user32882's user avatar
  • 267
-2 votes
1 answer
122 views

Could someone explain to me if the relation in this class diagram is a "dependency" or "association" relationship and why? I cannot edit the picture. The terms translate into ...
João Vitor Gomes's user avatar
1 vote
1 answer
328 views

I'm a novice in UML component diagrams. How would I draw the following situation? I have an << item >> called "DataAquisition". This item consists of a << unit >> ...
Max's user avatar
  • 111
2 votes
1 answer
212 views

Can a use case use both extend and include? For example like the "Take Advanced Knowledge Quest" use case in the picture below.
Saiful M.'s user avatar
1 vote
1 answer
601 views

I'm working on the documentation of software management system. That system can be linked with an e-commerce website to get financial data directly. For example when a transaction will be made it will ...
Laila Ejaz's user avatar
1 vote
2 answers
269 views

I've built a matchmaking system where two of the classes look like this: I know that it actually looks like an inheritance, but in the code it doesn't extend to the PlayerInMatchmaking and the ...
Sena's user avatar
  • 119
0 votes
2 answers
280 views

Context: This is from a practice exam, and we aren't sure what the proper answer was Question: What is a possible order of actions for this activity diagram? Options: A->B->D or A->B->C-&...
A P's user avatar
  • 111
0 votes
1 answer
961 views

Please help with a diagram in which there are sequential requests. The logic is the following: Service 1 sends a PUT Trigger an export request to Service 2 If the response is 200 OK, then after 10 ...
Alex's user avatar
  • 3
3 votes
3 answers
5k views

I am using the c language. I created one lifeline for each file. I am confused about the activation box. Many people said an activation box indicates an object is active and processing a task. In case ...
Sam's user avatar
  • 165
0 votes
2 answers
150 views

I got a few questions about using UML state machines in software architecture: I have to design an STM and express it as part of a UML model. There is a singelton STM Maintainer holding the instance ...
ngong's user avatar
  • 109
1 vote
1 answer
425 views

The following sequence diagram is rendered by Sparx Enterprise Architect. Is the start of the new activation (blue) correct? Shouldn't it rather continue with the existing activation on the Object2? ...
Petr B's user avatar
  • 121
0 votes
2 answers
137 views

If I understand the UML 2.5.1 spec correctly, the definitions and constraints for UMLClassDiagram and UMLComponentDiagram are identical and furthermore the set of things those diagrams may show are ...
Chris F Carroll's user avatar
3 votes
1 answer
278 views

In the Design Patterns: Elements of Reusable Object Oriented Software, the Gang of Four present the following canonical form for the Builder pattern: In Appendix B the following is mentioned ...
user32882's user avatar
  • 267
1 vote
2 answers
2k views

In the picture above class of the type implementation will at some point receive a class of type C1. Classes that implement Contact will at some point hold references to C1. So should the diagram be ...
Ten Jones's user avatar
3 votes
2 answers
762 views

UML is generally taught as a standardized way of diagramming software, however, I've heard recently that there's an actual grammar behind it. I've searched the UML specification and haven't found ...
Visual Studio's user avatar

1
2 3 4 5
14