|Defining EOpposites on subclasses [message #42751]
||Sun, 04 November 2007 15:08
Originally posted by: marco.pantel.unibw.de|
I have an abstract superclass and three subclasses of it.
Each of the subclasses has got two EReferences to the superclass.
I declared an EReference "container : superclass" in the superclass.
But now the ecore-editor won't let me choose this container-reference as
an EOpposite to one of the subclasses' references. It says "The opposite
must be a feature of the reference's type".
How can I solve this problem?
Do I have to declare three different types of container-references, one
for each subclass?
Powered by FUDForum
. Page generated in 0.03965 seconds