Skip to main content


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: 20
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:Enumeration #"Rule" doesn't work
Goto Forum:
  


Current Time: Sat Apr 20 03:27:40 GMT 2024

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

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

Back to the top