Exemplo n.º 1
0
  public void setIdentifier(TIdentifier node) {
    if (_identifier_ != null) {
      _identifier_.parent(null);
    }

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

      node.parent(this);
    }

    _identifier_ = node;
  }
  public void setRight(TIdentifier node) {
    if (_right_ != null) {
      _right_.parent(null);
    }

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

      node.parent(this);
    }

    _right_ = node;
  }