Questions tagged as 'uml'

1
answer

Aggregation and composition in various relationships

Given a class A, let's say that the relation between this class A and a class B is composition, where A is the class "all" and B is the class "part". Given a third class C, can there be another composition between B and C, so that in this new re...
asked by 11.01.2016 / 21:40
1
answer

UML Questions for System in Rails

My question is the following. Rails controllers for basic CRUD operations require several methods that are repeated throughout the application's controllers. I'm drawing the diagrams for a CBT application that has several CRUD's, and so I'm find...
asked by 07.07.2014 / 01:00
2
answers

Modeling a friend system database

Hello, I'm developing an application where there will be an option to add friends, it's very simple, it's not social network, but you have to add a friend. I have the user table. Which tables and which relationships do I have to create to add fr...
asked by 10.11.2014 / 18:18
2
answers

Doubt in class diagram

Good afternoon. Here's the class diagram question with the diagram I've been able to do. Describe the class diagram for a simple system of reservation and occupation of rooms to a hotel. The system must store reservations made by an employ...
asked by 11.04.2017 / 19:53
0
answers

UML - Use Case

Hello, I am a doubt about the elaboration of a use case, and I wonder if I can apply Generalization / Specification in cases of uses or is it just in the actors? Example 1 (No Generalization / Specification) Inthiscaseofuse,theofficialActorc...
asked by 30.06.2018 / 18:27
1
answer

UML - Use Case Specification

I have to specify a use case 'Register Company (CRUD)', which is used by 3 actors: Employee (Which can only change the temperature registered in the company) Attendant (Employee specialization, which can register companies) Trustee (What...
asked by 10.05.2016 / 14:57
1
answer

Should all inherited attributes be used?

I am building a class diagram, where several classes have 3 equal attributes, and one class has only 2 of these attributes. So I thought about creating a parent class with all those repeating attributes, and creating multiple daughters. In th...
asked by 19.03.2017 / 03:19
2
answers

How do you model a role in object orientation?

Some things are not very clear to me these days. How do you normally model a role in object orientation? It's through a composition, right? For example, to model that a% of performs the role of a Pessoa or Cliente , it is mo...
asked by 01.09.2018 / 15:40
1
answer

Difficulty of Abstraction in Use Cases

I'm starting to study Use Cases and the following question came to me: Difficultyofabstraction:Ioftenconfusemyselfbycreatingseveralusecasesbutactuallyhewouldneedonlyone,forthisonewouldrepresentall.Arethereanytipsforknowingwhatisandisnotausec...
asked by 10.08.2016 / 21:58
1
answer

Java POO - World Cup Modeling [closed]

I am entering the universe of Object Orientation and, driven by curiosity, I decided to try to simulate the organization of a World Cup through these concepts. Well, I have some difficulties with the classes and I would like your help so that...
asked by 15.06.2018 / 22:07