Questions tagged [uml]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
27 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 ...
-4
votes
0answers
26 views

Draw UML Class Diagram this case [closed]

The main idea is to implement an online system for managing the internet customers and complaint system for customers for raising complaints on the issues related to ISP provider and provide best ...
-1
votes
1answer
35 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 ...
0
votes
1answer
87 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 ...
1
vote
1answer
35 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 ...
1
vote
1answer
64 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 ...
4
votes
1answer
93 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. ...
1
vote
1answer
65 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 ...
2
votes
4answers
370 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 ...
1
vote
4answers
88 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 ...
3
votes
3answers
149 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 ...
4
votes
3answers
165 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 ...
2
votes
2answers
53 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 ...
1
vote
2answers
71 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 ...
1
vote
5answers
74 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 ...
-1
votes
3answers
82 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 ...
0
votes
0answers
74 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 ...
0
votes
1answer
71 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 ...
0
votes
1answer
77 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 ...
-1
votes
2answers
67 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 ...
0
votes
0answers
38 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 ...
-2
votes
2answers
40 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 ...
-2
votes
2answers
180 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 ...
-1
votes
1answer
53 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 &...
-2
votes
1answer
66 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
0
votes
1answer
62 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 ...
1
vote
1answer
64 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 ...
1
vote
1answer
76 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 ...
0
votes
0answers
34 views

How to draw internal patterns used by the Spring boot framework in UML class diagrams?

I am currently in university and doing some practical work as a module. The professor demands that we work with the waterfall model and we are currently in the design phase. The requirements for the ...
1
vote
1answer
58 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 ...
-1
votes
1answer
128 views

How to represent EITHER in UML Diagram [closed]

I am working on a small project and I tried to represent the following two requirements in my diagram: An album may be performed by either a singer or a band (not both). My plan to implement this ...
10
votes
4answers
2k views

Can a class contain its own class?

Suppose I have the following class structure: A forest can have any number of trees, but each tree can belong to only one forest. If the forest is deleted, the tree is deleted. A tree must have at ...
0
votes
1answer
64 views

Use Case diagram include or extend

I need to make an UC diagram for a project of mine, but I don't know when to use include or extend. My actor (a Professor) can choose one of his students and do some operations (ex: see his grades), ...
2
votes
2answers
744 views

When is a "port" used in UML component diagram?

I currently stumbled over the the concept of "ports" in UML component diagrams and I'm not entirely sure how they are supposed to be used. Sometimes, ports seem to be used generally as start ...
2
votes
2answers
113 views

How to model relations in UML Class and Object diagram for simple Graph structure

I'm trying to model a simple Graph structure as an UML Class Diagram and Object Diagram. A Graph can have multiple Nodes and knows it's starting Node. Every Node has a predecessor and a successor Node....
2
votes
2answers
157 views

How to design correctly relationships of class diagrams?

I'm learning OOP so I decided to start a new project, a chess tournament manager. Here you can read about chess tournaments https://en.m.wikipedia.org/wiki/Chess_tournament Basically the user will be ...
-2
votes
3answers
62 views

Use Case Diagram cannot defined the actor

The environment is like this. An attendant is sitting on a chair operating a computer with a piece of software. She can type some text on this piece of software, so that a panel far away speaks that ...
2
votes
6answers
951 views

UML: what is the correct order of steps?

I was reading an old text book "Beginning C# Object oriented programming" from 2011. The author in one case employs the "use case" to identify classes and then goes to draw a class ...
0
votes
1answer
102 views

Inheritance and association relationships in UML

I was creating a class model using inheritance, and have a situation I don't know how to represent. For this question I built an example diagram in which I have a class Person with some attributes. I ...
1
vote
1answer
2k views

What can be an Actor in a subsystem sequence diagram?

I am doing a lot of sequence diagrams. We decided to start at a subsystem level of abstraction because we do not have all the details yet. In my diagrams I was using this definition of Actor: In UML, ...
-1
votes
1answer
78 views

Is UML suitable for designing a warehouse workflow?

I need to design a warehouse workflow: the cartons that enter, then the flow of a box, returns, porcessing of damaged good, cancellation at different stages, and transfer from a stock to another. Each ...
2
votes
1answer
62 views

Feedback for Use Cases Model

I'm study UML and I have nobody for verify my solutions so hence I will greatly appreciated if anyone give me some feedback. I'm doing exercises about use cases and sometimes it's hard for me know if ...
3
votes
1answer
49 views

UML v2.5.1 correct notation of blanks in operations (methods)?

In the UML specification 2.5.1 (Link) on page 117 it is specified that the notation of operations (methods) should look like the following: [<visibility>] <name> ‘(‘ [<parameter-list>...
5
votes
1answer
613 views

Modelling java annotations in an UML class diagram

Goal: I am trying to create a UML class diagram for a java spring application. Spring uses a lot of annotations and I couldn't find any resources online on how to properly model them in UML. I know ...
-1
votes
1answer
106 views

Activity Diagram Feedback

I need some consultation on the correctness of the activity diagram, that I have created for the following scene: I have one dictionary structure, that I want to compare to other dictionaries. for the ...
1
vote
1answer
159 views

Is it helpful to create UML diagrams when developing a mobile app alone?

I'm thinking of developing my first mobile app and now that I have chosen the language(react native), created the wireframes and done almost all the preliminary work, I'm about to start the actual ...
1
vote
1answer
74 views

Is my Sequence diagram correct? I need some comments

It's a SEQ diagram designed for a smartwatch app to receive zone level of feeling from an adult with autism on their smartwatch and provide a recommendation based on their input. The scenario is like ...
2
votes
1answer
136 views

What is a good way to understand the relationship between a UML class diagram and an implementation?

At my uni the software design teachers like to ask questions about UML diagrams, such as this: In the following class diagram, can class Bar’s bar() operation modify Bar’s b attribute? Can it modify ...
1
vote
1answer
268 views

(UML) Can parameter variables be omitted in a lengthy constructor?

I have the following constructor in a class for a code I'm writing an assignment on for school: public Plant(int xPos, int yPos,int width,int height, int hp,String imageLocation,String audioLocation,...
-1
votes
2answers
290 views

Is the UML diagram a good solution for project design and documentation? [duplicate]

I want to lead an Angular + NodeJS project. As this is my first experience, I thought about using UML diagram as both designing/architecting the project and also the project's documentation. But I am ...

1
2 3 4 5
12