problem with oclIsKindOf() [message #1848232] |
Thu, 25 November 2021 11:31  |
Eclipse User |
|
|
|
Hi all,
while researching the properties of Dependency ends and their types, I came across this discrepancy (see also the picture attached).
I have one InstanceSpecification1 with two Dependency Dep1 and Dep2, one leading to Class Class1 and the other to Activity Activity1.
When I apply oclIsKindOf(Class) on suppliers,
I got "truetrue" - it is not correct, one is Class and the second is Activity.
When I apply the same with Activity as input parameter, I got "falsetrue" correctly.
I think it's a bug, right?
|
|
|
|
|
|
|
|
|
Re: problem with oclIsKindOf() [message #1848267 is a reply to message #1848266] |
Fri, 26 November 2021 04:19  |
Eclipse User |
|
|
|
Carsten, thanks a lot!
That's the solution!
BTW: In another thread, I was advised to use oclIsKindOf and not oclIsTypeOf...
Thanks a lot.
Ilya
[Updated on: Fri, 26 November 2021 04:21] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04484 seconds