Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Association Class in Ecore
Association Class in Ecore [message #881374] Mon, 04 June 2012 08:35 Go to next message
ModelGeek Mising name is currently offline ModelGeek Mising name
Messages: 458
Registered: June 2011
Senior Member

Does ecore supports Association Class?

Lets say: student * * courses and EnrolledIn is the association class
with an attribute grade. I would expect something like student *
EnrolledIn * courses.

Any ideas?


[Updated on: Mon, 04 June 2012 08:37]

Report message to a moderator

Re: Association Class in Ecore [message #881419 is a reply to message #881374] Mon, 04 June 2012 10:11 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 3844
Registered: July 2009
Senior Member

Not really; but it depends what you mean by support.

If you map an Association Class to an EClass then many of it's
characteristics are preserved.

I'm not sure how the UML2Ecore converter handles AssociationClasses and
whether it gives you any choices.


ed Willink

On 04/06/2012 13:35, ModelGeek Mising name wrote:
> Hi,
> Does ecore supports Association Class?
> Cheers,
Previous Topic:OCL + eGenericType
Next Topic:constraint on EReference
Goto Forum:

Current Time: Sat Apr 19 11:47:05 EDT 2014

Powered by FUDForum. Page generated in 0.05662 seconds