@SuppressWarnings("unused")
public boolean objectMatches(DmcObject obj) {
boolean rc = false;
Iterator<ClassDefinitionREF> refs= obj.getObjectClass();
while(refs.hasNext()){
ClassDefinitionREF ref = refs.next();
if (ref.getObject() == null){
DmcClassInfo info = DmcOmni.instance().getClassInfo(ref.getObjectName().getNameString());
if (ci.isInstanceOf(ref.getObjectName().getNameString())){
rc = true;
break;
}
}
else{
if (ci.isInstanceOf(ref.getObject().getDmdID())){
rc = true;
break;
}
}
}