Xem kết hợp Flat Xem Xem cây
Luồng thảo luận [ Trước | Tiếp theo ]
toggle
Inherit relations
community relation documentation
Câu trả lời
12:10 27/03/2014
 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
Câu trả lời
07:31 08/01/2014 gửi bài phản hồi tới Cho phép người dùng chưa đăng ký.
 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.