Program: 119516
Project: 119516
Buggy source:
private static void statsAndLogsParametersDBPart(Element elem){
  ElementParameter param;
  IPreferenceStore preferenceStore=DesignerPlugin.getDefault().getPreferenceStore();
  List<IElementParameter> paramList=(List<IElementParameter>)elem.getElementParameters();
  int languageType=0;
  if (LanguageManager.getCurrentLanguage().equals(ECodeLanguage.JAVA)) {
    languageType=1;
  }
  String languagePrefix=LanguageManager.getCurrentLanguage().toString() + "String_Node_Str";
  param=new ElementParameter(elem);
  param.setName(EParameterName.ON_DATABASE_FLAG.getName());
  param.setValue(preferenceStore.getBoolean(languagePrefix + EParameterName.ON_DATABASE_FLAG.getName()));
  param.setDisplayName(EParameterName.ON_DATABASE_FLAG.getDisplayName());
  param.setFieldType(EParameterFieldType.CHECK);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(50);
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  ElementParameter parentPropertyType=new ElementParameter(elem);
  parentPropertyType.setName(EParameterName.PROPERTY_TYPE.getName());
  parentPropertyType.setDisplayName(EParameterName.PROPERTY_TYPE.getDisplayName());
  parentPropertyType.setValue("String_Node_Str");
  parentPropertyType.setCategory(EComponentCategory.STATSANDLOGS);
  parentPropertyType.setFieldType(EParameterFieldType.PROPERTY_TYPE);
  parentPropertyType.setRepositoryValue(ERepositoryCategoryType.DATABASE.getName());
  parentPropertyType.setNumRow(51);
  parentPropertyType.setShowIf("String_Node_Str");
  paramList.add(parentPropertyType);
  param=new ElementParameter(elem);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setName(EParameterName.PROPERTY_TYPE.getName());
  param.setDisplayName(EParameterName.PROPERTY_TYPE.getDisplayName());
  param.setListItemsDisplayName(new String[]{EmfComponent.TEXT_BUILTIN,EmfComponent.TEXT_REPOSITORY});
  param.setListItemsDisplayCodeName(new String[]{EmfComponent.BUILTIN,EmfComponent.REPOSITORY});
  param.setListItemsValue(new String[]{EmfComponent.BUILTIN,EmfComponent.REPOSITORY});
  param.setValue(preferenceStore.getString(languagePrefix + EParameterName.PROPERTY_TYPE.getName()));
  param.setNumRow(51);
  param.setFieldType(EParameterFieldType.TECHNICAL);
  param.setRepositoryValue(ERepositoryCategoryType.DATABASE.getName());
  param.setShowIf("String_Node_Str");
  param.setParentParameter(parentPropertyType);
  param=new ElementParameter(elem);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setName(EParameterName.REPOSITORY_PROPERTY_TYPE.getName());
  param.setDisplayName(EParameterName.REPOSITORY_PROPERTY_TYPE.getDisplayName());
  param.setListItemsDisplayName(new String[]{});
  param.setListItemsValue(new String[]{});
  param.setNumRow(51);
  param.setFieldType(EParameterFieldType.TECHNICAL);
  param.setValue(preferenceStore.getString(languagePrefix + EParameterName.REPOSITORY_PROPERTY_TYPE.getName()));
  param.setShow(false);
  param.setRequired(true);
  param.setParentParameter(parentPropertyType);
  param=new ElementParameter(elem);
  param.setName(EParameterName.DB_TYPE.getName());
  String type=preferenceStore.getString(languagePrefix + EParameterName.DB_TYPE.getName());
  if (type == null || "String_Node_Str".equals(type.trim())) {
    type=StatsAndLogsConstants.DB_COMPONENTS[languageType][0];
  }
  param.setValue(type);
  param.setDisplayName(EParameterName.DB_TYPE.getDisplayName());
  param.setFieldType(EParameterFieldType.CLOSED_LIST);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setListItemsDisplayName(StatsAndLogsConstants.DISPLAY_DBNAMES[languageType]);
  param.setListItemsValue(StatsAndLogsConstants.DB_COMPONENTS[languageType]);
  param.setListRepositoryItems(StatsAndLogsConstants.REPOSITORY_ITEMS[languageType]);
  param.setListItemsDisplayCodeName(StatsAndLogsConstants.CODE_LIST[languageType]);
  param.setNumRow(52);
  param.setRepositoryValue("String_Node_Str");
  param.setRequired(true);
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.DB_VERSION.getName());
  param.setValue(StatsAndLogsConstants.DB_VERSION_DRIVER[1]);
  param.setDisplayName(EParameterName.DB_VERSION.getDisplayName());
  param.setFieldType(EParameterFieldType.CLOSED_LIST);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setListItemsDisplayName(StatsAndLogsConstants.DB_VERSION_DISPLAY);
  param.setListItemsValue(StatsAndLogsConstants.DB_VERSION_DRIVER);
  param.setListItemsDisplayCodeName(StatsAndLogsConstants.DB_VERSION_CODE);
  param.setNumRow(52);
  param.setRepositoryValue("String_Node_Str");
  param.setRequired(true);
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.URL.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.URL.getName())));
  param.setDisplayName(EParameterName.URL.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(53);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  List<ModuleNeeded> moduleNeededList=ModulesNeededProvider.getModulesNeeded();
  Set<String> moduleNameList=new TreeSet<String>();
  Set<String> moduleValueList=new TreeSet<String>();
  for (  ModuleNeeded module : moduleNeededList) {
    String moduleName=module.getModuleName();
    if (moduleName != null) {
      moduleNameList.add(moduleName);
      moduleValueList.add(TalendTextUtils.addQuotes(moduleName));
    }
  }
  Comparator<String> comprarator=new IgnoreCaseComparator();
  String[] moduleNameArray=moduleNameList.toArray(new String[0]);
  String[] moduleValueArray=moduleValueList.toArray(new String[0]);
  Arrays.sort(moduleNameArray,comprarator);
  Arrays.sort(moduleValueArray,comprarator);
  ElementParameter childParam=new ElementParameter(elem);
  childParam.setName("String_Node_Str");
  childParam.setDisplayName("String_Node_Str");
  childParam.setFieldType(EParameterFieldType.MODULE_LIST);
  childParam.setListItemsDisplayName(moduleNameArray);
  childParam.setListItemsValue(moduleValueArray);
  param=new ElementParameter(elem);
  param.setName(EParameterName.DRIVER_JAR.getName());
  param.setDisplayName(EParameterName.DRIVER_JAR.getDisplayName());
  param.setFieldType(EParameterFieldType.TABLE);
  param.setListItemsDisplayCodeName(new String[]{"String_Node_Str"});
  param.setListItemsDisplayName(new String[]{"String_Node_Str"});
  param.setListItemsValue(new ElementParameter[]{childParam});
  param.setValue(new ArrayList<Map<String,Object>>());
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(54);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.DRIVER_CLASS.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.DRIVER_CLASS.getName())));
  param.setDisplayName(EParameterName.DRIVER_CLASS.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(57);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.HOST.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.HOST.getName())));
  param.setDisplayName(EParameterName.HOST.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(53);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.PORT.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.PORT.getName())));
  param.setDisplayName(EParameterName.PORT.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(53);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.DBNAME.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.DBNAME.getName())));
  param.setDisplayName(EParameterName.DBNAME.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(54);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.LOCAL_SERVICE_NAME.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.LOCAL_SERVICE_NAME.getName())));
  param.setDisplayName(EParameterName.LOCAL_SERVICE_NAME.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(54);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.PROPERTIES.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.PROPERTIES.getName())));
  param.setDisplayName(EParameterName.PROPERTIES.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(54);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.SCHEMA_DB.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.SCHEMA_DB.getName())));
  param.setDisplayName(EParameterName.SCHEMA_DB.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(54);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.USER.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.USER.getName())));
  param.setDisplayName(EParameterName.USER.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(55);
  param.setRequired(true);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.PASS.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.PASS.getName())));
  param.setDisplayName(EParameterName.PASS.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(55);
  param.setRequired(true);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.DBFILE.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.DBFILE.getName())));
  param.setDisplayName(EParameterName.DBFILE.getDisplayName());
  param.setFieldType(EParameterFieldType.FILE);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(56);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.TABLE_STATS.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.TABLE_STATS.getName())));
  param.setDisplayName(EParameterName.TABLE_STATS.getDisplayName());
  param.setFieldType(EParameterFieldType.DBTABLE);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(57);
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.TABLE_LOGS.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.TABLE_LOGS.getName())));
  param.setDisplayName(EParameterName.TABLE_LOGS.getDisplayName());
  param.setFieldType(EParameterFieldType.DBTABLE);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(58);
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.TABLE_METER.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.TABLE_METER.getName())));
  param.setDisplayName(EParameterName.TABLE_METER.getDisplayName());
  param.setFieldType(EParameterFieldType.DBTABLE);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(59);
  param.setShowIf("String_Node_Str");
  paramList.add(param);
}

Fixed version (ground truth):
private static void statsAndLogsParametersDBPart(Element elem){
  ElementParameter param;
  IPreferenceStore preferenceStore=DesignerPlugin.getDefault().getPreferenceStore();
  List<IElementParameter> paramList=(List<IElementParameter>)elem.getElementParameters();
  int languageType=0;
  if (LanguageManager.getCurrentLanguage().equals(ECodeLanguage.JAVA)) {
    languageType=1;
  }
  String languagePrefix=LanguageManager.getCurrentLanguage().toString() + "String_Node_Str";
  param=new ElementParameter(elem);
  param.setName(EParameterName.ON_DATABASE_FLAG.getName());
  param.setValue(preferenceStore.getBoolean(languagePrefix + EParameterName.ON_DATABASE_FLAG.getName()));
  param.setDisplayName(EParameterName.ON_DATABASE_FLAG.getDisplayName());
  param.setFieldType(EParameterFieldType.CHECK);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(50);
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  ElementParameter parentPropertyType=new ElementParameter(elem);
  parentPropertyType.setName(EParameterName.PROPERTY_TYPE.getName());
  parentPropertyType.setDisplayName(EParameterName.PROPERTY_TYPE.getDisplayName());
  parentPropertyType.setValue("String_Node_Str");
  parentPropertyType.setCategory(EComponentCategory.STATSANDLOGS);
  parentPropertyType.setFieldType(EParameterFieldType.PROPERTY_TYPE);
  parentPropertyType.setRepositoryValue(ERepositoryCategoryType.DATABASE.getName());
  parentPropertyType.setNumRow(51);
  parentPropertyType.setShowIf("String_Node_Str");
  paramList.add(parentPropertyType);
  param=new ElementParameter(elem);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setName(EParameterName.PROPERTY_TYPE.getName());
  param.setDisplayName(EParameterName.PROPERTY_TYPE.getDisplayName());
  param.setListItemsDisplayName(new String[]{EmfComponent.TEXT_BUILTIN,EmfComponent.TEXT_REPOSITORY});
  param.setListItemsDisplayCodeName(new String[]{EmfComponent.BUILTIN,EmfComponent.REPOSITORY});
  param.setListItemsValue(new String[]{EmfComponent.BUILTIN,EmfComponent.REPOSITORY});
  param.setValue(preferenceStore.getString(languagePrefix + EParameterName.PROPERTY_TYPE.getName()));
  param.setNumRow(51);
  param.setFieldType(EParameterFieldType.TECHNICAL);
  param.setRepositoryValue(ERepositoryCategoryType.DATABASE.getName());
  param.setShowIf("String_Node_Str");
  param.setParentParameter(parentPropertyType);
  param=new ElementParameter(elem);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setName(EParameterName.REPOSITORY_PROPERTY_TYPE.getName());
  param.setDisplayName(EParameterName.REPOSITORY_PROPERTY_TYPE.getDisplayName());
  param.setListItemsDisplayName(new String[]{});
  param.setListItemsValue(new String[]{});
  param.setNumRow(51);
  param.setFieldType(EParameterFieldType.TECHNICAL);
  param.setValue(preferenceStore.getString(languagePrefix + EParameterName.REPOSITORY_PROPERTY_TYPE.getName()));
  param.setShow(false);
  param.setRequired(true);
  param.setParentParameter(parentPropertyType);
  param=new ElementParameter(elem);
  param.setName(EParameterName.DB_TYPE.getName());
  String type=preferenceStore.getString(languagePrefix + EParameterName.DB_TYPE.getName());
  if (type == null || "String_Node_Str".equals(type.trim())) {
    type=StatsAndLogsConstants.DB_COMPONENTS[languageType][0];
  }
  param.setValue(type);
  param.setDisplayName(EParameterName.DB_TYPE.getDisplayName());
  param.setFieldType(EParameterFieldType.CLOSED_LIST);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setListItemsDisplayName(StatsAndLogsConstants.DISPLAY_DBNAMES[languageType]);
  param.setListItemsValue(StatsAndLogsConstants.DB_COMPONENTS[languageType]);
  param.setListRepositoryItems(StatsAndLogsConstants.REPOSITORY_ITEMS[languageType]);
  param.setListItemsDisplayCodeName(StatsAndLogsConstants.CODE_LIST[languageType]);
  param.setNumRow(52);
  param.setRepositoryValue("String_Node_Str");
  param.setRequired(true);
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.DB_VERSION.getName());
  param.setValue(StatsAndLogsConstants.DB_VERSION_DRIVER[1]);
  param.setDisplayName(EParameterName.DB_VERSION.getDisplayName());
  param.setFieldType(EParameterFieldType.CLOSED_LIST);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setListItemsDisplayName(StatsAndLogsConstants.DB_VERSION_DISPLAY);
  param.setListItemsValue(StatsAndLogsConstants.DB_VERSION_DRIVER);
  param.setListItemsDisplayCodeName(StatsAndLogsConstants.DB_VERSION_CODE);
  param.setNumRow(52);
  param.setRepositoryValue("String_Node_Str");
  param.setRequired(true);
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.URL.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.URL.getName())));
  param.setDisplayName(EParameterName.URL.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(53);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  List<ModuleNeeded> moduleNeededList=ModulesNeededProvider.getModulesNeeded();
  Set<String> moduleNameList=new TreeSet<String>();
  Set<String> moduleValueList=new TreeSet<String>();
  for (  ModuleNeeded module : moduleNeededList) {
    String moduleName=module.getModuleName();
    if (moduleName != null) {
      moduleNameList.add(moduleName);
      moduleValueList.add(TalendTextUtils.addQuotes(moduleName));
    }
  }
  Comparator<String> comprarator=new IgnoreCaseComparator();
  String[] moduleNameArray=moduleNameList.toArray(new String[0]);
  String[] moduleValueArray=moduleValueList.toArray(new String[0]);
  Arrays.sort(moduleNameArray,comprarator);
  Arrays.sort(moduleValueArray,comprarator);
  ElementParameter childParam=new ElementParameter(elem);
  childParam.setName("String_Node_Str");
  childParam.setDisplayName("String_Node_Str");
  childParam.setFieldType(EParameterFieldType.MODULE_LIST);
  childParam.setListItemsDisplayName(moduleNameArray);
  childParam.setListItemsValue(moduleValueArray);
  param=new ElementParameter(elem);
  param.setName(EParameterName.DRIVER_JAR.getName());
  param.setDisplayName(EParameterName.DRIVER_JAR.getDisplayName());
  param.setFieldType(EParameterFieldType.TABLE);
  param.setListItemsDisplayCodeName(new String[]{"String_Node_Str"});
  param.setListItemsDisplayName(new String[]{"String_Node_Str"});
  param.setListItemsValue(new ElementParameter[]{childParam});
  param.setValue(new ArrayList<Map<String,Object>>());
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(54);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.DRIVER_CLASS.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.DRIVER_CLASS.getName())));
  param.setDisplayName(EParameterName.DRIVER_CLASS.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(57);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.HOST.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.HOST.getName())));
  param.setDisplayName(EParameterName.HOST.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(53);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.PORT.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.PORT.getName())));
  param.setDisplayName(EParameterName.PORT.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(53);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.DBNAME.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.DBNAME.getName())));
  param.setDisplayName(EParameterName.DBNAME.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(54);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.LOCAL_SERVICE_NAME.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.LOCAL_SERVICE_NAME.getName())));
  param.setDisplayName(EParameterName.LOCAL_SERVICE_NAME.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(54);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.PROPERTIES.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.PROPERTIES.getName())));
  param.setDisplayName(EParameterName.PROPERTIES.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(54);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.SCHEMA_DB.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.SCHEMA_DB.getName())));
  param.setDisplayName(EParameterName.SCHEMA_DB.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(54);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.USER.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.USER.getName())));
  param.setDisplayName(EParameterName.USER.getDisplayName());
  param.setFieldType(EParameterFieldType.TEXT);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(55);
  param.setRequired(true);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.PASS.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.PASS.getName())));
  param.setDisplayName(EParameterName.PASS.getDisplayName());
  param.setFieldType(EParameterFieldType.PASSWORD);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(55);
  param.setRequired(true);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.DBFILE.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.DBFILE.getName())));
  param.setDisplayName(EParameterName.DBFILE.getDisplayName());
  param.setFieldType(EParameterFieldType.FILE);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(56);
  param.setRepositoryValue("String_Node_Str");
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.TABLE_STATS.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.TABLE_STATS.getName())));
  param.setDisplayName(EParameterName.TABLE_STATS.getDisplayName());
  param.setFieldType(EParameterFieldType.DBTABLE);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(57);
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.TABLE_LOGS.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.TABLE_LOGS.getName())));
  param.setDisplayName(EParameterName.TABLE_LOGS.getDisplayName());
  param.setFieldType(EParameterFieldType.DBTABLE);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(58);
  param.setShowIf("String_Node_Str");
  paramList.add(param);
  param=new ElementParameter(elem);
  param.setName(EParameterName.TABLE_METER.getName());
  param.setValue(addQuotes(preferenceStore.getString(languagePrefix + EParameterName.TABLE_METER.getName())));
  param.setDisplayName(EParameterName.TABLE_METER.getDisplayName());
  param.setFieldType(EParameterFieldType.DBTABLE);
  param.setCategory(EComponentCategory.STATSANDLOGS);
  param.setNumRow(59);
  param.setShowIf("String_Node_Str");
  paramList.add(param);
}