Skip to main content
-1 votes
0 answers
59 views

I have a class with only a main(), but inside that many variables are there. Should I include all those variables inside the main function into class diagram or just specify only: Class name nil +...
Yumna Nizar's user avatar
3 votes
2 answers
131 views

According to the UML specifications: Associations can be established between Classifiers Association are themselves Classifiers So, is it allowed according to the UML 2.5.1 specification to have an ...
Nevandar's user avatar
2 votes
1 answer
77 views

Today I commented this answer showing a possible implementation of a map in the diagram below, saying it is wrong. In that answer the diagram is : For me the aggregation between the template classes ...
bruno's user avatar
  • 34.3k
-4 votes
1 answer
172 views

I'm a bit rusty with UML and unsure if my class diagram effectively represents the architecture of my Unity system. Goal: I'd like the diagram to clearly show how GUI elements get updated through a ...
Andrea Cumino's user avatar
4 votes
2 answers
54 views

In a database how could I enforce the minimum participation constraint? in the T1 schema when you insert it must have at least 1 association with T2. To enforce this I had thought of various solutions ...
dok's user avatar
  • 469
4 votes
1 answer
181 views

I'm designing a UML class diagram for a messaging app. Each Chat must have exactly 2 Users, and each User can be part of multiple Chats. I originally modeled this with a composition from User to Chat. ...
jenepix's user avatar
  • 49
1 vote
1 answer
37 views

a constraint requires me that. "the value of B, present in table B1, must always be less than that of A present in table C1". is it correct to implement two triggers to do this? one that is ...
dok's user avatar
  • 469
1 vote
0 answers
194 views

I am using Papyrus for UML Diagram. I am facing an error in class diagram. I am getting this popup window multiple times. How to resolve this issue? An error has occurred. See error log for more ...
Sravs's user avatar
  • 11
0 votes
1 answer
73 views

Eclipse Papyrus class diagram (Java). How can I define as a list to my attribute carList? private List<Car> carList = new ArrayList<>(); I'm only able to define type as String, int, ...
boy's user avatar
  • 41
1 vote
1 answer
102 views

I'm working on a UML diagram using PlantUML to represent a simple ordering system. I’ve written the code, but I’m not sure if it's fully accurate. What can I improve or correct? Diagram produced by ...
Chris Jhon Cobrador's user avatar
2 votes
2 answers
145 views

I have modeled the relationship between LeaseAgreement and Person as an aggregation. The '1' on the Person side is meant to indicate that each LeaseAgreement has exactly one reference to a Person (in ...
Z.J's user avatar
  • 387
4 votes
2 answers
220 views

I have a class Car, an enum Position, and a class Wheel. In Car, I have a map attribute: private Map<Position, Wheel> wheels; I want to represent this structure in a UML class diagram. My ...
Activa Suit's user avatar
1 vote
2 answers
88 views

Below code shows a example of the dependency injection pattern in C++, what's the uml relationship between Car and GasolineSource interface? #include <iostream> #include <memory> using ...
lucky1928's user avatar
  • 9,021
1 vote
2 answers
131 views

How would i show that Class1Repo uses Class1 as a type in this UML class diagram? Do i put something on the dashed line or should i specify which type the methods return in Class1? interface ...
John's user avatar
  • 311
1 vote
1 answer
181 views

How do I show the relation between a class named ApiService with method named fetchDataFomAPI() and a class named Student. Can I link them directly ? an aggregation between the two classes Student-(...
JuniorDev's user avatar

15 30 50 per page
1
2 3 4 5
107