Skip to main content



      Home
Home » Modeling » UML2 » EMF Code generation from UML2 model fails
EMF Code generation from UML2 model fails [message #627046] Fri, 17 October 2008 04:40
Eclipse UserFriend
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
Previous Topic:Re: Building UML2-approximated Model in EMF
Next Topic:Main intention of PackageMerge
Goto Forum:
  


Current Time: Sat Jul 19 13:40:22 EDT 2025

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

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

Back to the top