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

edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiDataRowConfiguration 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.GrouperDataRowConfiguration;

public class GuiDataRowConfiguration {
  
  private GrouperDataRowConfiguration grouperDataRowConfiguration;
  
  public GrouperDataRowConfiguration getGrouperDataRowConfiguration() {
    return grouperDataRowConfiguration;
  }
  
  private GuiDataRowConfiguration(GrouperDataRowConfiguration grouperDataRowConfiguration) {
    this.grouperDataRowConfiguration = grouperDataRowConfiguration;
  }

  public static GuiDataRowConfiguration convertFromDataRowConfiguration(GrouperDataRowConfiguration grouperDataRowConfiguration) {
    return new GuiDataRowConfiguration(grouperDataRowConfiguration);
  }
  
  public static List convertFromDataRowConfiguration(List dataRowConfigurations) {
    
    List guiDataRowConfigs = new ArrayList();
    
    for (GrouperDataRowConfiguration grouperDataRowConfiguration: dataRowConfigurations) {
      guiDataRowConfigs.add(convertFromDataRowConfiguration(grouperDataRowConfiguration));
    }
    
    return guiDataRowConfigs;
    
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy