code: @Override
    public void setKey(String key) {
      if (!key.equals(this.key)) {
        this.key = key;
        if (parent != null) {
          ((XMLDatabase) parent).fireTextNodeChanged(this);
        }
      }
    }
docs: {@inheritDoc}