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.berlinModel.in.validation;
|
11
|
|
12
|
import org.apache.log4j.Logger;
|
13
|
|
14
|
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelImportState;
|
15
|
import eu.etaxonomy.cdm.io.common.IOValidator;
|
16
|
|
17
|
/**
|
18
|
* @author a.mueller
|
19
|
* @since 17.02.2010
|
20
|
*/
|
21
|
public class BerlinModelAuthorTeamImportValidator implements IOValidator<BerlinModelImportState> {
|
22
|
@SuppressWarnings("unused")
|
23
|
private static final Logger logger = Logger.getLogger(BerlinModelAuthorTeamImportValidator.class);
|
24
|
|
25
|
@Override
|
26
|
public boolean validate(BerlinModelImportState state) {
|
27
|
boolean result = true;
|
28
|
System.out.println("Checking for authors not yet implemented");
|
29
|
//result &= checkArticlesWithoutJournal(bmiConfig);
|
30
|
//result &= checkPartOfJournal(bmiConfig);
|
31
|
|
32
|
return result;
|
33
|
}
|
34
|
|
35
|
}
|