|Using OCL to query; how to integrate in my metamodel [message #808693]
||Tue, 28 February 2012 02:46
| Rômulo rpini
Registered: July 2009
Hope you guys can understand and help me.
I am building a metamodel in which the main element, called ActiveStructureAssigment, has an EReference (which is 1..1 and let´s supposed it´s named 'has') to an Eclass called ActiveStructureElement, which is the main element of another metamodel and is further specialized in other classes.
What I want to do is: when instatiating the metamodel, I want to be able to define the EReference aforementioned using OCL. For example:
Is there any way to do something like this? I tried to look up for examples or resources but couldnt found.
Any help is appreciated!
[Updated on: Tue, 28 February 2012 02:47]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02581 seconds