Coverage Summary for Class: ImportConfigurationConverter (org.kitodo.production.converter)

Class Class, % Method, % Line, %
ImportConfigurationConverter 0% (0/1) 0% (0/3) 0% (0/3)


 /*
  * (c) Kitodo. Key to digital objects e. V. <contact@kitodo.org>
  *
  * This file is part of the Kitodo project.
  *
  * It is licensed under GNU General Public License version 3 or later.
  *
  * For the full copyright and license information, please read the
  * GPL3-License.txt file that was distributed with this source code.
  */
 
 package org.kitodo.production.converter;
 
 import javax.faces.component.UIComponent;
 import javax.faces.context.FacesContext;
 import javax.faces.convert.Converter;
 import javax.faces.convert.ConverterException;
 import javax.inject.Named;
 
 import org.kitodo.data.database.beans.ImportConfiguration;
 import org.kitodo.production.services.ServiceManager;
 
 @Named
 public class ImportConfigurationConverter extends BeanConverter implements Converter<ImportConfiguration> {
     @Override
     public ImportConfiguration getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
             throws ConverterException {
         return (ImportConfiguration) getAsObject(ServiceManager.getImportConfigurationService(), value);
     }
 
     @Override
     public String getAsString(FacesContext facesContext, UIComponent uiComponent, ImportConfiguration value)
             throws ConverterException {
         return getAsString(value, "importConfig.configuration");
     }
 }