Search code examples
javaeclipseeclipse-pluginumlobjectaid

Simplify a UML diagram by removing intermediary interfaces (created with ObjectAid)


In a project I have a rather complex class design with many interfaces and implementing classes. When I create an UML diagram it gets rather big. If I would be able to remove intermediary interfaces this would save a lot of space in the diagram.

As I am not very experienced with UML I have two questions:

  • is removing intermediary interfaces "legitimate" in UML ?
  • how could this be done with ObjectAid UML Explorer ?

Here is a simplified diagram that should show what I am talking about. If I were able to remove interface Person and only show the connection with class PersonImpl this would be sufficient.

This is what I would like to achieve (sorry, I did not have access to a better image manipulation program):

enter image description here


Solution

  • What you can do is to use the lollipop notation:

    Lollipop

    Which is also called the Ball & Socket.