@Override
public boolean evaluateWithObject(Object o) {
// FIXME here -- this could be sth else..
D2WContext c=(D2WContext)o;
EOEntity e=(EOEntity)c.valueForKeyPath(_keyPath);
return isKindOfEntity(e);
}
public boolean isKindOfEntity(EOEntity e) {
return e.name().equals(_entityName) ? true : (e.parentEntity()!= null ? isKindOfEntity(e.parentEntity()) : false);