Project

General

Profile

Download (1.11 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.redlist.validation;
11

    
12
import org.apache.log4j.Logger;
13

    
14
import eu.etaxonomy.cdm.io.common.IOValidator;
15
import eu.etaxonomy.cdm.io.redlist.RoteListeDbImportConfigurator;
16
import eu.etaxonomy.cdm.io.redlist.RoteListeDbImportState;
17

    
18
/**
19
 * @author a.mueller
20
 * @since 17.02.2010
21
 * @version 1.0
22
 */
23
public class RoteListeDbTaxonImportValidator implements IOValidator<RoteListeDbImportState>{
24
	private static final Logger logger = Logger.getLogger(RoteListeDbTaxonImportValidator.class);
25

    
26
	public boolean validate(RoteListeDbImportState state){
27
		boolean result = true;
28
		RoteListeDbImportConfigurator config = state.getConfig();
29
		logger.warn("Checking for Taxa not yet implemented");
30
//		result &= checkParentTaxonStatus(config);
31
//		result &= checkAccParentTaxonStatus(config);
32
		return result;
33
	}
34
	
35

    
36
	
37

    
38

    
39
}
    (1-1/1)