I've tried using a collect() query that produces a collection of strings: in this case, isReifiable() returns true and the program crashes when it tries to reify the strings.
Instead, a better option would be to check if the elements of the collection are all vertices and then set up the "isReifiable" flag. Also, isReifiable is always false when returning a single value, which feels odd. Some OCL queries could indeed return a single result...
I've tried using a collect() query that produces a collection of strings: in this case, isReifiable() returns true and the program crashes when it tries to reify the strings.
Instead, a better option would be to check if the elements of the collection are all vertices and then set up the "isReifiable" flag. Also, isReifiable is always false when returning a single value, which feels odd. Some OCL queries could indeed return a single result...