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