| create InterfaceRealization issue [message #628384] |
Thu, 22 April 2010 11:05 |
Ioana Messages: 10 Registered: April 2010 |
Junior Member |
|
|
Hi
I have the following problem : I need to create a interface realization for a class
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
sourceClass.getInterfaceRealizations().remove(existingModel) ;
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)?
Thanks,
Ioana
|
|
|
Powered by
FUDForum. Page generated in 0.01364 seconds