code: public DataSetBasicAttributesWorkflow basicAttributes(final DataSetProviderType type) {
          final boolean isSQL = type != null && DataSetProviderType.SQL.equals(type);
          final boolean isBean = type != null && DataSetProviderType.BEAN.equals(type);
          final boolean isCSV = type != null && DataSetProviderType.CSV.equals(type);
          final boolean isEL = type != null && DataSetProviderType.ELASTICSEARCH.equals(type);
          Class workflowClass = null;
          if (isSQL) {
              workflowClass = SQLDataSetBasicAttributesWorkflow.class;
          } else if (isCSV) {
              workflowClass = CSVDataSetBasicAttributesWorkflow.class;
          } else if (isBean) {
              workflowClass = BeanDataSetBasicAttributesWorkflow.class;
          } else if (isEL) {
              workflowClass = ElasticSearchDataSetBasicAttributesWorkflow.class;
          }
          return  (DataSetBasicAttributesWorkflow) beanManager.lookupBean( workflowClass ).newInstance();
      }
docs: Obtain the bean for creating (editing basic attributes to be able to perform a lookup)  a data set definition for a given type.
  @param type The data set definition provider type to edit the basic attributes.
  @return The workflow instance.