Skip to main content



      Home
Home » Modeling » UML2 » Programmatically modifiying an association end
Programmatically modifiying an association end [message #625116] Mon, 08 October 2007 07:59
Eclipse UserFriend
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: Sun Aug 31 03:31:26 EDT 2025

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

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

Back to the top