Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » 'allInstances()' also returns subtypes
'allInstances()' also returns subtypes [message #1269159] Tue, 11 March 2014 13:18
Fernando Macias is currently offline Fernando Macias
Messages: 11
Registered: March 2014
Junior Member
Hi everybody,

I've been working with ATL for several months. For what I understood from the ATL documentation, the allInstances() operation should return all the elements of the given type. In other words, those in which oclIsTypeOf(<type>) evaluates to true.

However, it seems that it also returns all the instances of its subtypes, in which oclIsKindOf(<type>) would evaluate to true. So my questions are: Shouldn't it be corrected either in the documentation or the implementation? Is it a bug?

Cheers,

Fernando
Previous Topic:accessing created target elements in called rule
Next Topic:creating multiple targets in HOT
Goto Forum:
  


Current Time: Fri Oct 24 16:25:51 GMT 2014

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

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