Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Problems transform two objects referencing the same third
Problems transform two objects referencing the same third [message #870603] Tue, 08 May 2012 22:46 Go to next message
Flower Missing name is currently offline Flower Missing nameFriend
Messages: 8
Registered: October 2011
Junior Member
Hello! I'm stuck with something fairly basic in ATL transformation .. If two or more pieces of my input model IN, reference to an object, the transformation is only one of them benefited from the reference, it seems as if the referenced object transforms it once and do not take the following reference. .

The question I would like to reference an instance of an object and become the model output ..

eg

metgetAll: JAVA! Method (
name <- 'getAll_' + p_class.name.firstToUpper (),
returnType <- 'Float_type'. dataType (),
owner <- p_idao,
visibility <- # public,
isStatic <- false,
isFinal <- false
)

metgetAllParam: JAVA! Method (
name <- 'getAll_yyy' + p_class.name.firstToUpper (),
returnType <- 'Float_type'. dataType (),
owner <- p_idao,
visibility <- # public,
isStatic <- false,
isFinal <- false
)

In the example 'Float_type'. DataType (), returns me an object of type Float, but in the model output only one of the two methods it contains and the other is empty .. I need that the two methods referencing the same object

I hope I have been able to explain and someone can help me ..
Many thank you very much!
flower

[Updated on: Tue, 08 May 2012 22:48]

Report message to a moderator

Re: Problems transform two objects referencing the same third [message #870945 is a reply to message #870603] Thu, 10 May 2012 10:17 Go to previous message
El Arbi Aboussoror is currently offline El Arbi AboussororFriend
Messages: 90
Registered: June 2010
Member
Can you paste the rule and the used helpers.
Previous Topic:Re: [ATL] how can I the filename of the source model?
Next Topic:[ATL] referencing to element created from a lazy rule
Goto Forum:
  


Current Time: Fri Apr 26 09:04:33 GMT 2024

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

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

Back to the top