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

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

The newest version!
package edu.internet2.middleware.grouper.grouperUi.beans.ui;

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

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

public class GuiDataProviderQueryConfiguration {
  
  private GrouperDataProviderQueryConfiguration grouperDataProviderQueryConfiguration;
  
  public GrouperDataProviderQueryConfiguration getGrouperDataProviderQueryConfiguration() {
    return grouperDataProviderQueryConfiguration;
  }
  
  private GuiDataProviderQueryConfiguration(GrouperDataProviderQueryConfiguration grouperDataProviderQueryConfiguration) {
    this.grouperDataProviderQueryConfiguration = grouperDataProviderQueryConfiguration;
  }
  
  public static GuiDataProviderQueryConfiguration convertFromDataProviderQueryConfiguration(GrouperDataProviderQueryConfiguration grouperDataProviderQueryConfiguration) {
    return new GuiDataProviderQueryConfiguration(grouperDataProviderQueryConfiguration);
  }
  
  public static List convertFromDataProviderQueryConfiguration(List dataProviderQueryConfigurations) {
    
    List guiDataProviderQueryConfigs = new ArrayList();
    
    for (GrouperDataProviderQueryConfiguration grouperDataProviderConfiguration: dataProviderQueryConfigurations) {
      guiDataProviderQueryConfigs.add(convertFromDataProviderQueryConfiguration(grouperDataProviderConfiguration));
    }
    
    return guiDataProviderQueryConfigs;
    
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy