Home » Archived » M2M (model-to-model transformation) » [QVT-R & ATL] External parameters - Global variables
[QVT-R & ATL] External parameters - Global variables [message #693032] |
Tue, 05 July 2011 16:38 |
Bler Messages: 26 Registered: June 2010 |
Junior Member |
|
|
Hi there,
I'm doing a transformation of a UML diagram .. I need urgently, if any of you could help me, please. My problem is as follows:
Is it possible to pass external parameters to a program ATL and QVR-Relation, eg. x = "ClasseName.", and how can we do it, please?
Can we declare global variables in ATL and QVT-Relations, if yes, how can we do it, please?
Thanks à lot,
With regards,
Bler.
|
|
|
Re: [QVT-R & ATL] External parameters - Global variables [message #693045 is a reply to message #693032] |
Tue, 05 July 2011 16:52 |
Ed Willink Messages: 7670 Registered: July 2009 |
Senior Member |
|
|
Hi
No/Yes.
In QVTr I would recommend defining a GlobalVariable meta-model and then
passing an instance of this as an additional input to your transformation.
Regards
Ed Willink
On 05/07/2011 17:38, Bler wrote:
> Hi there,
>
> I'm doing a transformation of a UML diagram .. I need urgently, if any
> of you could help me, please. My problem is as follows:
>
> Is it possible to pass external parameters to a program ATL and
> QVR-Relation, eg. x = "ClasseName.", and how can we do it, please?
> Can we declare global variables in ATL and QVT-Relations, if yes, how
> can we do it, please?
>
> Thanks à lot,
>
> With regards,
> Bler.
>
|
|
| |
Re: [QVT-R & ATL] External parameters - Global variables [message #694065 is a reply to message #693937] |
Thu, 07 July 2011 18:02 |
Ed Willink Messages: 7670 Registered: July 2009 |
Senior Member |
|
|
Hi
In principle, yes, but the Eclipse QVTd project is a long way from
meeting such things in practice.
Regards
Ed Willink
On 07/07/2011 15:05, Bler wrote:
> HI Edward,
> Thanks a lot for your information's, in addition, I would like to know
> does it possible, in QVT-Relations, to use a transformation defined in
> a other file (.qvt), can we import it, please ?
>
> With regards,
> Bler.
|
|
| | |
Goto Forum:
Current Time: Thu Sep 19 06:54:27 GMT 2024
Powered by FUDForum. Page generated in 0.03683 seconds
|