Skip to main content
Software Engineering

Questions tagged [relationships]

The tag has no summary.

Filter by
Sorted by
Tagged with
11 votes
13 answers
6k views

Does it ever make sense to have a one-to-one obligatory relationship in a relational database?

To illustrate what I mean, imagine a group of students and a group of professors in some kind of a traineeship. Every professor is to mentor one student and every student has to be mentored by one and ...
0 votes
1 answer
88 views

if an entity depends on two other entities(that have a relationship between them) should I make the enitity depend on the relationship instead?

If I have three entities (end-user, country, tier) in my system that has relationships as follows: Where each country has its own tiers with specified points per year, and each end-user has a country ...
-1 votes
1 answer
90 views

Designing a Distributed System for Indigenous Data Sovereignty Across Nations [closed]

I'm looking for some quick "back-of-the-napkin" thoughts from systems engineers on the following scenario: A collection of Indigenous groups (in the US, Canada, and Australia) want to design ...
2 votes
4 answers
514 views

Many-to-many modeling for microservices

I have two microservices, say "students" and "courses", they represent separate entities that are managed separately by different teams. A given student can be enrolled in multiple ...
0 votes
1 answer
216 views

Match making algorithm respecting players' choices

I am currently developing an application in Python that has a match making functionality to form sports teams of 4 and group them by skill. The following has been implemented and works. E.g. Form ...
-2 votes
1 answer
115 views

UML relationships

Could someone explain to me if the relation in this class diagram is a "dependency" or "association" relationship and why? I cannot edit the picture. The terms translate into ...
0 votes
1 answer
543 views

Architecture for storing generic data

(I am facing this issue with code written in Swift, but would appreciate any high-level pseudocode solution, just so that I may wrap my head around the architecture) I need to find an architecture ...
-2 votes
1 answer
70 views

Assigning Relationships between various objects in a collection

Similarly to a sports team chemistry or even a better example would be fifa ultimate team chemistry where putting certain players in the team would improve the team's overall chemistry Say there are ...
1 vote
0 answers
717 views

How to handle relationships between resources in Restful API

Problem Hi, we have an API that it's pretty similar to a standard CRM. That is, we have a really big amount of resources (even our own customers can define new resources). All of these resources share ...
5 votes
3 answers
238 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 ...
1 vote
2 answers
1k views

determine correct relations in ERD - Customer Orders use case

The below ERD is taken from a professional architecture reference, however I have a concern in the relation between Customer and Invoice, I believe that relation between Customer to Order , and Order ...
2 votes
3 answers
285 views

OOPS Relationship between Soccer Field and Soccer Player

I am trying to design a simple Soccer game. To keep things simple, I am having a SoccerField to represent the field and a Player class to represent an individual. A SoccerField will contain a list of ...
0 votes
1 answer
119 views

Relationship problem between entities

I'm not sure how I should think regarding my database design. I have made this database schema below. And I'm trying to think about the relationship between the entities. I have read through online ...
user avatar
user390016
2 votes
1 answer
123 views

Best notation to store/read/compute complex relationships

I have created an application in which users and tasks can be entered. A task should be be assigned to one or more users. If more users can do a task, the task should be assigned in such a way that it ...
1 vote
2 answers
3k views

Relationship between entities in different aggregates and size of aggregate

I read a lot about DDD but few thing are still unclear. At this moment I have two dilemma The size of aggregates. How small could be an aggregate? For example we have: class Car { String colorId ...

15 30 50 per page
1
2 3 4 5

AltStyle によって変換されたページ (->オリジナル) /