Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » ATL AllInstances Problem
ATL AllInstances Problem [message #105650] Tue, 26 May 2009 12:10 Go to next message
Eclipse UserFriend
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 10:34 Go to previous message
Eclipse UserFriend
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 May 01 13:36:59 EDT 2025

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

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

Back to the top