Home » Archived » M2M (model-to-model transformation) » [QVTO] Intermediate data
|
Re: [QVTO] Intermediate data [message #92263 is a reply to message #92234] |
Mon, 13 October 2008 10:20 |
Radomil Dvorak 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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 #92348 is a reply to message #92277] |
Mon, 13 October 2008 12:04 |
Sergey Boyko 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
>>
|
|
|
Goto Forum:
Current Time: Thu Apr 25 09:29:54 GMT 2024
Powered by FUDForum. Page generated in 0.04375 seconds
|