guisantogui
guisantogui

Reputation: 4136

Define cardinality using interface

I'm getting a problem in UML, I have a class that must to have three another classes, that's okay, but when i try to put an interface between this connection I stuck, is there some good way to make a cardinality 1 to 3?

That is my class diagram actually.

My UML diagram class

Upvotes: 1

Views: 1059

Answers (1)

Xaelis
Xaelis

Reputation: 1599

If what you want to say is "An evaluation is linked to 3 any features" your model is correct. But if what you want to say is "An evaluation is linked to a consumption, a punctuality and a Trustworthiness. And each of theses is a feature". The correct model is something like this:

enter image description here

You can make a copy of this model here

Upvotes: 2

Related Questions