public void setPath(List<TId> list) {
    this._path_.clear();
    this._path_.addAll(list);
    for (TId e : list) {
      if (e.parent() != null) {
        e.parent().removeChild(e);
      }

      e.parent(this);
    }
  }
  public void setId(TId node) {
    if (this._id_ != null) {
      this._id_.parent(null);
    }

    if (node != null) {
      if (node.parent() != null) {
        node.parent().removeChild(node);
      }

      node.parent(this);
    }

    this._id_ = node;
  }
예제 #3
0
  public void setSuper(TId node) {
    if (this._super_ != null) {
      this._super_.parent(null);
    }

    if (node != null) {
      if (node.parent() != null) {
        node.parent().removeChild(node);
      }

      node.parent(this);
    }

    this._super_ = node;
  }
예제 #4
0
  public void setClassName(TId node) {
    if (this._className_ != null) {
      this._className_.parent(null);
    }

    if (node != null) {
      if (node.parent() != null) {
        node.parent().removeChild(node);
      }

      node.parent(this);
    }

    this._className_ = node;
  }