| Class.allInstances() does not work [message #824233] |
Mon, 19 March 2012 08:24  |
ModelGeek Mising name Messages: 347 Registered: June 2011 |
Senior Member |
|
|
Hi,
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.
Regards,
[Updated on: Mon, 19 March 2012 12:48] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01773 seconds