|'allInstances()' also returns subtypes [message #1269159]
||Tue, 11 March 2014 13:18
| Fernando Macias
Registered: March 2014
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?
Powered by FUDForum
. Page generated in 0.13357 seconds