I have created Ecore programmatically and i am trying to instantiate it programmatically as well. I am using OCLSettingDelegateFactory.Global() delegates. But OCL expression 'TestClass.allInstances()' does not give instances of Type TestClass, it is always empty, do you have any idea why it is like that?
Do i need to use extentMap? if yes then how to to integrate extentMap?
Note: every OCL statement works perfectly except allInstances() operation.