Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » Enumeration Type
Enumeration Type [message #24476] Mon, 19 March 2007 12:16 Go to next message
Eclipse UserFriend
Originally posted by: yassin_chkouri.yahoo.fr

Hello,
i have problem with enumeration. when i write :
if(st.b = #lazy)
there are an error message compilation : " Expecting NAME, found 'lazy' ".
when i show the documentation of ATL there are the same expression :
if(aPerson.gender = #male)

some one can help me
thank in advance

Yassin
Re: Enumeration Type [message #24641 is a reply to message #24476] Mon, 19 March 2007 12:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marcos.didonet-del-fabro.univ-nantes.fr

Hello,

this happens because "lazy" is an ATL keyword (to define lazy rules).

If you want to use the lazy word anyway, you write it under ". For example: #"lazy".

There is an post on the ATL archive about this topic:

http://www.sciences.univ-nantes.fr/lina/atl/www/atl_discussi on_archive/2062.html

Regards,

Marcos.

yassin wrote:
> Hello,
> i have problem with enumeration. when i write : if(st.b = #lazy)
> there are an error message compilation : " Expecting NAME, found 'lazy' ".
> when i show the documentation of ATL there are the same expression :
> if(aPerson.gender = #male)
>
> some one can help me
> thank in advance
>
> Yassin
>
[ATL] Re: Enumeration Type [message #26322 is a reply to message #24476] Thu, 29 March 2007 15:42 Go to previous message
Eclipse UserFriend
Dear Yassin,

Sorry to bother the group again with this,
but all questions and transactions on this newsgroup
should be prefixed by the mention of the specific component.
In this case the prefix should be [ATL].
I insert it in this answer, but please remember to use it
in further transactions on the present newsgroup.

There are two other QVT components that are going to be contributed
later in this M2M project, coming from Borland and Compuware.
When these are available we'll absolutely need to separate clearly
the various threads of discussion. It's better to start now with the good
habits event if ATL is the first of the available M2M components.

Best regards,

Jean

"yassin" <yassin_chkouri@yahoo.fr> a
Previous Topic:resolveTemp in combination with multiple source patterns
Next Topic:[ATL] News ATL Use Case - Sharing Rules Between OCL/UML and SWRL/OWL
Goto Forum:
  


Current Time: Wed Apr 16 02:44:05 EDT 2025

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

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

Back to the top