EMF Code generation from UML2 model fails [message #627046] |
Fri, 17 October 2008 08:40 |
Timothy Marc Messages: 547 Registered: July 2009 |
Senior Member |
|
|
Hi,
problems don't stop :) Currently, i try to convert a UML2 model (with union
and subset) into a valid Ecore file. It contains an ownership relationship,
similar to the owner/ownedElements from the UML::Class::Kernel::Element.
ModelElement (EClass)
owner (EReference): changeable, non-transient, non-volatile, non-derived
ownedElements (EReference): changeable, non-transient, non-volatile,
non-derived
These both references are opposites. The problem is, that no attribute
ownedElements is generated into the ModelElement class. All the successor
methods are defined, but they produce a Syntax error, because of that
missing attributes. I can fullfill the missing attriibute by hand, but i
think, this is not the best way to handle such a problem?
Thx
TImothy
|
|
|
Powered by
FUDForum. Page generated in 0.01969 seconds