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
3 votes
2 answers
781 views

So I was given a task of making a class diagram for a bicycle. I know what a class diagram is and the concepts behind one. The requirement is that the bike can brake, turn or speed up. Now to me, a ...
Lee Merlas's user avatar
1 vote
1 answer
162 views

I think depending on nested packages is wrong, because the nested packages are always going to depend on the parent —aren't they?– and this can lead to cyclic dependency issues. When I look at how ...
clapas's user avatar
  • 121
3 votes
3 answers
11k views

It the exceptions thrown in case of error are represented in the UML sequence diagram, would it make the UML sequence diagram too heavy? If they are not represented, how to tell about them?
mistergreen's user avatar
2 votes
3 answers
3k views

I'm writing documentation for a school java project I'm working on. Basically have chunked most of the methods into the class diagram, but now it seems very unreadable on a pdf as the words are too ...
Prashin Jeevaganth's user avatar
3 votes
2 answers
7k views

Im trying to make an activity diagram , but i see that activity and swimlane diagram is almost the same, the only difference i see that swimlane diagram include many actor in it i wonder about the ...
Enrico Hasnawi's user avatar
1 vote
2 answers
168 views

I need to draw a UML Activity diagram for a school java software engineering project I’m required to do. I’m quite new to this and I’m not sure what should be shown and what should not be shown. For ...
Prashin Jeevaganth's user avatar
-1 votes
2 answers
8k views

So I am very new to creating design diagrams. I have a scenario where a user who is an admin of pizza hut selects registration option and the system prompts them to enter customer details. Upon ...
the feels's user avatar
0 votes
2 answers
374 views

This is a conceptual question about applying UML State Machine model for smart contracts in blockchain. I want to develop a smart contract framework in a bitcoin-like blockchain which is based on the ...
xdimy's user avatar
  • 3
3 votes
2 answers
4k views

I am trying to model a robot controller I am working on. If I would think in Object-oriented design, I would come up with a component diagram like this : However, we use a data-oriented framework (ROS/...
Hugal31's user avatar
  • 151
2 votes
3 answers
3k views

I am building a class diagram where "Interface A" is implemented by a member of "Class B". I don't know if I should even be drawing a relationship between these or if I should, what would the line ...
bernieslearnings's user avatar
-2 votes
1 answer
1k views

There will be 4 roles, with 3 roles having a same use-case that is called view campaign and a use-case view segment. Can we put a same use-case more than one time in the same use case diagram? The ...
Enrico Hasnawi's user avatar
3 votes
1 answer
1k views

As we know , initial state is the initial state of the system before the activity begins and the final state is the final state of the system when the activity ends. But what exactly is the initial ...
Ahmed Mohamed's user avatar
1 vote
5 answers
8k views

I'm fairly new to programming. At school I am currently learning to program with Java. I want to build an application where i can store my collection of books, records, boardgames and such. Started ...
Vogel's user avatar
  • 21
2 votes
2 answers
4k views

I tried to build a database for Driver Booking system. Here's brief details: Drivers have several vehicles and they offers the driving service with them Drivers will charge different hourly rates on ...
Lylant's user avatar
  • 31
1 vote
1 answer
4k views

I know that associations in class diagram can be bi-directional or directional. We refer to this as navigability. I am not sure to fully understand what it means. Please consider the following ...
Ahmed Mohamed's user avatar
4 votes
1 answer
107 views

I have just started learning about model-driven engineering. But I have a hard time to grasp the different model levels, given software example. Would not the model always be represented in a UML ...
gel's user avatar
  • 151
-3 votes
4 answers
555 views

I have two users in my program, one's a Programmer and the other's an Administrator. The Administrator is capable of doing everything the Programmer can do, but also has some additional roles (such as ...
Jaden's user avatar
  • 13
1 vote
2 answers
281 views

In a UML component diagram I want to show two components (among others). One is the core component that loads contents (classes) from the other. It's much like a testframework loading unit tests/test ...
Phil's user avatar
  • 51
0 votes
2 answers
3k views

question Can an actor "talk" directly with an object of the system in a sequence? example For an homework I need to model a "tracking service" for some shipping company. The functional requisites ...
artas's user avatar
  • 27
0 votes
1 answer
2k views

Question When an alt frame is used in a sequence diagram, and one of the two possibility end the sequence, how is "legal" to continue? example I need to represent a sequence in wich there ...
artas's user avatar
  • 27
-1 votes
3 answers
667 views

Question 1 All participants in a sequence diagram must match a class in class diagram? Question 2 All class that represents some object that is created by the system needs a class that creates it? ...
artas's user avatar
  • 27
0 votes
2 answers
3k views

I found this question about sub systems & UseCases, just I lack understanding / mapping to my specific situation. I want to model which sub component fulfills which UseCase realized by my system ...
Shegit Brahm's user avatar
0 votes
2 answers
354 views

I am new to UML and I have a best practices question. I would like to model separately: logical architecture: logically interconnected software components; physical architecture: physical ...
ith's user avatar
  • 111
0 votes
2 answers
181 views

I want to model an XML schema that has the following composition relationships: A can contain B, and in another case B can contain A. Using a bi-directional composition is not an option here as it is ...
user3621950's user avatar
0 votes
0 answers
609 views

I am using PlantUML and it unfortunately does not support qualifiers on a class. I simply want to show in PlantUML that a Task has a qualified association to User through the Task.userID property. A ...
mr haven's user avatar
  • 101
2 votes
3 answers
621 views

As far as I understood, synchronous messages will be handled one after another. Then we have the interaction operator for combined fragments called "strict" which states, that the operands inside the ...
TimSch's user avatar
  • 129
3 votes
3 answers
1k views

I am learning about Use Case diagrams and UML. In a Use Case can actors be an external 3rd party system? For example, in an ATM a user is an actor, but the SWIFT network system it communicates with ...
plagiarism's user avatar
3 votes
2 answers
5k views

The user of my app has access to two tools within my app. Each tool is comprised of multiple tables that the user has to fill with information. The app is more complex but that's roughly what's it's ...
Ahmed Ghrib's user avatar
3 votes
2 answers
863 views

According to my professor, one of the following relationships cannot be modeled in an object instance diagram: Association Composition Generalization I made the argument that the association could not ...
artemis's user avatar
  • 133
0 votes
3 answers
688 views

I am working in a purchasing system where we take calls: public class Call { public List<CallItem> CallItems { get; set; } } The calls can be turned into quotes, where call items become ...
Sydney Park's user avatar
3 votes
1 answer
2k views

I have the following simple activity diagram: My problem / question about is the last activity and its incoming object flows: how to model proper UML here? In UML-Spec 2.5.1 I find these quotes: [15....
Shegit Brahm's user avatar
2 votes
3 answers
6k views

I am working on a python project and I didn't use classes but created different modules and added functions in them. Now I need to draw a diagram to describe the project/application for a paper. I ...
prime_hit's user avatar
  • 141
-2 votes
1 answer
860 views

So I have the following case. I have an interface A and an implementation AImpl. Now I have another implementation of A, called A2Impl, which references any instance of A besides implementing A ...
Marcel's user avatar
  • 107
2 votes
2 answers
416 views

I have a Pose data type, consisting of x, y, and rotation values. This being a robotics application, the Pose data type is used in about a dozen places throughout the application. Connecting all ...
Omegastick's user avatar
3 votes
2 answers
12k views

I have a scheduled operation in my spring boot application using spring boot scheduler. this operation executes every period of time(30 minutes) and adds data in the database if conditions are met. I ...
Med-KG's user avatar
  • 41
1 vote
4 answers
1k views

Hi I was recently asked this in an interview to represent a 6 string guitar and a 4 string bass in class structure. I am still new to software design and analysis so was not able to complete the ...
Swets's user avatar
  • 29
1 vote
1 answer
58 views

I have a datastructure that involves rating items, much like Netflix do. Now those ratings are numbers that are attached to relations between objects in a graph database. However, it seems as if ...
David Boshton's user avatar
1 vote
1 answer
313 views

I am new to the formal idea of UML diagrams, but I have drawn and read system type diagrams for years. I wish to set a very simple exercise for the analysis stage of a project. I am considering the ...
Clive Long's user avatar
2 votes
4 answers
1k views

I'm building a news aggregation system that collects news articles from several websites, then classifies them into categories, tags them with keywords and saves them to a database. All actions are ...
Dong Nguyen Chi's user avatar
1 vote
1 answer
2k views

I would like to know if it is allowed in the UML to specify a different return type for overloaded operations. This is possible for methods in Java: public class C { public int addOne(int a) { ...
xoric's user avatar
  • 51
2 votes
1 answer
2k views

I am trying to find out if it is allowed in the UML to change the visibility (access modifier) of an operation when overriding it. For example, in Java it is possible to increase the visibility of an ...
xoric's user avatar
  • 51
4 votes
1 answer
2k views

I was wondering, are these 2 class diagrams equivalent EXCEPT the fact that in diagram A, a student doesn't have to have a study program? The way I see it - for example in diagram B a study program ...
erap129's user avatar
  • 195
0 votes
1 answer
154 views

After the sequence diagram are made the sequence methods become code, before writing some code that would alter database records I would like to know how to detect if a sequence is doing the job ...
Jonathan Solorzano's user avatar
1 vote
1 answer
200 views

I tried creating an Entity-Relationship-Model, but I just don't get if I have to connect some tables and if I have to connect all, how do I connect tables which don't use attributes from another table....
Xxy's user avatar
  • 111
0 votes
1 answer
198 views

I am doing research for developing a software platform and I have created some class diagrams for the platform. My supervisor adviced me to use UML profiles as well to describe the platform in a more ...
userpython1's user avatar
1 vote
2 answers
2k views

I research about [association] in use case diagram : It is a line has not arrow as image: https://www.uml-diagrams.org/use-case-actor-association.html But i using Rational Rose: If i draw a [...
D T's user avatar
  • 155
1 vote
2 answers
271 views

I have a Software. User will use software to process file, But my software will use a other software or "Dynamic Link Library" of 3rd party. Is "Dynamic Link Library" of 3rd party an actor?
D T's user avatar
  • 155
2 votes
1 answer
2k views

I am playing with sequence diagram. And main question is how to draw properly on sequence diagram interaction with variable. How to draw 1) When MakePayment aggregates person insurance....
A191919's user avatar
  • 133
2 votes
4 answers
521 views

Since we are just describing the problem domain rather than showing how the actual software will be designed, does that mean that we should not need abstract classes to show inheritance and arrowed ...
Handsome Woman's user avatar
0 votes
1 answer
370 views

Given this scenario: "Clinicians can record their own notes for each patient, viewable only by them." I would model it like this: Clinician ----> Patient and "Notes" as an association class ...
Sook Lim's user avatar
  • 167

1
3 4
5
6 7
14