Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTo] xmi:id getting/setting possible?
[QVTo] xmi:id getting/setting possible? [message #528131] Mon, 19 April 2010 13:28 Go to next message
Eclipse UserFriend
Originally posted by: dhendriksREMOVE.THIS.REMOVE...THIStueDOTnlREMOVE..THIS


in ATL, there is an attribute called '__xmiID__' that is available for
all EMF elements, and can be read for input elements of the
transformation, and can be set for output elements. I was wondering
whether something similar is available for QVTo (my first question)?

I did find _localId and _globalId in the QVT reference documentation,
but it seems my eclipse/qvto version
(eclipse-modeling-galileo-SR2-incubation-linux-gtk-20100301) doesn't
support it:

Description Resource Path Location Type
'_globalId' is not yet supported urgentacts.qvto /XXX/transforms line
30 QVT Operational Problem
'_localId' is not yet supported urgentacts.qvto /XXX/transforms line 29
QVT Operational Problem

The documentation for _localId and _globalId is very short: _localId
Element::_localId() : String
Returns a local internal identifier for the instance (it
uniquely identifies the instance in respect to the instance
containing it). _globalId
Element::_globalId() : String
Returns a global identifier for the instance, which
identifies the instance in the used model extent.

I was wondering whether maybe _globalId is meant to be the xmi:id (my
second question)?

Re: [QVTo] xmi:id getting/setting possible? [message #537301 is a reply to message #528131] Tue, 01 June 2010 20:40 Go to previous message
Sébastien  Gandon is currently offline Sébastien GandonFriend
Messages: 184
Registered: July 2009
Senior Member
Yes I have the same question,
My inpout model use xmi:id as references and I need to keep some of these ids after the transformation, is it possible ?
This is because some other files (models) refers to this transformed model element so I need to keep them ???

[Updated on: Tue, 01 June 2010 20:41]

Report message to a moderator

Previous Topic:[QVTO] compile transformation sources at forehand
Next Topic:[ATL] I can't find the button "Inject KM3 to Ecore metamodel"
Goto Forum:

Current Time: Mon May 17 21:32:22 GMT 2021

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

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

Back to the top