code: @Override
      public void setURI(final String paramUri) throws TTException {
          checkState(!mDelegate.isClosed(), "Transaction is already closed.");
          checkState(mDelegate.getCurrentNode() instanceof ITreeNameData,
              "setURI is not allowed if current node is not an ITreeNameData implementation, but was %s", mDelegate
                  .getCurrentNode());
  
          final long oldHash = mDelegate.getCurrentNode().hashCode();
  
          final ITreeNameData node = (ITreeNameData)getPtx().getData(mDelegate.getCurrentNode().getDataKey());
          node.setURIKey(insertName(paramUri));
          getPtx().setData(node);
  
          mDelegate.setCurrentNode((ITreeData)node);
          adaptHashedWithUpdate(oldHash);
      }
docs: {@inheritDoc}