Thanks a lot.
Is it also possible to use Aliases for Metamodel? e.g., Is something like "IN_MM!EPackage.allInstances() -> first()" true?
As another question, I created a model in my eol program. Then I pass the URI of the model as you said to java. However, before the contents of model is completely loaded the java function runs. It causes the java function works with empty model and get error. What should I do?
and also how can I check the model is empty or not?