Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » how to use enumerations literal in Atl Program
how to use enumerations literal in Atl Program [message #542389] Thu, 24 June 2010 16:56 Go to next message
wafaa is currently offline wafaaFriend
Messages: 163
Registered: January 2010
Location: Egypt
Senior Member
hi all

can some one explain how to use UML enumeration values in ATL

I want to set the Aggregation Attribute for a property

how can I use the values exist in the UML!AggregationKind
where 1 = shared, 2 = composite and 0 = none
is it like this

to p : UML!Property (
aggregation <- '1'
or

aggregation <- UML!AggregationKind ->at(1)

or what exactly I tried a lot but they caused errors
Re: how to use enumerations literal in Atl Program [message #542396 is a reply to message #542389] Thu, 24 June 2010 17:13 Go to previous messageGo to next message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARDFriend
Messages: 556
Registered: July 2009
Senior Member
#where
Re: how to use enumerations literal in Atl Program [message #542473 is a reply to message #542396] Fri, 25 June 2010 01:08 Go to previous message
wafaa is currently offline wafaaFriend
Messages: 163
Registered: January 2010
Location: Egypt
Senior Member
thank you very much
you mean
#shared
#none
#composite without mentioning even the enumeration name
Previous Topic:AML - Error when creating weaver model in AML Eclipse bundle
Next Topic:[ATL] 1 source 2 target with 2 subdestination and referenc
Goto Forum:
  


Current Time: Mon Nov 04 15:46:03 GMT 2024

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

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

Back to the top