yes, exactly like that.
Use the association aInterface interfaceOfA
or use association A a
because A
implements aInterface
and the class A
has the methods written out
To visualize, draw an interface aInterface, and 2 classes, A
and B
.
A implements aInterface
, so there has to be an "implementline" from aInterface to A
. B
has association interfaceOfA
, so there has to be an "associationline" from B
to aInterface
.
Clear?