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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy