From
Fowler, Martin with Kendall Scott. UML distilled: a brief guide to the standard object modeling language. 2nd ed., 2000, Addison Wesley
p.83
"All subtypes with the same discriminator are disjoint; that is, any instance of the supertype may be an instance of only one of the subtypes within discriminator. A good convention is to have all subclasses that use one discriminator roll up to one triangle, as shown in Fig 6-4. Alternatively, ... "
p.84
"To illustrate, note the following legal combinations of subtypes in the diagram: (Female, Patient, Nurse); ...."
OK, how will we call the inheritance with one separate discriminator per class?
Books on
Java or on
patterns, illustrated in UML and Java code, frequently show inheritance with "separate discriminator" implying possibility of instances belonging to more than one subtype..
But I cannot understand how in Java I can have simultaneously an instance of a few siblings (it resembles me more a multiple inheritance!)?