edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiGrouperExternalSystem 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.app.externalSystem.GrouperExternalSystem;
public class GuiGrouperExternalSystem {
private GrouperExternalSystem grouperExternalSystem;
private GuiGrouperExternalSystem(GrouperExternalSystem grouperExternalSystem) {
this.grouperExternalSystem = grouperExternalSystem;
}
public GrouperExternalSystem getGrouperExternalSystem() {
return this.grouperExternalSystem;
}
public static GuiGrouperExternalSystem convertFromGrouperExternalSystem(GrouperExternalSystem grouperExternalSystem) {
return new GuiGrouperExternalSystem(grouperExternalSystem);
}
public static List convertFromGrouperExternalSystem(List grouperExternalSystems) {
List guiGrouperExternalSystems = new ArrayList();
for (GrouperExternalSystem grouperExternalSystem: grouperExternalSystems) {
guiGrouperExternalSystems.add(convertFromGrouperExternalSystem(grouperExternalSystem));
}
return guiGrouperExternalSystems;
}
}