Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » TrasientLinkSet
TrasientLinkSet [message #92674] Fri, 17 October 2008 12:16 Go to next message
Andres Yie is currently offline Andres YieFriend
Messages: 6
Registered: July 2009
Junior Member
Hi there ...

Is it possible to iterate on a TransientLinkSet? (thisModule.links) or the
only way to access its contents is with getLinksByRule,
getLinkBySourceElement and getLinkByRuleAndSourceElement?

Thanks in advance
Re: TrasientLinkSet [message #92704 is a reply to message #92674] Fri, 17 October 2008 13:34 Go to previous messageGo to next message
Alfons Laarman is currently offline Alfons LaarmanFriend
Messages: 71
Registered: July 2009
Member
Hi,

That's interesting, I never thought of accessing the links directly in that
manner. Did you find and example on that?
If you look in the sourcecode from cvs (engine.vm.nativelib) you will see
that there is also a getLinkByTargetElement.

Ofcourse the normal way of accessing trace information would be using the
resolveTemp call. See Atl user manual for this.


Regards,

Alfons

"Andres Yie" <ayiegarz@ssel.vub.ac.be> schreef in bericht
news:5fc175466dee90fe941e5a9733396f75$1@www.eclipse.org...
> Hi there ...
> Is it possible to iterate on a TransientLinkSet? (thisModule.links) or the
> only way to access its contents is with getLinksByRule,
> getLinkBySourceElement and getLinkByRuleAndSourceElement?
>
> Thanks in advance
>
>
>
>
Re: TrasientLinkSet [message #92719 is a reply to message #92704] Mon, 20 October 2008 08:05 Go to previous message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 147
Registered: July 2009
Senior Member
Alfons Laarman schreef:
> Hi,
>
> That's interesting, I never thought of accessing the links directly in that
> manner. Did you find and example on that?
> If you look in the sourcecode from cvs (engine.vm.nativelib) you will see
> that there is also a getLinkByTargetElement.
>
> Ofcourse the normal way of accessing trace information would be using the
> resolveTemp call. See Atl user manual for this.
>
>
> Regards,
>
> Alfons
>
> "Andres Yie" <ayiegarz@ssel.vub.ac.be> schreef in bericht
> news:5fc175466dee90fe941e5a9733396f75$1@www.eclipse.org...
>> Hi there ...
>> Is it possible to iterate on a TransientLinkSet? (thisModule.links) or the
>> only way to access its contents is with getLinksByRule,
>> getLinkBySourceElement and getLinkByRuleAndSourceElement?
>>
>> Thanks in advance

Currently, that's the only way. The parent of TransientLinkSet is
OclAny, so no collection operations available.
--
Dennis
Previous Topic:ATL for eclipse 3.4
Next Topic:[QVTO] Trace meta-model ?
Goto Forum:
  


Current Time: Thu Apr 25 12:52:51 GMT 2024

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

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

Back to the top