Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Ecore derived attribute's derivation specialization
Ecore derived attribute's derivation specialization [message #949959] Fri, 19 October 2012 13:42 Go to next message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 550
Registered: June 2011
Senior Member
Hi,

I would like to know the possibility of overriding the ocl derivation statements of derived attribute in specialization class?

Is it supported in Ecore?

Cheers,
Re: Ecore derived attribute's derivation specialization [message #949983 is a reply to message #949959] Fri, 19 October 2012 14:10 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

I'm not entirely clear what you mean.

Generally (UML, Java, Ecore), Properties are not overrideable, although
in UML they are redefinable.

If you want overriding you should use Operations, and if you want it to
look like a Property, introduce a Property at the root that delegates to
an Operation.

Regards

Ed Willink


On 19/10/2012 14:42, ModelGeek Mising name wrote:
> Hi,
>
> I would like to know the possibility of overriding the ocl derivation
> statements of derived attribute in specialization class?
>
> Is it supported in Ecore?
>
> Cheers,
>
Re: Ecore derived attribute's derivation specialization [message #950002 is a reply to message #949983] Fri, 19 October 2012 14:32 Go to previous message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 550
Registered: June 2011
Senior Member
thanks!
Previous Topic:Validate OCL constraints on XMI model
Next Topic:OCL in XText Editor
Goto Forum:
  


Current Time: Thu Apr 25 01:22:59 GMT 2024

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

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

Back to the top