[ATL] working with the href references of two models [message #660070] |
Wed, 16 March 2011 13:41  |
Eclipse User |
|
|
|
Hi,
I am working with two models (e.g., M1 and M2) that conform to different
metamodels. An element of M1 has a reference to an element of M2.
Instead of an "object reference", the reference is a href (kind of
string containing a xmiID).
So, to get the real element of M2, I used the operation
allInstancesFrom('M2') and I select the element having the same xmiID.
Since the allInstanceFrom operation has a high cost, I wonder if there
exist a better way of recovering the M2 element given the href?
Thank you for your suggestions,
--
Kelly Garcés
INRIA Sophia Antipolis - Méditerranée
Post-doct fellow with AOSTE team
http://www-sop.inria.fr/members/Kelly.Garces_Pernett/
|
|
|
|
Powered by
FUDForum. Page generated in 0.06503 seconds