Project

General

Profile

Download (1.15 KB) Statistics
| Branch: | Revision:
1
/**
2
* Copyright (C) 2007 EDIT
3
* European Distributed Institute of Taxonomy 
4
* http://www.e-taxonomy.eu
5
* 
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9

    
10
package eu.etaxonomy.cdm.io.pesi.erms.validation;
11

    
12
import java.sql.ResultSet;
13
import java.sql.SQLException;
14

    
15
import org.apache.log4j.Logger;
16

    
17

    
18
import eu.etaxonomy.cdm.io.common.IOValidator;
19
import eu.etaxonomy.cdm.io.common.Source;
20
import eu.etaxonomy.cdm.io.pesi.erms.ErmsImportConfigurator;
21
import eu.etaxonomy.cdm.io.pesi.erms.ErmsImportState;
22

    
23
/**
24
 * @author a.mueller
25
 * @created 17.02.2010
26
 * @version 1.0
27
 */
28
public class ErmsDrImportValidator implements IOValidator<ErmsImportState>{
29
	private static final Logger logger = Logger.getLogger(ErmsDrImportValidator.class);
30

    
31
	public boolean validate(ErmsImportState state){
32
		boolean result = true;
33
//		ErmsImportConfigurator config = state.getConfig();
34
		logger.info("Checking for Dr not yet implemented");
35
//		result &= checkTaxonStatus(config);
36
//		result &= checkInactivated(config);
37
		return result;
38
	}
39
	
40

    
41

    
42

    
43
}
(2-2/13)