EMFに関する非常に基本的な問題が残っています。EMF(Meta)モデルのID /キー定義
EClass A:
aID : EInteger (Key: true)
EClass B:
bID : EInteger (Key: true)
EClass C:
Reference refA: to elements of A, containment: true, EKeys: aID, 0 .. n
Reference refB: to elements of B, containment: true, EKeys: bID, 0 .. n
ここに問題があります。私のaとbの両方のリストでは、IDを0からnにしたいと思っています。しかし、私がこれをすると、私はメッセージを受け取ります:
The ID '1' of 'A' collides with that of 'B'
私の問題がはっきりと記述されることを願っています。誰かが私が間違っていることを知っていますか?ありがとう!