|Re: Definion of variables inOclInEcore [message #714898 is a reply to message #714789]
||Thu, 11 August 2011 17:26
| Ed Willink
Registered: July 2009
Neither OCL nor Ecore support gloabal variables.
All variables have a scope, perhaps as class properties, perhaps as
operation parameters, perhaps at let variables.
If you really want 'global' variables, create a package called global
and a class called Global and put your 'global' variables there.
On 11/08/2011 15:02, AmenieV wrote:
> How can I declare variables in OclInEcore Classes,
> I don't want to declare it in a constraint ,just in the Class
> to call it after .
> And Can I declare it as global variable to use it in all classes of my
> .ecore ?
Powered by FUDForum
. Page generated in 0.02099 seconds