How to express mutually exclusive inheritance in UML? -


how exemplify class can inherit either of 2 super-classes, not both?

enter image description here

the class property can either represent set of numbers, or cardinal number, not both @ same type.

your sub classing upside down. need set property , cardinal property specialize property. if subclasses have characteristics of set , cardinal, subclass well.


Comments

Popular posts from this blog

PHP while loop dynamic rowspan -

timer - Java TimerTask cancel -

android - How to read a column value in parse.com without accessing an object or a pointer -