Define cardinality using interface

980 views Asked by At

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

1

There are 1 answers

0
Xaelis On

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