Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [uml]

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

0
votes
1answer
24 views

Choice of appropriate UML diagram during Analysis phase

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 ...
0
votes
4answers
93 views

Can systems have only one use case?

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 ...
1
vote
1answer
38 views

UML - Overload operations with different parameters and a different return type

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) { ...
2
votes
1answer
89 views

UML - Changing the visibility of operations when overriding them

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 ...
2
votes
1answer
50 views

Ternary association VS association class

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 ...
0
votes
1answer
28 views

When designing a system how could I describe the way sequence diagrams are related?

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 ...
1
vote
1answer
31 views

Entity Relationship Model do I have to connect a table which is not using attributes from another table?

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....
0
votes
1answer
29 views

What are the differences and connections between UML Profile diagram & UML Class diagrams

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 ...
1
vote
2answers
62 views

Association in Use Case diagram have arrow?

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 [...
1
vote
2answers
132 views

Is “Dynamic Link Library” an actor?

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?
1
vote
1answer
71 views

C# variables in Sequence diagram

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....
1
vote
1answer
40 views

In a Conceptual class diagram, should Abstract Classes and arrowed lines be utilised?

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 ...
0
votes
1answer
50 views

How to model an association class in a UML class diagram where only one of the class has access to it?

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 ...
0
votes
2answers
57 views

Usage of composition relationship between two class in UML

I'm having quite a difficulty with what i think would suit a Patient class and a Record class in UML Basically the Record class stores the patient's information such as name, vitals, gender, age and ...
0
votes
2answers
132 views

How to model scenarios in UML class diagram?

I'm doing a conceptual class diagram for an app that lets: Clinicians view the patient's lab results and their calculated Reynolds Risk Score. Clinicians make changes to one or more of the patient’s ...
2
votes
1answer
70 views

Modeling “nested” interfaces in UML

I am modeling a system that exposes a number of "plugins" (not known at modeling time) through a web API. I have a number of "system" plugins that permit to interact with the system, something like "...
3
votes
3answers
127 views

Can there be different use case diagrams of the same system for different stakeholders?

Can there be different use case diagrams for the same system with differing levels of complexity? My question arises due to the fact that use case diagrams can represent a single system in a complex ...
1
vote
1answer
42 views

“Screen-states”: How to express all of them in a concise way? [closed]

If my software has some screens, how do i express the various states of those screens? If, for example, I have 3 checkboxes in a screen, so I have 8 combinations total and at first thought, 8 states ...
1
vote
2answers
149 views

UML - Identifying use cases and actors

I'm currently learning object-oriented programming and we have moved on to UML. We are learning about use cases and actors currently and we need to create a list of actors and use cases initiated by ...
1
vote
1answer
56 views

How to depict several sub-options in use case diagrams

Shown in the image below is an example of an actor that can perform an action and this action branches into several options (none of them HAVE to be performed). My question is whether the arrows ...
-2
votes
1answer
100 views

Ordered vs sequence in association in UML

I am trying to understand UML class diagrams. Imagine two classes that are related with each other by association. What is the difference between {ordered} and {sequence} for the association?
2
votes
2answers
73 views

What does message means in UML sequence diagrams?

In UML sequence diagrams, given two objects A and B, if Object A sends a message to Object B. Does this mean the message is a method in Object B which is invoked from Object A?
1
vote
2answers
82 views

Composition - legal class diagram

I wanted to ask if this is a valid class diagram: I tend to think not, because it forces a certain wheel to belong to two vehicles at the same time (because of the 1 multiplicity). If the ...
-2
votes
1answer
65 views

method taking a class parameter

I have recently begun studying UML. All is going fine so far until I saw the following: This is a class Called Point2D It has 2 attributes which are x, type float and y, type float. It has 3 methods ...
1
vote
2answers
168 views

How to model attribute dependency “inside one class” in UML class diagram?

I have the following "software reality in working code" (also no access to it): There is a class Class1 with different attributes AttributeA - sums up all "ordinary attributes" EnumType DataType ...
-2
votes
1answer
46 views

requirements model and UML

I need to create requirements model for my software(first step of software engineering), But I don't know which icon of UML can help me to implement requirements model.
0
votes
2answers
167 views

Is it possible to represent an if statement in a system sequence diagram?

I'd like to highlight that this questions is about a System Sequence Diagram (SSD) and not a simple Sequence Diagram and of course any help would be appreciated! I'm reading Graig Larman's book ...
3
votes
1answer
105 views

How to convert a use case to a use case diagram?

Suppose I have a use case, like this example. Normal Flow: The user will indicate that she wants to order the items that have already been selected. The system will present the billing and shipping ...
1
vote
2answers
66 views

Detecting UML usecase correctly

UML Diagrams says: A use case is a kind of behaviored classifier that specifies a [complete] unit of [useful] functionality performed by [one or more] subjects to which the use case applies in ...
1
vote
1answer
181 views

Problem in creating a correct finite-state-machine for a given short text

I like to create a finite-state machine for the given text below. While solving this, I came accross with several problems I listed at the bottom. (This example is in terms of testing (where you later ...
-5
votes
1answer
76 views

How this diagram can be improved [closed]

I'm looking for failures in this "token based login" design, besides the UML "syntax" errors. Theoretically speaking, it will do the trick when implemented on an small project. If true, sorry about ...
0
votes
3answers
53 views

UML dependency in a UML deployment diagram with two arrow heads

Can I draw mutual dependencies between two artifacts in a deployment diagram as a dashed line with two arrow heads? Or is this a no-go in UML?
0
votes
2answers
80 views

Problem in modelling this because too slow calculation (robot football)

I like to build a component connector view / UML diagram for the given problem but I realized it's way too slow if you try to do it exactly as it's given in the following text. My question is what ...
2
votes
2answers
76 views

If a user delivers a file as input for a use case, what is the actor : the user or the file

Our call center collects requests from customer, which are processed by back office. Much of the requests are passed in spreadsheets by type of request. In view of automating some work of back office, ...
4
votes
1answer
450 views

How do you correctly turn this text into an activity diagram (problem with timer)?

This is only an extract from a very long text, the one I'm not sure about. It's about a photo booth (an automata that makes a picture of you if you insert coin). The automata has a camera that is ...
1
vote
2answers
420 views

Which SOLID principles are broken by this class diagram?

I just read about all the 5 principles S,O,L,I,D and I like test it in little example if I understand them correct. Which SOLID principles are hurt by this class diagram? I think what is broken is ...
2
votes
5answers
315 views

Design pattern for creating object hidden from client

I am having difficulty understanding which design pattern would be best for the following scenario. An application uses a database. That database can either be the production version (SQL) or a test ...
1
vote
0answers
40 views

UML how to model parallel activity with runtime-dependent number of participants

I want to model an activity that involves processing several items in parallel. So to speak, I want to find a Activity Diagram representation for something like the following snippet / pseudocode: ...
1
vote
1answer
193 views

Trying to understand Sequence Diagram

I am trying to understand two sequence diagrams that I have found in the SE course at university of Washington. Can you confirm if my understanding is correct ? Diagram 1: According to my ...
0
votes
1answer
129 views

How to manually model a UML activity Diagram to JSON with Qt C++?

Suppose I have a kind of UML activity diagram with 1-n forks and joins. The assignment of the individual nodes relative to each other is defined by an XML relationship table via UUIDs where each ...
1
vote
1answer
58 views

UML extending class assiciations with generalizations

I have a simple concept like in the image below. Basically there is an Item which can be 1 of 3 types and a character that can be 1 out of 2 types. All generalizations are disjointed. What I'm ...
1
vote
2answers
142 views

Why are fork and join nodes necessary in UML

I have some background in Petri nets, and in my last UML training, the trainer explained how activity diagrams are essentially a form of a Petri net with Petri net semantics. Now read that fork and ...
-3
votes
2answers
167 views

Use Case Diagram for Mobile and Web

Do I need to create a different use case diagram for my mobile app and for my web app? I have a mobile and a web app but mobile users cannot access the web application. Only the admins can do that.
1
vote
1answer
44 views

Can I use UML use cases to model settings?

Is correct to represent setting options using use cases? For example the user can: - enable background updates - change map color - change interval updates From https://www.uml-diagrams.org/use-...
0
votes
3answers
106 views

In which case will a token from an activity join node be rejected?

In an UML activity diagram, join nodes synchronise concurrent flows by regulating the flow of tokens. The UML specifications foresees that tokens can be rejected. Section 15.3.3.4 Join Nodes says: ...
1
vote
1answer
247 views

“join node” and “fork node” for a single branch in UML

Section 15.3.3.3 of UML specification says: Fork Nodes A ForkNode is a ControlNode that splits a flow into multiple concurrent flows. Also 15.3.3.4 says: Join Nodes A JoinNode is a ...
5
votes
1answer
139 views

How “selection behavior” works in UML?

After two hours reading/searching in about examples and usages of selection behavior of object flows, I guess that selects all tokens which satisfy a criteria (like a query) and this can change order ...
0
votes
1answer
76 views

offering multiple tokens at the same time in Activity diagram

UML specification says: If multiple tokens are offered at the same time, then the tokens are offered in the same order as if they had been offered one at a time from the source I want to know "...
2
votes
1answer
44 views

Thematic/Semantic tagging of associations in UML

Is it possible to use semantic tags in UML associations (among classes) to express the wider semantic nature of the relationship? For example, consider the relation that Doctor TREATS Patient. Beyond ...
1
vote
1answer
178 views

How to represent a specific type of interface dependency in component diagram?

I'm currently having a hard time with creating a component diagram that should represent a certain type of component/interface dependency and hope that you can give me some hints. As background, I ...