Excellent!
Regarding the problem: parentModule comes from the C extension which you got because you
exported the complete meta-model. You should use parentScope.
Cheers,
Doru
On 10 Mar 2011, at 10:25, Nicolas Anquetil wrote:
I generated the new Famix Java.
There is one error in ScopingEntity :
@FameProperty(name = "globalVariables", opposite =
"parentModule", derived = true)
public Collection<GlobalVariable> getGlobalVariables() {
if (globalVariables == null) {
globalVariables = new MultivalueSet<GlobalVariable>() {
@Override
protected void clearOpposite(GlobalVariable e) {
e.setParentModule(null);
}
@Override
protected void setOpposite(GlobalVariable e) {
e.setParentModule(ScopingEntity.this);
here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
setParentModule wants a Module and not a Scope
}
};
}
return globalVariables;
}
--
www.tudorgirba.com
"It's not what we do that matters most, it's how we do it."