|
|
|
Re: [Emfatic] bidirectional aggregation [message #1070186 is a reply to message #1068199] |
Wed, 17 July 2013 12:22 |
Phil H Messages: 267 Registered: November 2012 |
Senior Member |
|
|
Hmm while it worked for the most cases, I get a warning for the following model:
class Pl{
unsettable attr EString name = "ProductLine";
val Fm[*]#pl fms;
}
@gmf.node(label="name", label.icon="false", color="238,233,233", border.color="0,0,0")
class Fm{
unsettable attr EString name = "Fm";
ref Pl[1]#fms pl;
@gmf.compartment(layout="list")
val Vc[*]#fm internalVc;
}
@gmf.node(label="expression", label.icon="true", figure="rectangle", border.color="0,0,0", color="238,233,233")
class Vc{
unsettable attr EString expression = "Vc";
ref Fm[1]#internalVc fm;
}
I get the following warning, which is caused of the bidriectional reference between the classes Fm and Vc:
- A containment reference of a type with a container feature org.eclipse.emf.ecore.impl.EReferenceImpl@59e38a{platform:/resource/dummy#//Vc/fm} that requires instances to be contained elsewhere cannot be populated
I've no idea what is the problem in this case? Have I missed something?
Cheers,
Phil
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03989 seconds