edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiSqlSyncConfiguration 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.sqlSync.SqlSyncConfiguration;
public class GuiSqlSyncConfiguration {
private SqlSyncConfiguration sqlSyncConfiguration;
public SqlSyncConfiguration getSqlSyncConfiguration() {
return sqlSyncConfiguration;
}
private GuiSqlSyncConfiguration(SqlSyncConfiguration sqlSyncConfiguration) {
this.sqlSyncConfiguration = sqlSyncConfiguration;
}
public static GuiSqlSyncConfiguration convertFromSqlSyncConfiguration(SqlSyncConfiguration sqlSyncConfiguration) {
return new GuiSqlSyncConfiguration(sqlSyncConfiguration);
}
public static List convertFromSqlSyncConfiguration(List sqlSyncConfigurations) {
List guiSqlSyncConfigs = new ArrayList();
for (SqlSyncConfiguration sqlSyncConfiguration: sqlSyncConfigurations) {
guiSqlSyncConfigs.add(convertFromSqlSyncConfiguration(sqlSyncConfiguration));
}
return guiSqlSyncConfigs;
}
}