Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » static variables and functions
static variables and functions [message #472822] Sat, 28 April 2007 00:58 Go to next message
Pradeep is currently offline PradeepFriend
Messages: 61
Registered: July 2009
Member
Hi,

I might be missing something here. But I couldn't find a way to specify
variables and operations as static in EMF. I created UML model using the
editor and set some variables as static. But when it got converted to EMF
and later to code the "staticness" is lost. What could be the problem?

Also when I browsed the properties in EMF editor, I couldn't find the static
property.

Thanks
Pradeep
Re: static variables and functions [message #472827 is a reply to message #472822] Sat, 28 April 2007 12:50 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Pradeep,

No, there's no support for modeling static variables or static methods
(the latter wouldn't make sense in interfaces anyway).


Pradeep wrote:
> Hi,
>
> I might be missing something here. But I couldn't find a way to specify
> variables and operations as static in EMF. I created UML model using the
> editor and set some variables as static. But when it got converted to EMF
> and later to code the "staticness" is lost. What could be the problem?
>
> Also when I browsed the properties in EMF editor, I couldn't find the static
> property.
>
> Thanks
> Pradeep
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: static variables and functions [message #613757 is a reply to message #472822] Sat, 28 April 2007 12:50 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Pradeep,

No, there's no support for modeling static variables or static methods
(the latter wouldn't make sense in interfaces anyway).


Pradeep wrote:
> Hi,
>
> I might be missing something here. But I couldn't find a way to specify
> variables and operations as static in EMF. I created UML model using the
> editor and set some variables as static. But when it got converted to EMF
> and later to code the "staticness" is lost. What could be the problem?
>
> Also when I browsed the properties in EMF editor, I couldn't find the static
> property.
>
> Thanks
> Pradeep
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:static variables and functions
Next Topic:uml->ecore bug? "_UI_DerivedFeatures_label" resource missing?
Goto Forum:
  


Current Time: Fri Apr 26 05:14:52 GMT 2024

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

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

Back to the top