UML modeling - How to represent a multi-way inheritance onto a class diagram? -


how may situation represented onto class diagram more elegant (and professional) way (using inheritances ?) ?

an actor [class] can physical person [class] or company [class], not both.
actor can inner actor [class] or external actor [class], not both.
inner actor can physical person or company, not both.
external actor can physical person or company, not both.

of course, here, each said class has specific attributes, methods , relations other classes onto diagram.

if don't mind multi-inheritance consider that:

multi-inheritance

(the inner actor displayed tow times simplify diagram, same class.)


Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -