Questions tagged [uml]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
55 views

Navigation in Class Diagram

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 ...
3
votes
1answer
41 views

Given an software example in MDE, would not the model always be a UML model?

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 ...
-3
votes
4answers
79 views

How can I represent a Use Case Table Diagram when I have two user types capable of initiating it?

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

How to show UML component load/discovery and realization relationships

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

Object and actors in sequence diagram [duplicate]

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

Handle alternative frame in sequence diagram

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 are user ...
-1
votes
3answers
72 views

Coherence between sequence diagram and class diagram

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

How to model system use cases realized by sub systems?

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

Tie together functional and physical architecture with UML2

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

Modelling 2 composition relationships between 2 XML elements using UML

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

Class Diagram Alternative for Qualified Association

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

What's the use case of the combined fragment “strict”?

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 ...
3
votes
3answers
105 views

Actor in Use Case diagram

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

Is my use case UML diagram too complicated?

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

Object Instance Diagram - What can be modeled?

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 ...
0
votes
3answers
156 views

Diagram to show how one object “becomes” another?

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

How to merge object nodes in an activity diagram?

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: ...
0
votes
3answers
412 views

How can we make a UML diagram (or something similar) for a project which doesn't contains classes (like non object oriented)?

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

UML class diagrams - how do I draw a class diagram that shows a self-reference? [closed]

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

What to do with data types with lots of connections in a UML class diagram

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

UML sequence diagram for a peridoc operation

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 ...
1
vote
4answers
202 views

Class diagram for electric guitar and bass

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

Need to model properties on relations in UML. How is this done?

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

Choice of appropriate UML diagram during Analysis phase [closed]

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 ...
1
vote
4answers
177 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
98 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
133 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
99 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
31 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
32 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
31 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
97 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
140 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
119 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....
2
votes
2answers
64 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
84 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
103 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
149 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
106 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
270 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
43 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 ...
2
votes
2answers
288 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
115 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
452 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
106 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
100 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
69 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
391 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
111 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
207 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 ...