I have the following problem : I need to create a interface realization for a class (sourceClass)
existingModel = sourceClass.createInterfaceRealization(name, null);
// I need only to create the element, not to add it to the interface realizations list, so I do a remove
On saving the resource, I have a DanglingHrefException - it sais the InterfaceRealization is not contained in the resource.
I've discovered that "add" sets different features (clientDependency included), but "remove" does not remove it.
Is it something I've missed? or is this the "normal" behaviour (and unfortunately a bug)?
[Updated on: Fri, 23 April 2010 02:06]
Report message to a moderator