Skip to main content



      Home
Home » Modeling » OCL » Ecore derived attribute's derivation specialization
Ecore derived attribute's derivation specialization [message #949959] Fri, 19 October 2012 09:42 Go to next message
Eclipse UserFriend
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 10:10 Go to previous messageGo to next message
Eclipse UserFriend
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 10:32 Go to previous message
Eclipse UserFriend
thanks!
Previous Topic:Validate OCL constraints on XMI model
Next Topic:OCL in XText Editor
Goto Forum:
  


Current Time: Fri Apr 25 16:04:42 EDT 2025

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

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

Back to the top