예제 #1
0
  public void setParams(List<TString> list) {
    this._params_.clear();
    this._params_.addAll(list);
    for (TString e : list) {
      if (e.parent() != null) {
        e.parent().removeChild(e);
      }

      e.parent(this);
    }
  }
예제 #2
0
  public void setName(TString node) {
    if (this._name_ != null) {
      this._name_.parent(null);
    }

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

      node.parent(this);
    }

    this._name_ = node;
  }