Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTo] Operation or atribute similar to the _xmiID_ of ATL.
[QVTo] Operation or atribute similar to the _xmiID_ of ATL. [message #640379] Sun, 21 November 2010 11:30 Go to next message
Toñi  Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
Hi all,

I'm looking for an operation or an attribute in QVT similar to the
_xmiID_ of ATL.

The only thing I've found are _localId() and _globalId(), but they
aren't implemented in QVTo yet.

Could anybody confirm that they are similars or give me any hint
about this subject??
Re: [QVTo] Operation or atribute similar to the _xmiID_ of ATL. [message #640386 is a reply to message #640379] Sun, 21 November 2010 14:39 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Toni

It will be easier to help if you state your problem, rather than a
particular tool-specific solution that you require another tool to emulate.

Regards

Ed Willink


On 21/11/2010 11:30, Toñi Reina Quintero wrote:
> Hi all,
>
> I'm looking for an operation or an attribute in QVT similar to the
> _xmiID_ of ATL.
>
> The only thing I've found are _localId() and _globalId(), but they
> aren't implemented in QVTo yet.
>
> Could anybody confirm that they are similars or give me any hint
> about this subject??
Re: [QVTo] Operation or atribute similar to the _xmiID_ of ATL. [message #640391 is a reply to message #640386] Sun, 21 November 2010 15:19 Go to previous messageGo to next message
Toñi  Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
Hi Ed,

the problem is that I need to relate objects from to different
models, and I have used the reference that is in an xmi file. Thus, for
example, I have the model:

<SWC:WebFlow xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SWC="http://org.mwacsl.swc"
xsi:schemaLocation="http://org.mwacsl.swc ../metamodel/SWC.ecore"
project="cinemaApp" author="AMRQ" version="1.0.1" initial="//@nodes.0"
id="CinemaApp">
<transitions id="login" source="//@nodes.0" target="//@nodes.1"/>
<transitions id="movies" source="//@nodes.1" target="//@nodes.2"/>
<transitions id="exit1" source="//@nodes.1" target="//@nodes.4"
guard=""/>
<transitions id="book" source="//@nodes.2" target="//@nodes.1"/>
<transitions id="exit2" source="//@nodes.2" target="//@nodes.4"/>
<transitions id="details" source="//@nodes.2" target="//@nodes.5"/>
<transitions id="exit3" source="//@nodes.3" target="//@nodes.4"/>
<transitions id="end" source="//@nodes.4" target="//@nodes.6"/>
<transitions id="back" source="//@nodes.5" target="//@nodes.2"/>
<nodes xsi:type="SWC:FrontEndView" id="UserLogin" label="UserLogin"
outgoingTrans="//@transitions.0"/>
<nodes xsi:type="SWC:FrontEndView" id="GreatTheUser"
incomingTrans="//@transitions.0 //@transitions.3" label="GreatTheUser"
outgoingTrans="//@transitions.1 //@transitions.2"/>
<nodes xsi:type="SWC:FrontEndView" id="ShowMovieList"
incomingTrans="//@transitions.1 //@transitions.8" label="ShowMovieList"
outgoingTrans="//@transitions.3 //@transitions.4 //@transitions.5"/>
<nodes xsi:type="SWC:FrontEndView" id="ShowTransitionSummary"
label="ShowTransitionSummary" outgoingTrans="//@transitions.6"/>
<nodes xsi:type="SWC:FrontEndView" id="Exit"
incomingTrans="//@transitions.2 //@transitions.4 //@transitions.6"
label="Exit" outgoingTrans="//@transitions.7"/>
<nodes xsi:type="SWC:FrontEndView" id="ShowMovieDetails"
incomingTrans="//@transitions.5" label="ShowMovieDetails"
outgoingTrans="//@transitions.8"/>
<nodes xsi:type="SWC:EndState" id="EndState"
incomingTrans="//@transitions.7"/>
</SWC:WebFlow>

that conforms to org.mwacsl.swc metamodel (a metamodel I have previously
defined). My question is, once I have the object correspoding to
<transitions id="login" source="//@nodes.0" target="//@nodes.1"/>, how
can I obtain the reference //@transitions.0 that EMF associates to this
object using QVT?

Regards,
Toñi
El 21/11/2010 15:39, Ed Willink escribió:
> Hi Toni
>
> It will be easier to help if you state your problem, rather than a
> particular tool-specific solution that you require another tool to emulate.
>
> Regards
>
> Ed Willink
>
>
> On 21/11/2010 11:30, Toñi Reina Quintero wrote:
>> Hi all,
>>
>> I'm looking for an operation or an attribute in QVT similar to the
>> _xmiID_ of ATL.
>>
>> The only thing I've found are _localId() and _globalId(), but they
>> aren't implemented in QVTo yet.
>>
>> Could anybody confirm that they are similars or give me any hint about
>> this subject??
>
Re: [QVTo] Operation or atribute similar to the _xmiID_ of ATL. [message #640406 is a reply to message #640391] Sun, 21 November 2010 18:49 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Toni

It depends what meta-model you use.

If you use SWC.ecore then the xmi:ids are an implementation secret that
arguably should not be exposed. The whole principle of XMI is that
references are resolved so you just deal with objects/elements.

If you use the XMI meta-model then you can do whatever you like, but I
think you should really consider why you want the reference in the first
place.

Regards

Ed Willink



On 21/11/2010 15:19, Toñi Reina Quintero wrote:
> Hi Ed,
>
> the problem is that I need to relate objects from to different
> models, and I have used the reference that is in an xmi file. Thus,
> for example, I have the model:
>
> <SWC:WebFlow xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:SWC="http://org.mwacsl.swc"
> xsi:schemaLocation="http://org.mwacsl.swc ../metamodel/SWC.ecore"
> project="cinemaApp" author="AMRQ" version="1.0.1" initial="//@nodes.0"
> id="CinemaApp">
> <transitions id="login" source="//@nodes.0" target="//@nodes.1"/>
> <transitions id="movies" source="//@nodes.1" target="//@nodes.2"/>
> <transitions id="exit1" source="//@nodes.1" target="//@nodes.4"
> guard=""/>
> <transitions id="book" source="//@nodes.2" target="//@nodes.1"/>
> <transitions id="exit2" source="//@nodes.2" target="//@nodes.4"/>
> <transitions id="details" source="//@nodes.2" target="//@nodes.5"/>
> <transitions id="exit3" source="//@nodes.3" target="//@nodes.4"/>
> <transitions id="end" source="//@nodes.4" target="//@nodes.6"/>
> <transitions id="back" source="//@nodes.5" target="//@nodes.2"/>
> <nodes xsi:type="SWC:FrontEndView" id="UserLogin" label="UserLogin"
> outgoingTrans="//@transitions.0"/>
> <nodes xsi:type="SWC:FrontEndView" id="GreatTheUser"
> incomingTrans="//@transitions.0 //@transitions.3" label="GreatTheUser"
> outgoingTrans="//@transitions.1 //@transitions.2"/>
> <nodes xsi:type="SWC:FrontEndView" id="ShowMovieList"
> incomingTrans="//@transitions.1 //@transitions.8"
> label="ShowMovieList" outgoingTrans="//@transitions.3 //@transitions.4
> //@transitions.5"/>
> <nodes xsi:type="SWC:FrontEndView" id="ShowTransitionSummary"
> label="ShowTransitionSummary" outgoingTrans="//@transitions.6"/>
> <nodes xsi:type="SWC:FrontEndView" id="Exit"
> incomingTrans="//@transitions.2 //@transitions.4 //@transitions.6"
> label="Exit" outgoingTrans="//@transitions.7"/>
> <nodes xsi:type="SWC:FrontEndView" id="ShowMovieDetails"
> incomingTrans="//@transitions.5" label="ShowMovieDetails"
> outgoingTrans="//@transitions.8"/>
> <nodes xsi:type="SWC:EndState" id="EndState"
> incomingTrans="//@transitions.7"/>
> </SWC:WebFlow>
>
> that conforms to org.mwacsl.swc metamodel (a metamodel I have
> previously defined). My question is, once I have the object
> correspoding to <transitions id="login" source="//@nodes.0"
> target="//@nodes.1"/>, how can I obtain the reference //@transitions.0
> that EMF associates to this object using QVT?
>
> Regards,
> Toñi
> El 21/11/2010 15:39, Ed Willink escribió:
>> Hi Toni
>>
>> It will be easier to help if you state your problem, rather than a
>> particular tool-specific solution that you require another tool to
>> emulate.
>>
>> Regards
>>
>> Ed Willink
>>
>>
>> On 21/11/2010 11:30, Toñi Reina Quintero wrote:
>>> Hi all,
>>>
>>> I'm looking for an operation or an attribute in QVT similar to the
>>> _xmiID_ of ATL.
>>>
>>> The only thing I've found are _localId() and _globalId(), but they
>>> aren't implemented in QVTo yet.
>>>
>>> Could anybody confirm that they are similars or give me any hint about
>>> this subject??
>>
>
Re: [QVTo] Operation or atribute similar to the _xmiID_ of ATL. [message #640412 is a reply to message #640406] Sun, 21 November 2010 19:35 Go to previous messageGo to next message
Toñi  Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
Hi Ed,

Thanks for your answer. I was thinking in a generic way of relating
models, in a similar way to model weaving. So that, instead of make my
meta-models must have an id, I was thinking in using this id in a
reflective way. But, due to your answer, I'm afraid I cannot do it as I
was thinking, that is, using a query in QVT which could return an
object, given its id.

Regards,
Toñi






E 21/11/2010 19:49, Ed Willink escribió:
> Hi Toni
>
> It depends what meta-model you use.
>
> If you use SWC.ecore then the xmi:ids are an implementation secret that
> arguably should not be exposed. The whole principle of XMI is that
> references are resolved so you just deal with objects/elements.
>
> If you use the XMI meta-model then you can do whatever you like, but I
> think you should really consider why you want the reference in the first
> place.
>
> Regards
>
> Ed Willink
>
>
>
> On 21/11/2010 15:19, Toñi Reina Quintero wrote:
>> Hi Ed,
>>
>> the problem is that I need to relate objects from to different models,
>> and I have used the reference that is in an xmi file. Thus, for
>> example, I have the model:
>>
>> <SWC:WebFlow xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:SWC="http://org.mwacsl.swc"
>> xsi:schemaLocation="http://org.mwacsl.swc ../metamodel/SWC.ecore"
>> project="cinemaApp" author="AMRQ" version="1.0.1" initial="//@nodes.0"
>> id="CinemaApp">
>> <transitions id="login" source="//@nodes.0" target="//@nodes.1"/>
>> <transitions id="movies" source="//@nodes.1" target="//@nodes.2"/>
>> <transitions id="exit1" source="//@nodes.1" target="//@nodes.4"
>> guard=""/>
>> <transitions id="book" source="//@nodes.2" target="//@nodes.1"/>
>> <transitions id="exit2" source="//@nodes.2" target="//@nodes.4"/>
>> <transitions id="details" source="//@nodes.2" target="//@nodes.5"/>
>> <transitions id="exit3" source="//@nodes.3" target="//@nodes.4"/>
>> <transitions id="end" source="//@nodes.4" target="//@nodes.6"/>
>> <transitions id="back" source="//@nodes.5" target="//@nodes.2"/>
>> <nodes xsi:type="SWC:FrontEndView" id="UserLogin" label="UserLogin"
>> outgoingTrans="//@transitions.0"/>
>> <nodes xsi:type="SWC:FrontEndView" id="GreatTheUser"
>> incomingTrans="//@transitions.0 //@transitions.3" label="GreatTheUser"
>> outgoingTrans="//@transitions.1 //@transitions.2"/>
>> <nodes xsi:type="SWC:FrontEndView" id="ShowMovieList"
>> incomingTrans="//@transitions.1 //@transitions.8"
>> label="ShowMovieList" outgoingTrans="//@transitions.3 //@transitions.4
>> //@transitions.5"/>
>> <nodes xsi:type="SWC:FrontEndView" id="ShowTransitionSummary"
>> label="ShowTransitionSummary" outgoingTrans="//@transitions.6"/>
>> <nodes xsi:type="SWC:FrontEndView" id="Exit"
>> incomingTrans="//@transitions.2 //@transitions.4 //@transitions.6"
>> label="Exit" outgoingTrans="//@transitions.7"/>
>> <nodes xsi:type="SWC:FrontEndView" id="ShowMovieDetails"
>> incomingTrans="//@transitions.5" label="ShowMovieDetails"
>> outgoingTrans="//@transitions.8"/>
>> <nodes xsi:type="SWC:EndState" id="EndState"
>> incomingTrans="//@transitions.7"/>
>> </SWC:WebFlow>
>>
>> that conforms to org.mwacsl.swc metamodel (a metamodel I have
>> previously defined). My question is, once I have the object
>> correspoding to <transitions id="login" source="//@nodes.0"
>> target="//@nodes.1"/>, how can I obtain the reference //@transitions.0
>> that EMF associates to this object using QVT?
>>
>> Regards,
>> Toñi
>> El 21/11/2010 15:39, Ed Willink escribió:
>>> Hi Toni
>>>
>>> It will be easier to help if you state your problem, rather than a
>>> particular tool-specific solution that you require another tool to
>>> emulate.
>>>
>>> Regards
>>>
>>> Ed Willink
>>>
>>>
>>> On 21/11/2010 11:30, Toñi Reina Quintero wrote:
>>>> Hi all,
>>>>
>>>> I'm looking for an operation or an attribute in QVT similar to the
>>>> _xmiID_ of ATL.
>>>>
>>>> The only thing I've found are _localId() and _globalId(), but they
>>>> aren't implemented in QVTo yet.
>>>>
>>>> Could anybody confirm that they are similars or give me any hint about
>>>> this subject??
>>>
>>
>
Re: [QVTo] Operation or atribute similar to the _xmiID_ of ATL. [message #640417 is a reply to message #640412] Sun, 21 November 2010 21:36 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Toni

If you really want ids you can write a black box transformation to
compute one.

Regards

Ed Willink

On 21/11/2010 19:35, Toñi Reina Quintero wrote:
> Hi Ed,
>
> Thanks for your answer. I was thinking in a generic way of relating
> models, in a similar way to model weaving. So that, instead of make my
> meta-models must have an id, I was thinking in using this id in a
> reflective way. But, due to your answer, I'm afraid I cannot do it as I
> was thinking, that is, using a query in QVT which could return an
> object, given its id.
>
> Regards,
> Toñi
>
>
>
>
>
>
> E 21/11/2010 19:49, Ed Willink escribió:
>> Hi Toni
>>
>> It depends what meta-model you use.
>>
>> If you use SWC.ecore then the xmi:ids are an implementation secret that
>> arguably should not be exposed. The whole principle of XMI is that
>> references are resolved so you just deal with objects/elements.
>>
>> If you use the XMI meta-model then you can do whatever you like, but I
>> think you should really consider why you want the reference in the first
>> place.
>>
>> Regards
>>
>> Ed Willink
>>
>>
>>
>> On 21/11/2010 15:19, Toñi Reina Quintero wrote:
>>> Hi Ed,
>>>
>>> the problem is that I need to relate objects from to different models,
>>> and I have used the reference that is in an xmi file. Thus, for
>>> example, I have the model:
>>>
>>> <SWC:WebFlow xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:SWC="http://org.mwacsl.swc"
>>> xsi:schemaLocation="http://org.mwacsl.swc ../metamodel/SWC.ecore"
>>> project="cinemaApp" author="AMRQ" version="1.0.1" initial="//@nodes.0"
>>> id="CinemaApp">
>>> <transitions id="login" source="//@nodes.0" target="//@nodes.1"/>
>>> <transitions id="movies" source="//@nodes.1" target="//@nodes.2"/>
>>> <transitions id="exit1" source="//@nodes.1" target="//@nodes.4"
>>> guard=""/>
>>> <transitions id="book" source="//@nodes.2" target="//@nodes.1"/>
>>> <transitions id="exit2" source="//@nodes.2" target="//@nodes.4"/>
>>> <transitions id="details" source="//@nodes.2" target="//@nodes.5"/>
>>> <transitions id="exit3" source="//@nodes.3" target="//@nodes.4"/>
>>> <transitions id="end" source="//@nodes.4" target="//@nodes.6"/>
>>> <transitions id="back" source="//@nodes.5" target="//@nodes.2"/>
>>> <nodes xsi:type="SWC:FrontEndView" id="UserLogin" label="UserLogin"
>>> outgoingTrans="//@transitions.0"/>
>>> <nodes xsi:type="SWC:FrontEndView" id="GreatTheUser"
>>> incomingTrans="//@transitions.0 //@transitions.3" label="GreatTheUser"
>>> outgoingTrans="//@transitions.1 //@transitions.2"/>
>>> <nodes xsi:type="SWC:FrontEndView" id="ShowMovieList"
>>> incomingTrans="//@transitions.1 //@transitions.8"
>>> label="ShowMovieList" outgoingTrans="//@transitions.3 //@transitions.4
>>> //@transitions.5"/>
>>> <nodes xsi:type="SWC:FrontEndView" id="ShowTransitionSummary"
>>> label="ShowTransitionSummary" outgoingTrans="//@transitions.6"/>
>>> <nodes xsi:type="SWC:FrontEndView" id="Exit"
>>> incomingTrans="//@transitions.2 //@transitions.4 //@transitions.6"
>>> label="Exit" outgoingTrans="//@transitions.7"/>
>>> <nodes xsi:type="SWC:FrontEndView" id="ShowMovieDetails"
>>> incomingTrans="//@transitions.5" label="ShowMovieDetails"
>>> outgoingTrans="//@transitions.8"/>
>>> <nodes xsi:type="SWC:EndState" id="EndState"
>>> incomingTrans="//@transitions.7"/>
>>> </SWC:WebFlow>
>>>
>>> that conforms to org.mwacsl.swc metamodel (a metamodel I have
>>> previously defined). My question is, once I have the object
>>> correspoding to <transitions id="login" source="//@nodes.0"
>>> target="//@nodes.1"/>, how can I obtain the reference //@transitions.0
>>> that EMF associates to this object using QVT?
>>>
>>> Regards,
>>> Toñi
>>> El 21/11/2010 15:39, Ed Willink escribió:
>>>> Hi Toni
>>>>
>>>> It will be easier to help if you state your problem, rather than a
>>>> particular tool-specific solution that you require another tool to
>>>> emulate.
>>>>
>>>> Regards
>>>>
>>>> Ed Willink
>>>>
>>>>
>>>> On 21/11/2010 11:30, Toñi Reina Quintero wrote:
>>>>> Hi all,
>>>>>
>>>>> I'm looking for an operation or an attribute in QVT similar to the
>>>>> _xmiID_ of ATL.
>>>>>
>>>>> The only thing I've found are _localId() and _globalId(), but they
>>>>> aren't implemented in QVTo yet.
>>>>>
>>>>> Could anybody confirm that they are similars or give me any hint about
>>>>> this subject??
>>>>
>>>
>>
>
Re: [QVTo] Operation or atribute similar to the _xmiID_ of ATL. [message #640422 is a reply to message #640417] Sun, 21 November 2010 22:40 Go to previous message
Toñi  Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
Hi,

I think that's the best option. Could you tell me if the current
implementation of QVTo supports these black box transformations?

Regards,
Toñi Reina

El 21/11/2010 22:36, Ed Willink escribió:
> Hi Toni
>
> If you really want ids you can write a black box transformation to
> compute one.
>
> Regards
>
> Ed Willink
>
> On 21/11/2010 19:35, Toñi Reina Quintero wrote:
>> Hi Ed,
>>
>> Thanks for your answer. I was thinking in a generic way of relating
>> models, in a similar way to model weaving. So that, instead of make my
>> meta-models must have an id, I was thinking in using this id in a
>> reflective way. But, due to your answer, I'm afraid I cannot do it as I
>> was thinking, that is, using a query in QVT which could return an
>> object, given its id.
>>
>> Regards,
>> Toñi
>>
>>
>>
>>
>>
>>
>> E 21/11/2010 19:49, Ed Willink escribió:
>>> Hi Toni
>>>
>>> It depends what meta-model you use.
>>>
>>> If you use SWC.ecore then the xmi:ids are an implementation secret that
>>> arguably should not be exposed. The whole principle of XMI is that
>>> references are resolved so you just deal with objects/elements.
>>>
>>> If you use the XMI meta-model then you can do whatever you like, but I
>>> think you should really consider why you want the reference in the first
>>> place.
>>>
>>> Regards
>>>
>>> Ed Willink
>>>
>>>
>>>
>>> On 21/11/2010 15:19, Toñi Reina Quintero wrote:
>>>> Hi Ed,
>>>>
>>>> the problem is that I need to relate objects from to different models,
>>>> and I have used the reference that is in an xmi file. Thus, for
>>>> example, I have the model:
>>>>
>>>> <SWC:WebFlow xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>> xmlns:SWC="http://org.mwacsl.swc"
>>>> xsi:schemaLocation="http://org.mwacsl.swc ../metamodel/SWC.ecore"
>>>> project="cinemaApp" author="AMRQ" version="1.0.1" initial="//@nodes.0"
>>>> id="CinemaApp">
>>>> <transitions id="login" source="//@nodes.0" target="//@nodes.1"/>
>>>> <transitions id="movies" source="//@nodes.1" target="//@nodes.2"/>
>>>> <transitions id="exit1" source="//@nodes.1" target="//@nodes.4"
>>>> guard=""/>
>>>> <transitions id="book" source="//@nodes.2" target="//@nodes.1"/>
>>>> <transitions id="exit2" source="//@nodes.2" target="//@nodes.4"/>
>>>> <transitions id="details" source="//@nodes.2" target="//@nodes.5"/>
>>>> <transitions id="exit3" source="//@nodes.3" target="//@nodes.4"/>
>>>> <transitions id="end" source="//@nodes.4" target="//@nodes.6"/>
>>>> <transitions id="back" source="//@nodes.5" target="//@nodes.2"/>
>>>> <nodes xsi:type="SWC:FrontEndView" id="UserLogin" label="UserLogin"
>>>> outgoingTrans="//@transitions.0"/>
>>>> <nodes xsi:type="SWC:FrontEndView" id="GreatTheUser"
>>>> incomingTrans="//@transitions.0 //@transitions.3" label="GreatTheUser"
>>>> outgoingTrans="//@transitions.1 //@transitions.2"/>
>>>> <nodes xsi:type="SWC:FrontEndView" id="ShowMovieList"
>>>> incomingTrans="//@transitions.1 //@transitions.8"
>>>> label="ShowMovieList" outgoingTrans="//@transitions.3 //@transitions.4
>>>> //@transitions.5"/>
>>>> <nodes xsi:type="SWC:FrontEndView" id="ShowTransitionSummary"
>>>> label="ShowTransitionSummary" outgoingTrans="//@transitions.6"/>
>>>> <nodes xsi:type="SWC:FrontEndView" id="Exit"
>>>> incomingTrans="//@transitions.2 //@transitions.4 //@transitions.6"
>>>> label="Exit" outgoingTrans="//@transitions.7"/>
>>>> <nodes xsi:type="SWC:FrontEndView" id="ShowMovieDetails"
>>>> incomingTrans="//@transitions.5" label="ShowMovieDetails"
>>>> outgoingTrans="//@transitions.8"/>
>>>> <nodes xsi:type="SWC:EndState" id="EndState"
>>>> incomingTrans="//@transitions.7"/>
>>>> </SWC:WebFlow>
>>>>
>>>> that conforms to org.mwacsl.swc metamodel (a metamodel I have
>>>> previously defined). My question is, once I have the object
>>>> correspoding to <transitions id="login" source="//@nodes.0"
>>>> target="//@nodes.1"/>, how can I obtain the reference //@transitions.0
>>>> that EMF associates to this object using QVT?
>>>>
>>>> Regards,
>>>> Toñi
>>>> El 21/11/2010 15:39, Ed Willink escribió:
>>>>> Hi Toni
>>>>>
>>>>> It will be easier to help if you state your problem, rather than a
>>>>> particular tool-specific solution that you require another tool to
>>>>> emulate.
>>>>>
>>>>> Regards
>>>>>
>>>>> Ed Willink
>>>>>
>>>>>
>>>>> On 21/11/2010 11:30, Toñi Reina Quintero wrote:
>>>>>> Hi all,
>>>>>>
>>>>>> I'm looking for an operation or an attribute in QVT similar to the
>>>>>> _xmiID_ of ATL.
>>>>>>
>>>>>> The only thing I've found are _localId() and _globalId(), but they
>>>>>> aren't implemented in QVTo yet.
>>>>>>
>>>>>> Could anybody confirm that they are similars or give me any hint
>>>>>> about
>>>>>> this subject??
>>>>>
>>>>
>>>
>>
>
Previous Topic:[ATL] Migrating from ATL2 to atl3
Next Topic:[ATL] Problem helper ATL 2.02
Goto Forum:
  


Current Time: Thu Mar 28 10:21:49 GMT 2024

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

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

Back to the top