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 MaciasFriend
Messages: 18
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?


Previous Topic:accessing created target elements in called rule
Next Topic:Enumeration #"Rule" doesn't work
Goto Forum:

Current Time: Sun Apr 22 05:08:45 GMT 2018

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

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