r/DatabaseHelp • • Nov 15 '17
Relationships java help
I'm making a UML diagram and trying to define the relationship between things.
Can you explain the difference between the following:
One-To-Many Relationship, One-To-One Relationship, Zero-To-One Relationship, Zero-To-Many Relationship
Basically, I'm making relationships between the following things: University, School, Department
I made a composition relationship from: University > School > Department
and I just assigned a one-to-many relationship for all of them because I'm not sure which I would apply?
Please help if you can!! Thanks.
1
Upvotes
View all comments
Show parent comment
1
u/[deleted] Nov 15 '17
Thank you a lot I appreciate it!!