Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Element extends EModelElement? For what purpose?
Element extends EModelElement? For what purpose? [message #478550] Thu, 25 June 2009 12:25 Go to next message
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
Hey all,

after investigating the UML.ecore, i just wondering that UML::Element
extends ECore::EModelElement... i've expected a <<instance of>>
relationsship between UML::Element and Ecore::EClass...

For what purpose was this generalization declared?

Thanks
Timothy
Re: Element extends EModelElement? For what purpose? [message #478552 is a reply to message #478550] Thu, 25 June 2009 14:16 Go to previous message
Kenn Hussey is currently offline Kenn Hussey
Messages: 1618
Registered: July 2009
Senior Member
Timothy,

This generalization was introduced (way back in 2002) to reuse the
annotation mechanism from EMF. There are pros and cons to this(many of
which have been pointed out over the years), but it is what it is. ;)

Kenn


Timothy Marc wrote:
> Hey all,
>
> after investigating the UML.ecore, i just wondering that UML::Element
> extends ECore::EModelElement... i've expected a <<instance of>>
> relationsship between UML::Element and Ecore::EClass...
>
> For what purpose was this generalization declared?
>
> Thanks
> Timothy
Re: Element extends EModelElement? For what purpose? [message #627730 is a reply to message #478550] Thu, 25 June 2009 14:16 Go to previous message
Kenn Hussey is currently offline Kenn Hussey
Messages: 1618
Registered: July 2009
Senior Member
Timothy,

This generalization was introduced (way back in 2002) to reuse the
annotation mechanism from EMF. There are pros and cons to this(many of
which have been pointed out over the years), but it is what it is. ;)

Kenn


Timothy Marc wrote:
> Hey all,
>
> after investigating the UML.ecore, i just wondering that UML::Element
> extends ECore::EModelElement... i've expected a <<instance of>>
> relationsship between UML::Element and Ecore::EClass...
>
> For what purpose was this generalization declared?
>
> Thanks
> Timothy
Previous Topic:PackageMerge in UML metamodels
Next Topic:UML to XSD
Goto Forum:
  


Current Time: Mon Sep 22 00:16:20 GMT 2014

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

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