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:
(the inner actor displayed tow times simplify diagram, same class.)
Comments
Post a Comment