Program: 124670
Project: 124670
Buggy source:
private Object getHadoopClusterRepositoryValue(HadoopClusterConnection hcConnection,String value,IMetadataTable table){
  if (EHDFSRepositoryToComponent.DISTRIBUTION.getRepositoryValue().equals(value)) {
    return hcConnection.getDistribution();
  }
 else   if (EHDFSRepositoryToComponent.DB_VERSION.getRepositoryValue().equals(value)) {
    return hcConnection.getDfVersion();
  }
 else   if (EHDFSRepositoryToComponent.HADOOP_CUSTOM_JARS.getRepositoryValue().equals(value)) {
    return HCVersionUtil.getCompCustomJarsParamFromRep(hcConnection,ECustomVersionGroup.MAP_REDUCE);
  }
 else   if (EHDFSRepositoryToComponent.HADOOP_CUSTOM_JARS_FOR_SPARK.getRepositoryValue().equals(value)) {
    return HCVersionUtil.getCompCustomJarsParamFromRep(hcConnection,ECustomVersionGroup.SPARK);
  }
 else   if (EHDFSRepositoryToComponent.HADOOP_CUSTOM_JARS_FOR_SPARKSTREAMING.getRepositoryValue().equals(value)) {
    return HCVersionUtil.getCompCustomJarsParamFromRep(hcConnection,ECustomVersionGroup.SPARK_STREAMING);
  }
 else   if (EHDFSRepositoryToComponent.USE_YARN.getRepositoryValue().equals(value)) {
    return hcConnection.isUseYarn();
  }
 else   if (EHDFSRepositoryToComponent.AUTHENTICATION_MODE.getRepositoryValue().equals(value)) {
    return hcConnection.getAuthMode();
  }
 else   if (EHDFSRepositoryToComponent.FS_DEFAULT_NAME.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getNameNodeURI()));
  }
 else   if (EHDFSRepositoryToComponent.USE_KRB.getRepositoryValue().equals(value)) {
    return hcConnection.isEnableKerberos();
  }
 else   if (EHDFSRepositoryToComponent.NAMENODE_PRINCIPAL.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getPrincipal()));
  }
 else   if (EHDFSRepositoryToComponent.JOBTRACKER_PRINCIPAL.getRepositoryValue().equals(value) || EHDFSRepositoryToComponent.RESOURCEMANAGER_PRINCIPAL.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getJtOrRmPrincipal()));
  }
 else   if (EHDFSRepositoryToComponent.JOBHISTORY_PRINCIPAL.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getJobHistoryPrincipal()));
  }
 else   if (EHDFSRepositoryToComponent.GROUP.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getGroup()));
  }
 else   if (EHDFSRepositoryToComponent.USE_MAPRTICKET.getRepositoryValue().equals(value)) {
    return hcConnection.isEnableMaprT();
  }
 else   if (EHDFSRepositoryToComponent.MAPRTICKET_PASSWORD.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getMaprTPassword()));
  }
 else   if (EHDFSRepositoryToComponent.MAPRTICKET_CLUSTER.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getMaprTCluster()));
  }
 else   if (EHDFSRepositoryToComponent.MAPRTICKET_DURATION.getRepositoryValue().equals(value)) {
    return hcConnection.getMaprTDuration();
  }
 else   if (EHDFSRepositoryToComponent.SET_MAPR_HOME_DIR.getRepositoryValue().equals(value)) {
    return hcConnection.isSetMaprTHomeDir();
  }
 else   if (EHDFSRepositoryToComponent.MAPR_HOME_DIR.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getMaprTHomeDir()));
  }
 else   if (EHDFSRepositoryToComponent.SET_HADOOP_LOGIN.getRepositoryValue().equals(value)) {
    return hcConnection.isSetHadoopLogin();
  }
 else   if (EHDFSRepositoryToComponent.HADOOP_LOGIN.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getMaprTHadoopLogin()));
  }
 else   if (EHDFSRepositoryToComponent.PRELOAD_AUTHENTIFICATION.getRepositoryValue().equals(value)) {
    return hcConnection.isPreloadAuthentification();
  }
 else   if (EHDFSRepositoryToComponent.LOCAL.getRepositoryValue().equals(value)) {
    return false;
  }
 else   if (EHDFSRepositoryToComponent.MAPREDUCE.getRepositoryValue().equals(value)) {
    return true;
  }
 else   if (EHDFSRepositoryToComponent.PIG_VERSION.getRepositoryValue().equals(value)) {
    return hcConnection.getDfVersion();
  }
 else   if (EHDFSRepositoryToComponent.MAPRED_JOB_TRACKER.getRepositoryValue().equals(value) || EHDFSRepositoryToComponent.MAPRED_RESOURCE_MANAGER.getRepositoryValue().equals(value) || EHDFSRepositoryToComponent.RESOURCE_MANAGER.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getJobTrackerURI());
  }
 else   if (EHDFSRepositoryToComponent.USERNAME.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getUserName()));
  }
 else   if (EHDFSRepositoryToComponent.USE_KEYTAB.getRepositoryValue().equals(value)) {
    return hcConnection.isUseKeytab();
  }
 else   if (EHDFSRepositoryToComponent.KEYTAB_PRINCIPAL.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getKeytabPrincipal()));
  }
 else   if (EHDFSRepositoryToComponent.KEYTAB_PATH.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getKeytab()));
  }
 else   if (EParameterNameForComponent.PARA_NAME_WEBHCAT_HOST.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_WEB_HCAT_HOSTNAME));
  }
 else   if (EParameterNameForComponent.PARA_NAME_WEBHCAT_PORT.getName().equals(value)) {
    return hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_WEB_HCAT_PORT);
  }
 else   if (EParameterNameForComponent.PARA_NAME_WEBHCAT_USERNAME.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_WEB_HCAT_USERNAME));
  }
 else   if (EParameterNameForComponent.PARA_NAME_STATUSDIR.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_WEB_HCAT_JOB_RESULT_FOLDER));
  }
 else   if (EParameterNameForComponent.PARA_NAME_HDINSIGHT_USERNAME.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_HDI_USERNAME));
  }
 else   if (EParameterNameForComponent.PARA_NAME_HDINSIGHT_PASSWORD.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_HDI_PASSWORD));
  }
 else   if (EParameterNameForComponent.PARA_NAME_WASB_HOST.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_AZURE_HOSTNAME));
  }
 else   if (EParameterNameForComponent.PARA_NAME_WASB_CONTAINER.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_AZURE_CONTAINER));
  }
 else   if (EParameterNameForComponent.PARA_NAME_WASB_USERNAME.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_AZURE_USERNAME));
  }
 else   if (EParameterNameForComponent.PARA_NAME_WASB_PASSWORD.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_AZURE_PASSWORD));
  }
 else   if (EParameterNameForComponent.PARA_NAME_REMOTE_FOLDER.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_AZURE_DEPLOY_BLOB));
  }
 else   if (EHDFSRepositoryToComponent.HADOOP_ADVANCED_PROPERTIES.getRepositoryValue().equals(value)) {
    return HadoopRepositoryUtil.getHadoopPropertiesFullList(hcConnection,hcConnection.getHadoopProperties(),true);
  }
 else   if (EHDFSRepositoryToComponent.SET_SCHEDULER_ADDRESS.getRepositoryValue().equals(value)) {
    return true;
  }
 else   if (EHDFSRepositoryToComponent.RESOURCEMANAGER_SCHEDULER_ADDRESS.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getRmScheduler()));
  }
 else   if (EHDFSRepositoryToComponent.SET_JOBHISTORY_ADDRESS.getRepositoryValue().equals(value)) {
    return true;
  }
 else   if (EHDFSRepositoryToComponent.JOBHISTORY_ADDRESS.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getJobHistory()));
  }
 else   if (EHDFSRepositoryToComponent.SET_STAGING_DIRECTORY.getRepositoryValue().equals(value)) {
    return true;
  }
 else   if (EHDFSRepositoryToComponent.STAGING_DIRECTORY.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getStagingDirectory()));
  }
 else   if (EHDFSRepositoryToComponent.USE_DATANODE_HOSTNAME.getRepositoryValue().equals(value)) {
    return hcConnection.isUseDNHost();
  }
 else   if (EHDFSRepositoryToComponent.USE_CLOUDERA_NAVIGATOR.getRepositoryValue().equals(value)) {
    return hcConnection.isUseClouderaNavi();
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_USERNAME.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getClouderaNaviUserName()));
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_PASSWORD.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getClouderaNaviPassword()));
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_URL.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getClouderaNaviUrl()));
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_METADATA_URL.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getClouderaNaviMetadataUrl()));
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_CLIENT_URL.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getClouderaNaviClientUrl()));
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_AUTOCOMMIT.getRepositoryValue().equals(value)) {
    return hcConnection.isClouderaAutoCommit();
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_DISABLE_SSL_VALIDATION.getRepositoryValue().equals(value)) {
    return hcConnection.isClouderaDisableSSL();
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_DIE_ON_ERROR.getRepositoryValue().equals(value)) {
    return hcConnection.isClouderaDieNoError();
  }
  return null;
}

Fixed version (ground truth):
private Object getHadoopClusterRepositoryValue(HadoopClusterConnection hcConnection,String value,IMetadataTable table){
  if (EHDFSRepositoryToComponent.DISTRIBUTION.getRepositoryValue().equals(value)) {
    return hcConnection.getDistribution();
  }
 else   if (EHDFSRepositoryToComponent.DB_VERSION.getRepositoryValue().equals(value)) {
    return hcConnection.getDfVersion();
  }
 else   if (EHDFSRepositoryToComponent.HADOOP_CUSTOM_JARS.getRepositoryValue().equals(value)) {
    return HCVersionUtil.getCompCustomJarsParamFromRep(hcConnection,ECustomVersionGroup.MAP_REDUCE);
  }
 else   if (EHDFSRepositoryToComponent.HADOOP_CUSTOM_JARS_FOR_SPARK.getRepositoryValue().equals(value)) {
    return HCVersionUtil.getCompCustomJarsParamFromRep(hcConnection,ECustomVersionGroup.SPARK);
  }
 else   if (EHDFSRepositoryToComponent.HADOOP_CUSTOM_JARS_FOR_SPARKSTREAMING.getRepositoryValue().equals(value)) {
    return HCVersionUtil.getCompCustomJarsParamFromRep(hcConnection,ECustomVersionGroup.SPARK_STREAMING);
  }
 else   if (EHDFSRepositoryToComponent.USE_YARN.getRepositoryValue().equals(value)) {
    return hcConnection.isUseYarn();
  }
 else   if (EHDFSRepositoryToComponent.AUTHENTICATION_MODE.getRepositoryValue().equals(value)) {
    return hcConnection.getAuthMode();
  }
 else   if (EHDFSRepositoryToComponent.FS_DEFAULT_NAME.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getNameNodeURI()));
  }
 else   if (EHDFSRepositoryToComponent.USE_KRB.getRepositoryValue().equals(value)) {
    return hcConnection.isEnableKerberos();
  }
 else   if (EHDFSRepositoryToComponent.NAMENODE_PRINCIPAL.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getPrincipal()));
  }
 else   if (EHDFSRepositoryToComponent.JOBTRACKER_PRINCIPAL.getRepositoryValue().equals(value) || EHDFSRepositoryToComponent.RESOURCEMANAGER_PRINCIPAL.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getJtOrRmPrincipal()));
  }
 else   if (EHDFSRepositoryToComponent.JOBHISTORY_PRINCIPAL.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getJobHistoryPrincipal()));
  }
 else   if (EHDFSRepositoryToComponent.GROUP.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getGroup()));
  }
 else   if (EHDFSRepositoryToComponent.USE_MAPRTICKET.getRepositoryValue().equals(value)) {
    return hcConnection.isEnableMaprT();
  }
 else   if (EHDFSRepositoryToComponent.MAPRTICKET_PASSWORD.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getMaprTPassword()));
  }
 else   if (EHDFSRepositoryToComponent.MAPRTICKET_CLUSTER.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getMaprTCluster()));
  }
 else   if (EHDFSRepositoryToComponent.MAPRTICKET_DURATION.getRepositoryValue().equals(value)) {
    return hcConnection.getMaprTDuration();
  }
 else   if (EHDFSRepositoryToComponent.SET_MAPR_HOME_DIR.getRepositoryValue().equals(value)) {
    return hcConnection.isSetMaprTHomeDir();
  }
 else   if (EHDFSRepositoryToComponent.MAPR_HOME_DIR.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getMaprTHomeDir()));
  }
 else   if (EHDFSRepositoryToComponent.SET_HADOOP_LOGIN.getRepositoryValue().equals(value)) {
    return hcConnection.isSetHadoopLogin();
  }
 else   if (EHDFSRepositoryToComponent.HADOOP_LOGIN.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getMaprTHadoopLogin()));
  }
 else   if (EHDFSRepositoryToComponent.PRELOAD_AUTHENTIFICATION.getRepositoryValue().equals(value)) {
    return hcConnection.isPreloadAuthentification();
  }
 else   if (EHDFSRepositoryToComponent.LOCAL.getRepositoryValue().equals(value)) {
    return false;
  }
 else   if (EHDFSRepositoryToComponent.MAPREDUCE.getRepositoryValue().equals(value)) {
    return true;
  }
 else   if (EHDFSRepositoryToComponent.PIG_VERSION.getRepositoryValue().equals(value)) {
    return hcConnection.getDfVersion();
  }
 else   if (EHDFSRepositoryToComponent.MAPRED_JOB_TRACKER.getRepositoryValue().equals(value) || EHDFSRepositoryToComponent.MAPRED_RESOURCE_MANAGER.getRepositoryValue().equals(value) || EHDFSRepositoryToComponent.RESOURCE_MANAGER.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getJobTrackerURI());
  }
 else   if (EHDFSRepositoryToComponent.USERNAME.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getUserName()));
  }
 else   if (EHDFSRepositoryToComponent.USE_KEYTAB.getRepositoryValue().equals(value)) {
    return hcConnection.isUseKeytab();
  }
 else   if (EHDFSRepositoryToComponent.KEYTAB_PRINCIPAL.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getKeytabPrincipal()));
  }
 else   if (EHDFSRepositoryToComponent.KEYTAB_PATH.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getKeytab()));
  }
 else   if (EParameterNameForComponent.PARA_NAME_WEBHCAT_HOST.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_WEB_HCAT_HOSTNAME));
  }
 else   if (EParameterNameForComponent.PARA_NAME_WEBHCAT_PORT.getName().equals(value)) {
    return hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_WEB_HCAT_PORT);
  }
 else   if (EParameterNameForComponent.PARA_NAME_WEBHCAT_USERNAME.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_WEB_HCAT_USERNAME));
  }
 else   if (EParameterNameForComponent.PARA_NAME_STATUSDIR.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_WEB_HCAT_JOB_RESULT_FOLDER));
  }
 else   if (EParameterNameForComponent.PARA_NAME_HDINSIGHT_USERNAME.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_HDI_USERNAME));
  }
 else   if (EParameterNameForComponent.PARA_NAME_HDINSIGHT_PASSWORD.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_HDI_PASSWORD));
  }
 else   if (EParameterNameForComponent.PARA_NAME_WASB_HOST.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_AZURE_HOSTNAME));
  }
 else   if (EParameterNameForComponent.PARA_NAME_WASB_CONTAINER.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_AZURE_CONTAINER));
  }
 else   if (EParameterNameForComponent.PARA_NAME_WASB_USERNAME.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_AZURE_USERNAME));
  }
 else   if (EParameterNameForComponent.PARA_NAME_WASB_PASSWORD.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_AZURE_PASSWORD));
  }
 else   if (EParameterNameForComponent.PARA_NAME_REMOTE_FOLDER.getName().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,hcConnection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_AZURE_DEPLOY_BLOB));
  }
 else   if (EHDFSRepositoryToComponent.HADOOP_ADVANCED_PROPERTIES.getRepositoryValue().equals(value) || "String_Node_Str".equals(value)) {
    return HadoopRepositoryUtil.getHadoopPropertiesFullList(hcConnection,hcConnection.getHadoopProperties(),true);
  }
 else   if (EHDFSRepositoryToComponent.SET_SCHEDULER_ADDRESS.getRepositoryValue().equals(value)) {
    return true;
  }
 else   if (EHDFSRepositoryToComponent.RESOURCEMANAGER_SCHEDULER_ADDRESS.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getRmScheduler()));
  }
 else   if (EHDFSRepositoryToComponent.SET_JOBHISTORY_ADDRESS.getRepositoryValue().equals(value)) {
    return true;
  }
 else   if (EHDFSRepositoryToComponent.JOBHISTORY_ADDRESS.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getJobHistory()));
  }
 else   if (EHDFSRepositoryToComponent.SET_STAGING_DIRECTORY.getRepositoryValue().equals(value)) {
    return true;
  }
 else   if (EHDFSRepositoryToComponent.STAGING_DIRECTORY.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getStagingDirectory()));
  }
 else   if (EHDFSRepositoryToComponent.USE_DATANODE_HOSTNAME.getRepositoryValue().equals(value)) {
    return hcConnection.isUseDNHost();
  }
 else   if (EHDFSRepositoryToComponent.USE_CLOUDERA_NAVIGATOR.getRepositoryValue().equals(value)) {
    return hcConnection.isUseClouderaNavi();
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_USERNAME.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getClouderaNaviUserName()));
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_PASSWORD.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getClouderaNaviPassword()));
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_URL.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getClouderaNaviUrl()));
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_METADATA_URL.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getClouderaNaviMetadataUrl()));
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_CLIENT_URL.getRepositoryValue().equals(value)) {
    return getRepositoryValueOfStringType(hcConnection,StringUtils.trimToNull(hcConnection.getClouderaNaviClientUrl()));
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_AUTOCOMMIT.getRepositoryValue().equals(value)) {
    return hcConnection.isClouderaAutoCommit();
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_DISABLE_SSL_VALIDATION.getRepositoryValue().equals(value)) {
    return hcConnection.isClouderaDisableSSL();
  }
 else   if (EHDFSRepositoryToComponent.CLOUDERA_NAVIGATOR_DIE_ON_ERROR.getRepositoryValue().equals(value)) {
    return hcConnection.isClouderaDieNoError();
  }
  return null;
}