|How to return multiple results for query on ecore model [message #989651]
||Fri, 07 December 2012 08:16
| Andreas Brieg
Registered: November 2012
I have an ecore model and want to execute a ocl query on it that returns multiple results. The basic example I am using is|
where self is an EPackage.
I have specified EEList as the return type. But when I execute the query, I get the error message A EEList instance is expected as result. The result is: <toString() value of the actual result>
What do I need to specify as a return type or how do I need to modify the query to get all eClassifiers as the query result?
Thanks for help.
Powered by FUDForum
. Page generated in 0.13189 seconds