Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTO] Intermediate data
[QVTO] Intermediate data [message #92234] Mon, 13 October 2008 09:39 Go to next message
Alfons Laarman is currently offline Alfons LaarmanFriend
Messages: 71
Registered: July 2009
Member
Hi,

This is probably a question for Sergey or Alex.
I read your presentation about QVTO
http://www.eclipse.org/m2m/qvto/doc/M2M-QVTO.pdf
I was wondering what is ment with the sentence: "In case it's referenced in
traces, persistence must be ensured". I read similar things in the spec, but
it is not elaborated. Could you explain what it means?


Regards,

Alfons
Re: [QVTO] Intermediate data [message #92263 is a reply to message #92234] Mon, 13 October 2008 10:20 Go to previous messageGo to next message
Radomil Dvorak is currently offline Radomil DvorakFriend
Messages: 249
Registered: July 2009
Senior Member
Hi Alfons,

If a mapping operation which takes a parameter of an intermediate type is
invoked,
a trace record referencing this type should be persisted, though it's not
considered
an output of the executed transformation.

The traces are persisted as a model and we need to be able to resolve
references to
intermediate types during deserialization.

Thanks for mentioning this, the time to update the doc has matured, I
guess ;).

However, the intermediate type support is not implemented yet, it will be
done in 'galileo' release.

Regards,
/Radek


On Mon, 13 Oct 2008 11:39:13 +0200, Alfons Laarman
<a.w.laarman@student.utwente.nl> wrote:

> Hi,
>
> This is probably a question for Sergey or Alex.
> I read your presentation about QVTO
> http://www.eclipse.org/m2m/qvto/doc/M2M-QVTO.pdf
> I was wondering what is ment with the sentence: "In case it's referenced
> in
> traces, persistence must be ensured". I read similar things in the spec,
> but
> it is not elaborated. Could you explain what it means?
>
>
> Regards,
>
> Alfons
>
>
Re: [QVTO] Intermediate data [message #92277 is a reply to message #92234] Mon, 13 October 2008 10:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mahdider.students.uni-mainz.de

Hello,

I assume that "referenced in traces" means sort of "written to the
target model explicitly by a mapping", since intermediate data is not
meant to be saved in an out model in the first place (as far as I
understood).

Although in this case, persistence would bealready ensured, when such
data is traced, no? Interesting question!

Regards,
Mahdi



Alfons Laarman schrieb:
> Hi,
>
> This is probably a question for Sergey or Alex.
> I read your presentation about QVTO
> http://www.eclipse.org/m2m/qvto/doc/M2M-QVTO.pdf
> I was wondering what is ment with the sentence: "In case it's referenced in
> traces, persistence must be ensured". I read similar things in the spec, but
> it is not elaborated. Could you explain what it means?
>
>
> Regards,
>
> Alfons
>
>
Re: [QVTO] Intermediate data [message #92292 is a reply to message #92277] Mon, 13 October 2008 10:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mahdider.students.uni-mainz.de

PS: Radek you were faster! ;)

Mahdi D-Manesh schrieb:
> Hello,
>
> I assume that "referenced in traces" means sort of "written to the
> target model explicitly by a mapping", since intermediate data is not
> meant to be saved in an out model in the first place (as far as I
> understood).
>
> Although in this case, persistence would bealready ensured, when such
> data is traced, no? Interesting question!
>
> Regards,
> Mahdi
>
>
>
> Alfons Laarman schrieb:
>> Hi,
>>
>> This is probably a question for Sergey or Alex.
>> I read your presentation about QVTO
>> http://www.eclipse.org/m2m/qvto/doc/M2M-QVTO.pdf
>> I was wondering what is ment with the sentence: "In case it's
>> referenced in traces, persistence must be ensured". I read similar
>> things in the spec, but it is not elaborated. Could you explain what
>> it means?
>>
>>
>> Regards,
>>
>> Alfons
>>
Re: [QVTO] Intermediate data [message #92306 is a reply to message #92292] Mon, 13 October 2008 10:33 Go to previous messageGo to next message
Radomil Dvorak is currently offline Radomil DvorakFriend
Messages: 249
Registered: July 2009
Senior Member
No problem, better more responses then less ;).
Re: [QVTO] Intermediate data [message #92319 is a reply to message #92263] Mon, 13 October 2008 10:45 Go to previous messageGo to next message
Radomil Dvorak is currently offline Radomil DvorakFriend
Messages: 249
Registered: July 2009
Senior Member
Just complementing myself, 'intermediate properties' are already supported
since 1.0.0.
Re: [QVTO] Intermediate data [message #92348 is a reply to message #92277] Mon, 13 October 2008 12:04 Go to previous message
Sergey Boyko is currently offline Sergey BoykoFriend
Messages: 171
Registered: July 2009
Senior Member
Hi Mahdi,

Spec explicitly address this in "8.2.1.1 OperationalTransformation":

"intermediateClass : Class [*] {ordered}

The classes that are defined explicitly by the transformation writer
to contain structured intermediate data used for the purpose of the
transformation. These intermediate classes are to be distinguished from
the trace classes that are implicitly and automatically derived from the
relations.
Instances of intermediate classes do not survive the execution of the
transformation, except for ensuring trace persistence."

--
Sergey


Mahdi D-Manesh wrote:
> Hello,
>
> I assume that "referenced in traces" means sort of "written to the
> target model explicitly by a mapping", since intermediate data is not
> meant to be saved in an out model in the first place (as far as I
> understood).
>
> Although in this case, persistence would bealready ensured, when such
> data is traced, no? Interesting question!
>
> Regards,
> Mahdi
>
>
>
> Alfons Laarman schrieb:
>> Hi,
>>
>> This is probably a question for Sergey or Alex.
>> I read your presentation about QVTO
>> http://www.eclipse.org/m2m/qvto/doc/M2M-QVTO.pdf
>> I was wondering what is ment with the sentence: "In case it's
>> referenced in traces, persistence must be ensured". I read similar
>> things in the spec, but it is not elaborated. Could you explain what
>> it means?
>>
>>
>> Regards,
>>
>> Alfons
>>
Previous Topic:[ATL] Many-to-one mapping using ATL
Next Topic:[QVTO] first() and If Expression
Goto Forum:
  


Current Time: Thu Apr 25 09:29:54 GMT 2024

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

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

Back to the top