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

edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiPrivacyRealmConfiguration 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.dataField.GrouperPrivacyRealmConfiguration;

public class GuiPrivacyRealmConfiguration {
  
  private GrouperPrivacyRealmConfiguration grouperPrivacyRealmConfiguration;
  
  public GrouperPrivacyRealmConfiguration getGrouperPrivacyRealmConfiguration() {
    return grouperPrivacyRealmConfiguration;
  }
  
  private GuiPrivacyRealmConfiguration(GrouperPrivacyRealmConfiguration grouperPrivacyRealmConfiguration) {
    this.grouperPrivacyRealmConfiguration = grouperPrivacyRealmConfiguration;
  }
  
  public static GuiPrivacyRealmConfiguration convertFromPrivacyRealmConfiguration(GrouperPrivacyRealmConfiguration grouperPrivacyRealmConfiguration) {
    return new GuiPrivacyRealmConfiguration(grouperPrivacyRealmConfiguration);
  }
  
  public static List convertFromPrivacyRealmConfiguration(List privacyRealmConfigurations) {
    
    List guiPrivacyRealmConfigs = new ArrayList();
    
    for (GrouperPrivacyRealmConfiguration grouperPrivacyRealmConfiguration: privacyRealmConfigurations) {
      guiPrivacyRealmConfigs.add(convertFromPrivacyRealmConfiguration(grouperPrivacyRealmConfiguration));
    }
    
    return guiPrivacyRealmConfigs;
    
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy