/*
   * (non-Javadoc)
   *
   * @see org.talend.core.model.process.INode#renameData(java.lang.String, java.lang.String)
   */
  public void renameData(String oldName, String newName) {
    if (oldName.equals(newName)) {
      return;
    }

    for (IElementParameter param : this.getElementParameters()) {
      if (param.getName().equals("UNIQUE_NAME") || isSQLQueryParameter(param)) { // $NON-NLS-1$
        continue;
      }
      ParameterValueUtil.renameValues(param, oldName, newName);
    }
  }
  /*
   * (non-Javadoc)
   *
   * @see org.talend.core.model.process.INode#useData(java.lang.String)
   */
  public boolean useData(String name) {

    for (IElementParameter param : this.getElementParameters()) {
      if (param.getFieldType() == EParameterFieldType.IMAGE) {
        continue;
      }
      if (param.getName().equals("UNIQUE_NAME")) { // $NON-NLS-1$
        continue;
      }
      if (ParameterValueUtil.isUseData(param, name)) {
        return true;
      }
    }
    return false;
  }