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

edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiGshTemplateConfiguration Maven / Gradle / Ivy

There is a newer version: 5.13.5
Show newest version
package edu.internet2.middleware.grouper.grouperUi.beans.ui;

import java.util.ArrayList;
import java.util.List;

import edu.internet2.middleware.grouper.app.gsh.template.GshTemplateConfiguration;

public class GuiGshTemplateConfiguration {

  private GshTemplateConfiguration gshTemplateConfiguration;

  private GuiGshTemplateConfiguration(GshTemplateConfiguration gshTemplateConfiguration) {
    this.gshTemplateConfiguration = gshTemplateConfiguration;
  }
  
  public GshTemplateConfiguration getGshTemplateConfiguration() {
    return gshTemplateConfiguration;
  }

  public static GuiGshTemplateConfiguration convertFromGshTemplateConfiguration(GshTemplateConfiguration gshTemplateConfiguration) {
    return new GuiGshTemplateConfiguration(gshTemplateConfiguration);
  }
  
  public static List convertFromGshTemplateConfiguration(List gshTemplateConfigurations) {
    
    List guiGshTemplateConfigs = new ArrayList();
    
    for (GshTemplateConfiguration gshTemplateConfiguration: gshTemplateConfigurations) {
      guiGshTemplateConfigs.add(convertFromGshTemplateConfiguration(gshTemplateConfiguration));
    }
    
    return guiGshTemplateConfigs;
    
  }
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy