Skip to main content



      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 12:56 Go to next message
Eclipse UserFriend
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 13:13 Go to previous messageGo to next message
Eclipse UserFriend
#where
Re: how to use enumerations literal in Atl Program [message #542473 is a reply to message #542396] Thu, 24 June 2010 21:08 Go to previous message
Eclipse UserFriend
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: Thu Jun 19 03:36:38 EDT 2025

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

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

Back to the top