Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
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 Go to next message
Bler  is currently offline Bler Friend
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 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
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 #693937 is a reply to message #693045] Thu, 07 July 2011 14:05 Go to previous messageGo to next message
Bler  is currently offline Bler Friend
Messages: 26
Registered: June 2010
Junior Member
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 #694065 is a reply to message #693937] Thu, 07 July 2011 18:02 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
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.
Re: [QVT-R & ATL] External parameters - Global variables [message #705271 is a reply to message #694065] Fri, 29 July 2011 16:42 Go to previous messageGo to next message
Bler  is currently offline Bler Friend
Messages: 26
Registered: June 2010
Junior Member
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.
Re: [QVT-R & ATL] External parameters - Global variables [message #705281 is a reply to message #705271] Fri, 29 July 2011 16:59 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
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.
>
Previous Topic:What transformation engine for my use-case
Next Topic:NS URI
Goto Forum:
  


Current Time: Tue Apr 23 09:47:21 GMT 2024

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

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

Back to the top