edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiDataFieldConfiguration 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
package edu.internet2.middleware.grouper.grouperUi.beans.ui;
import java.util.ArrayList;
import java.util.List;
import edu.internet2.middleware.grouper.dataField.GrouperDataFieldConfiguration;
public class GuiDataFieldConfiguration {
private GrouperDataFieldConfiguration grouperDataFieldConfiguration;
public GrouperDataFieldConfiguration getGrouperDataFieldConfiguration() {
return grouperDataFieldConfiguration;
}
private GuiDataFieldConfiguration(GrouperDataFieldConfiguration grouperDataFieldConfiguration) {
this.grouperDataFieldConfiguration = grouperDataFieldConfiguration;
}
public static GuiDataFieldConfiguration convertFromDataFieldConfiguration(GrouperDataFieldConfiguration dataFieldConfiguration) {
return new GuiDataFieldConfiguration(dataFieldConfiguration);
}
public static List convertFromDataFieldConfiguration(List dataFieldConfigurations) {
List guiDataFieldConfigs = new ArrayList();
for (GrouperDataFieldConfiguration dataFieldConfiguration: dataFieldConfigurations) {
guiDataFieldConfigs.add(convertFromDataFieldConfiguration(dataFieldConfiguration));
}
return guiDataFieldConfigs;
}
}