Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Programmatically modifiying an association end
Programmatically modifiying an association end [message #625116] Mon, 08 October 2007 11:59
JP is currently offline JPFriend
Messages: 8
Registered: July 2009
Junior Member
Hello,

I am trying - desperately - to write code to move one association end
from one class to another. I changed the type successfully of the
association end/property (prop.setType(newType)), but the property
remains listed as an attribute of the initial class. I get a run-time
exception if I try to do things like
myInitialClass.getAttributes().remove(prop). Anyone has any idea of what
I'm doing wrong?

Regards,
JP
Previous Topic:Load a model programmatically
Next Topic:Missing source/target attribute from ActivityEdge when xmi:id different than name attribute
Goto Forum:
  


Current Time: Sat Apr 27 05:20:28 GMT 2024

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

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

Back to the top