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

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -