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 12:38  |
Eclipse User |
|
|
|
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 12:52   |
Eclipse User |
|
|
|
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 14:02   |
Eclipse User |
|
|
|
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.
|
|
| |
Re: [QVT-R & ATL] External parameters - Global variables [message #705281 is a reply to message #705271] |
Fri, 29 July 2011 12:59  |
Eclipse User |
|
|
|
Hi
A UML sequence diagram is just a form of model conforming to the UML
meta-model. Any respectable model transformation language should be able
to execute a transformation on it.
Regards
Ed Willink
On 29/07/2011 17:42, Bler wrote:
> HI Edward
> Thanks a lot for your information's, just one more question please,
> can we transform using QVT-r a UML sequence diagram, does it possible?
> Or which are the diagrams supported by the UML metamodel ? Could you
> help me please?
>
> With regards,
> Bler.
>
|
|
|
Goto Forum:
Current Time: Sun Jul 06 06:32:11 EDT 2025
Powered by FUDForum. Page generated in 0.24400 seconds
|