edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiDataRowConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grouper-ui Show documentation
Show all versions of grouper-ui Show documentation
Internet2 Groups Management User Interface
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;
}
}