Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » EMF Code generation from UML2 model fails
EMF Code generation from UML2 model fails [message #627046] Fri, 17 October 2008 08:40
Timothy Marc is currently offline Timothy MarcFriend
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
Previous Topic:Re: Building UML2-approximated Model in EMF
Next Topic:Main intention of PackageMerge
Goto Forum:
  


Current Time: Mon Mar 30 11:19:21 GMT 2020

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

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

Back to the top