Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » create InterfaceRealization issue
create InterfaceRealization issue [message #628384] Thu, 22 April 2010 15:05
Ioana is currently offline IoanaFriend
Messages: 10
Registered: April 2010
Junior Member

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)?

Previous Topic:Re: How to transform a textual description of a UML model to UML2 format
Next Topic:How to : UML deep modifications
Goto Forum:

Current Time: Fri Jun 22 15:39:34 GMT 2018

Powered by FUDForum. Page generated in 0.01630 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top