/** * @param model * @param wrapped */ public ThreadSafeResource(ThreadSafeModel model, Resource wrapped) { // actually I don't want to subclass EnhNode! super(wrapped.getNode(), new EnhGraph(model.getGraph(), new GraphPersonality())); this.model = model; this.wrapped = wrapped; }
/** @see com.hp.hpl.jena.rdf.model.Resource#getNode() */ public Node getNode() { // TODO implement logger.warn("Synchronization not implemented"); return wrapped.getNode(); }