Questions tagged [uml]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

UML Statecharts

I have been using an implementation of UML statecharts in C++ similar to that defined in the book "Practical Statecharts in C/C++" by Miro Samek (https://www.state-machine.com/psicc). One of ...
user avatar
2 votes
1 answer
121 views

Use Cases in Clean Architecture, in Requirements Specifications from Software Engineering and Use Case Diagrams in UML

Well, I've been studying software architecture a lot, Clean Architecture in specific and I came across some multi meanings terms and "Use Case" is one of them. I'd read in some places that ...
user avatar
2 votes
3 answers
200 views

Documenting my abstract class/interface - what is important?

I am still an beginner/intermediate programmer at best so apologies if I misuse terminology. I work with SCADA software for my job, specifically Ignition by Inductive Automation. It's made for rapid ...
user avatar
0 votes
1 answer
57 views

Two actors have same use case but can access different extends (Use Case Diagram)

I am trying to create a use case diagram. In the diagram, I have two actors that have access to the same use case (View Properties) but they have different functions related to the use case. Can ...
user avatar
1 vote
1 answer
32 views

How to present my Actors and Objects inside Sequence diagram for an Online Management Exam system

I am working on an online exam management system, which have those main actors:- Super Admin. Can manage questions/answers under all functional areas. Functional Admin. Can add questions/answers ...
user avatar
  • 123
1 vote
1 answer
117 views

How to represent NoSQL entities

I've mainly studied SQL structures, and I know that the representation of the entities can look something like this: However, I'm building this app with MongoDB, so NoSQL DB. I'm aware that MongoDB ...
user avatar
  • 13
1 vote
2 answers
62 views

Regarding generalization and classification in UML

Currently I am reading UML Distilled - Third Edition (Martin Fowler) to catch up some new thoughts and spot interesting things I am not yet aware of. On of those things I came up is the ...
user avatar
  • 121
0 votes
2 answers
42 views

Use case diagram question confusion

For this question we got for a mock test we did and I have put the correct options in bold Consider the following use case diagram, is it correct to state that: a. Customer directly interacts with ...
user avatar
0 votes
3 answers
63 views

UML - State Machine Diagrams: Mapping States which can be transitioned to from anywhere

I am trying to model a case management system in a UML State Machine Diagram. It is an approval style process and the case can enter a withdrawn state at any time if it is no longer required. This ...
user avatar
0 votes
1 answer
99 views

Sequence diagram question

For this question: Considering the following sequence diagram, it is CORRECT to state that: Select one or more: a. Message 4 might never be executed. b. Message 5 is not complete until the Customer ...
user avatar
1 vote
1 answer
74 views

UML arrowhead confusion

The answer to this question is A however I can't wrap my head around how there is a inheritance given the only information is the quote below (ie. a player is not a kind of team). It would make more ...
user avatar
  • 11
1 vote
2 answers
177 views

How to document a NoSQL document-based data model?

How do you document the logical data model of a document-oriented database like MongoDB? For relational databases, Entity-Relationship diagrams or UML class diagrams are used. What is the practice for ...
user avatar
  • 69
1 vote
2 answers
105 views

Instance of component inside a (non-instance) component. Does it make sense?

A colleague of mine did this UML component diagram to represent both the required/provided interfaces and the internal structure of the subsystems that compose the system we're working on: (The ...
user avatar
  • 309
3 votes
2 answers
113 views

When modeling requirements, how can I depict class diagram attributes whose allowed values are custom defined and in finite number?

I'm drawing the class diagram that depicts the domain model of a system. This diagram is for requirements analysis purposes so it is completely implementation-agnostic. I want to communicate the ...
user avatar
  • 309
2 votes
1 answer
235 views

In a sequence diagram, where do message parameters come from?

I'm drawing some sequence diagrams to give a graphical depiction of the use cases written during the requirements elicitation phase for my project. This is a simple one: Vote Post Use Case ...
user avatar
  • 309
0 votes
2 answers
154 views

Can a socket be connected to many balls in a component diagram?

I have to draw a component diagram that depicts the architecture of my system with its subsystem decomposition and its dependencies. My system has a 3 tier architecture: The top layer just acts as a ...
user avatar
  • 309
1 vote
2 answers
99 views

Depicting association between list and a class inside this list in UML

I'm making an UML class diagram representing classes used for authentication. There are 3 classes: X509AuthenticationFilter ProviderManager X509AuthenticationProvider The X509AuthenticationFilter ...
user avatar
  • 113
-1 votes
2 answers
87 views

Is an abstract role needed to ensure that a customer can only have one role out of several? [closed]

I have the following UML class diagram in a C++ context. I want to make sure that a Customer can have only one role: Can the Customer now only assume one role, and what does <<abstract>> ...
user avatar
  • 11
5 votes
3 answers
98 views

UML Composition parent association end

The Wikipedia article on the Composite Design Pattern includes the following diagram: As you see, there is an association relationship which is child 0..* – 1 parent (association). However, shouldn't ...
user avatar
1 vote
1 answer
101 views

UML Composition parent multiplicity

The Wikipedia article on the Composite Design Pattern includes the following diagram: As you see, there is an association relationship which is child 0..* – 1 parent. However, given that: a ...
user avatar
0 votes
2 answers
139 views

Front end (or View) classes compared to back end classes

I am developing an E-Commerce Web application using C# (back-end) and JavaScript (front-end) for a computing shop. This application mainly displays each stored computer, and all information about it (...
user avatar
  • 65
3 votes
1 answer
191 views

UML activity diagram modeling for multiple input/output Program

I have to create a overview documentation for a simple PLC (programmable logic controller aka industrial automation controller) program (happens to be written in Step 7 but not really important). The ...
user avatar
  • 33
0 votes
0 answers
68 views

Drawing a sequence diagram for a "View posts in a section" use case

As title says, I'm currently working on an alaysis model for a little website similar to Reddit for academic purposes. I have one use cases written like this (They're not in English so they may not ...
user avatar
  • 309
-1 votes
1 answer
90 views

Drawing UML Activity Diagram - Fetching data decision logic

I have a function to fetch data from remote API and store it in local database. Its logic is: Is network available, if yes proceed to next step, if no show error massage. Is app launched for first ...
user avatar
0 votes
1 answer
101 views

Time consideration in multiplicity of classes

In the following image, regarding a CD shop that rents its music CDs. My question is regarding the correct multiplicity of X. I can think of several possibilities for X: X= 1..1 as each copy of ...
user avatar
1 vote
1 answer
71 views

ECB and multiple similar views

My teacher told me that in the entity-control-boundary we need to create a boundary class for each view of mock-up but I can't really understand if this is always true. For example if i have a mock up ...
user avatar
  • 13
1 vote
1 answer
93 views

Do State diagrams Only Represent Individual Objects states?

On website uml-diagrams.org it is mentioned that state machine diagram is a behavior diagram which shows discrete behavior of a part of designed system through finite state transitions. To the best of ...
user avatar
4 votes
1 answer
115 views

Using Choice Node in State Machine Diagrams

In State Machine diagrams, in some online resources, the condition is merely drawn on the arrow (the left figure below) and in others similar to right figure, where a choice node is specifically used. ...
user avatar
1 vote
1 answer
66 views

Videotape copy as an attribute or Class

I am going over tutorials regarding class design; in one, a videotape can have multiple copies and each copy can be borrowed by a borrower. Please see figure A: I am trying to understand why the ...
user avatar
2 votes
4 answers
540 views

A single sequence diagram for the whole system?

Sequence diagrams are used to model use case scenarios i.e., main success scenarios and alternate scenarios. That's what I understand from Craig Larman's book. I understand that it depends a lot on ...
user avatar
  • 135
1 vote
4 answers
93 views

Class Diagram - Aggregating over a class that has physical presence or logical presence?

In the below figure, a CD shop has CD cupboards, and inside it has shelves. CDs could be rented, and class CD Copy represents the actual CDs that are rented. My question is, should I represent Shelves ...
user avatar
  • 339
3 votes
3 answers
162 views

Class A uses class B. Class C contains an instance of A (composition). Should the diagram reflect the fact that C is dependent on A?

I made a simple 2-window UI to practice the Observer pattern (which I hopefully managed to implement correctly): a window with some text fields meant for adding a new book to a list another one ...
user avatar
5 votes
3 answers
439 views

Non Functional Requirements and Use Case Diagrams

My software provides two functional requirements, and I represent them as Do A and Do B in the figure 1 below. At the same time, my software has a non-functional requirement to provide the interface ...
user avatar
  • 213
2 votes
2 answers
72 views

Actors and their representation in the system

I am trying to understand the relationship between actors and their representation in the system. Please see the below figure In the figure on left, I have an abstract representation of my system. In ...
user avatar
1 vote
2 answers
86 views

Use case scenario based on a use case using "uses" or "extends"

In a use case diagram, use case A "uses" use case B. I need to write the scenario based on steps of use case A. Since A "uses" B, I just wanted to confirm that I need to include ...
user avatar
1 vote
5 answers
99 views

Actors participating in use case diagram

Suppose a customer needs to approach a staff member to register her. To model this, I have drawn the image below. However, I am not sure if what I have drawn, actually means both of them can register ...
user avatar
  • 339
-1 votes
3 answers
185 views

How to draw/design a state machine with multiple threading

I'm developing a module, which is very complicated. I'm trying to draw a state machine but I don't know if a state machine can present multiple threading cases. Basically, the module processes the ...
user avatar
  • 211
1 vote
0 answers
87 views

How to measure LSP from SOLID Design Principles using NMI, NME and NMO

I do understand the SOLID Principles and LSP, but I want to be able to meausure how well a class diagram obeys to the LSP. Therefor I have found the "Value of LSP" metric, here is a guide ...
user avatar
  • 21
0 votes
1 answer
338 views

Is the parameter name included in a UML class diagram?

In http://pages.cs.wisc.edu/~hasti/cs302/examples/UMLdiagram.html it is written that "parameter names are not included in the UML class diagram" I haven't been able to find any information ...
user avatar
0 votes
1 answer
107 views

Confusion in UML 2 state chart design for a CAN bus data logging sensor

I have the following requirement to design behavior of a software component for logging sensor, which writes data to SD card a: Datalogging sensor can write data to a FAT16-formatted SD card that is ...
user avatar
-1 votes
2 answers
105 views

What does a database component in a UML diagram represent? [closed]

Sometimes the UML component diagram contains a database component. Does this database component represent a class that programmers create (which includes host, username, password, port... DB ...
user avatar
  • 121
0 votes
0 answers
46 views

How to represent deeply nested data

I work on a project that has a lot of hard-to-grasp data shapes. I'm talking about lists nested as deep as 5 levels. Often I have to reorder the way that data is represented in these lists. For ...
user avatar
  • 109
-2 votes
2 answers
54 views

Multiple Association between two classes in different directions

I'm having trouble with modeling the association between movies and DVD disks - it's my homework for university. So I have a "Film" class and a "Disk" class. One film can be on ...
user avatar
-2 votes
2 answers
191 views

OOP: How to Manipulate Objects Using ORM Techniques?

about those objects and arraylists inside the classes, derived from one-to-many relationships, using the ORM techniques, what's the best way to deal with them at the time of setters and validation ...
user avatar
-1 votes
1 answer
57 views

How use case scenario should look like, when use case have extensions points or include something

I have this simple UC diagram. Firstly, when the customer enters a repair order, the system checks whether the order can be processed (if the repair company can repair this model of device) - UC &...
user avatar
-2 votes
1 answer
205 views

Should customer class have the different function or should i include it in account class in my UML class diagram of banking system?

Should i include the different functions of open account, close account , withdraw in the customer class(as shown in the picture) or should i include it in the account class
user avatar
0 votes
1 answer
107 views

Confused over qualification association in conceptual schema UML

I am getting confused at qualification association. I perform qualification when I need to remove many-to-many relationship or when the PK of a particular table is not able to be uniquely identify a ...
user avatar
  • 11
1 vote
1 answer
117 views

How to represent association classes in a UML component diagram?

Please consider a class diagram and a component diagram as shown below. In the class diagram I use association classes to represent the relationship between two classes (BaseLink and ShoulderLink) as ...
user avatar
1 vote
1 answer
102 views

How to represent "constrained" relationship in UML class diagram?

I'm not sure of the proper nomenclature to describe my question, so let me just jump into an example. Let's say that we're modeling a scenario where: A Vendor can have multiple Customers A Vendor can ...
user avatar
1 vote
1 answer
73 views

Use case descriptions -- where does selection go?

I have a use case for which a user can perform a multiselection. I am writing the use case description and wonder: Should the selection action be documented as a trigger of the use case, or in the ...
user avatar

1
2 3 4 5
12