UML diagram: how to show the interface that is implemented by most classes in my class diagram

I have an interface like:

public interface MyEntity { //HIbernate version public long getOptLock(); //these method are used to keep track of Last modified timestamp public void update(); public void persist(); } 

which is implemented by most classes in my object model. Now I know how to show the implementation of an interface in a class diagram.

The problem is that this particular interface is implemented by most classes, which is why the cluster diagram is cluttered. Is there an alternative way to show interface implementation?

+6
source share
1 answer

An alternative way is to use the lexip notation , right above each class that implements the interface:

See this image from the msdn website.

For the full article, see the link.

+6
source

All Articles