All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiDataProviderConfiguration Maven / Gradle / Ivy

There is a newer version: 5.13.5
Show newest version
package edu.internet2.middleware.grouper.grouperUi.beans.ui;

import java.util.ArrayList;
import java.util.List;

import edu.internet2.middleware.grouper.dataField.GrouperDataProviderConfiguration;

public class GuiDataProviderConfiguration {
  
  private GrouperDataProviderConfiguration grouperDataProviderConfiguration;
  
  public GrouperDataProviderConfiguration getGrouperDataProviderConfiguration() {
    return grouperDataProviderConfiguration;
  }
  
  private GuiDataProviderConfiguration(GrouperDataProviderConfiguration grouperDataProviderConfiguration) {
    this.grouperDataProviderConfiguration = grouperDataProviderConfiguration;
  }
  
  public static GuiDataProviderConfiguration convertFromDataProviderConfiguration(GrouperDataProviderConfiguration grouperDataProviderConfiguration) {
    return new GuiDataProviderConfiguration(grouperDataProviderConfiguration);
  }
  
  public static List convertFromDataProviderConfiguration(List dataProviderConfigurations) {
    
    List guiDataRowConfigs = new ArrayList();
    
    for (GrouperDataProviderConfiguration grouperDataProviderConfiguration: dataProviderConfigurations) {
      guiDataRowConfigs.add(convertFromDataProviderConfiguration(grouperDataProviderConfiguration));
    }
    
    return guiDataRowConfigs;
    
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy