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.common;
|
11
|
|
12
|
import java.util.Map;
|
13
|
|
14
|
import eu.etaxonomy.cdm.model.common.CdmBase;
|
15
|
|
16
|
/**
|
17
|
* @author a.mueller
|
18
|
* @created 20.06.2008
|
19
|
* @version 1.0
|
20
|
*/
|
21
|
|
22
|
public interface ICdmIO<T extends IIoConfigurator> {
|
23
|
|
24
|
final String AUTHOR_STORE = "author";
|
25
|
final String REFERENCE_STORE = "reference";
|
26
|
final String NOMREF_STORE = "nomRef";
|
27
|
final String REF_DETAIL_STORE = "refDetail";
|
28
|
final String NOMREF_DETAIL_STORE = "nomRefDetail";
|
29
|
final String TAXONNAME_STORE = "taxonName";
|
30
|
final String TAXON_STORE = "taxon";
|
31
|
final String FEATURE_STORE = "feature";
|
32
|
final String SPECIMEN_STORE = "specimen";
|
33
|
|
34
|
public boolean check(T config);
|
35
|
|
36
|
public boolean invoke(T config, Map<String, MapWrapper<? extends CdmBase>> stores);
|
37
|
|
38
|
}
|