Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » ATL AllInstances Problem
ATL AllInstances Problem [message #105650] Tue, 26 May 2009 16:10 Go to next message
Dominique Blouin is currently offline Dominique BlouinFriend
Messages: 1
Registered: July 2009
Junior Member
Hi,

I have a problem when I use allInstances on a classifier in an ATL
transformation module. I am developing a transformation between the
Architecture and Analysis Design Language (AADL) metamodel and a custom
metamodel. I want to use allInstances on the AADL PropertyAssociation
metamodel element.

The AADL model is made of an AADL instance model file + the AADL
specifications declared in other files. The problem is that allInstances
only returns the PropertyAssociation elements that are declared in the
input model instance file and does not see the associations declared in
the other files.

I could fix this problem by modifying
ASMEMFModel.addAllReferencedExtents() in the emf4atl drivers plugin, but I
am wondering if there is a simpler solution. In fact,
addAllReferencedExtents() only consider the elements in the resource that
are of EClass type. I could fix the problem by looking at the EClass of
all EObject contained in the resource.

Thanks.
Re: ATL AllInstances Problem [message #105790 is a reply to message #105650] Wed, 27 May 2009 14:34 Go to previous message
Skander TURKI is currently offline Skander TURKIFriend
Messages: 130
Registered: July 2009
Senior Member
hi dominique,
i think you should report this in bugzilla
Previous Topic:[ATL] No corresponding xsi:schemaLocation is produced in the resulting model.
Next Topic:[ATL] lazy rule call error
Goto Forum:
  


Current Time: Thu Apr 25 14:24:54 GMT 2024

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

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

Back to the top