Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Inherit relations
community relation documentation
Antwort
27.03.14 12:10
 I have two clases: one called "A" and the other called "B". The last one has two sub-clases "BA" and "BB" and there´s also a relation between A and B (aPb). I would like to know if there is the possibility to also relate "A" with "BA" or "BB" without defining two other relations.What I mean is that I want "BA" and "BB" sub-classes inherit the relation aPb. I've been trying some things but i couldn't make them work. How should I define the relation?

RE: Inherit relations
relation inherit
Antwort
08.01.14 07:31 als Antwort auf Anonym.
 If you have class A, class B and relation class aPb from A to B and then you derive class BA from class B, you can draw a connector of type aPb from an instance of class A to an instance of class BA.