frames.add(object);
    private void addObject(UniqueObject object)    {	if (log.isInfoEnabled())	    log.info("Adding  " +object);	synchronized (kb) {	    kb.put(object.getUID(), object);	}	if (object instanceof RelationFrame) {	    cacheRelation((RelationFrame) object);	} else if (object instanceof DataFrame) {	    synchronized (frames) {		frames.add(object);	    }	    // Any new DataFrame could potentially resolve as yet	    // unfilled values in relations.	    int resolved = 0;	    synchronized (pending_relations) {		Iterator itr = pending_relations.iterator();		while (itr.hasNext()) {		    RelationFrame frame = (RelationFrame) itr.next();		    boolean success = cacheRelation(frame);		    if (success) itr.remove();		}	    }	}    }