Limited complex return types
Mosel can only directly understand basic Java data-types: boolean, integer, real, string and text. Although your method can return any Java class into a 'jvmobject' variable, the main operations you can do with the object are turning it into a text/string or passing it back to a static Java method.
If you need to return a large data-set then your options would be to format it in some standard format (e.g. CSV, XML, JSON), and return it as 'text' then use Mosel's standard modules to parse it, or to write it to a file that can be read later by the Mosel model.
