Problems transform two objects referencing the same third [message #870603] |
Tue, 08 May 2012 18:46  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.05538 seconds