Skip to main content



      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 18:46 Go to next message
Eclipse UserFriend
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 18:48] by Moderator

Re: Problems transform two objects referencing the same third [message #870945 is a reply to message #870603] Thu, 10 May 2012 06:17 Go to previous message
Eclipse UserFriend
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 Jul 25 01:46:16 EDT 2025

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

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

Back to the top