Kombine Görünüm Yatay Görünüm Ağaç Görünümü
Konular [ Önceki | Sonraki ]
toggle
Inherit relations
community relation documentation
Cevap
27.03.2014 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
Cevap
08.01.2014 07:31 Şuna yanıt olarak gönderilmiştir: Adsız.
 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.