javitroya
Hello all. I have in my metamodel a class with a PARENT reference to itself.
I want to create a matched rule and in the from section I want to take only those objects whose parent are themselves, but I can't do it.
I try to write
Rule....
from
c : ClassMM!Class (c = c.parent)
.....
.....
But then I have the following error message:
“GRAVE: message: ERROR: OclUndefined has no property”
Any ideas??
Thank you
I want to create a matched rule and in the from section I want to take only those objects whose parent are themselves, but I can't do it.
I try to write
Rule....
from
c : ClassMM!Class (c = c.parent)
.....
.....
But then I have the following error message:
“GRAVE: message: ERROR: OclUndefined has no property”
Any ideas??
Thank you