1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2007 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
|
11
|
package eu.etaxonomy.cdm.io.common.mapping;
|
12
|
|
13
|
import java.util.UUID;
|
14
|
|
15
|
import eu.etaxonomy.cdm.model.common.ExtensionType;
|
16
|
import eu.etaxonomy.cdm.model.common.Language;
|
17
|
import eu.etaxonomy.cdm.model.common.MarkerType;
|
18
|
import eu.etaxonomy.cdm.model.description.Feature;
|
19
|
import eu.etaxonomy.cdm.model.description.PresenceTerm;
|
20
|
import eu.etaxonomy.cdm.model.location.NamedArea;
|
21
|
import eu.etaxonomy.cdm.model.location.NamedAreaLevel;
|
22
|
import eu.etaxonomy.cdm.model.location.ReferenceSystem;
|
23
|
import eu.etaxonomy.cdm.model.name.NameTypeDesignationStatus;
|
24
|
import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignationStatus;
|
25
|
|
26
|
|
27
|
/**
|
28
|
* Interface for import and export transformer classes. Mainly to transform defined terms.
|
29
|
* @author a.mueller
|
30
|
* @created 15.03.2010
|
31
|
* @version 1.0
|
32
|
*/
|
33
|
public interface IInputTransformer {
|
34
|
|
35
|
//Feature
|
36
|
public Feature getFeatureByKey(String key) throws UndefinedTransformerMethodException;
|
37
|
|
38
|
public UUID getFeatureUuid(String key) throws UndefinedTransformerMethodException;
|
39
|
|
40
|
//Language
|
41
|
public Language getLanguageByKey(String key) throws UndefinedTransformerMethodException;
|
42
|
|
43
|
public UUID getLanguageUuid(String key) throws UndefinedTransformerMethodException;
|
44
|
|
45
|
//Extension Type
|
46
|
public ExtensionType getExtensionTypeByKey(String key) throws UndefinedTransformerMethodException;
|
47
|
|
48
|
public UUID getExtensionTypeUuid(String key) throws UndefinedTransformerMethodException;
|
49
|
|
50
|
//MarkerType
|
51
|
public MarkerType getMarkerTypeByKey(String key) throws UndefinedTransformerMethodException;
|
52
|
|
53
|
public UUID getMarkerTypeUuid(String key) throws UndefinedTransformerMethodException;
|
54
|
|
55
|
//NameTypeDesignationStatus
|
56
|
public NameTypeDesignationStatus getNameTypeDesignationStatusByKey(String key) throws UndefinedTransformerMethodException;
|
57
|
|
58
|
public UUID getNameTypeDesignationStatusUuid(String key) throws UndefinedTransformerMethodException;
|
59
|
|
60
|
|
61
|
//SpecimenTypeDesignationStatus
|
62
|
public SpecimenTypeDesignationStatus getSpecimenTypeDesignationStatusByKey(String key) throws UndefinedTransformerMethodException;
|
63
|
|
64
|
public UUID getSpecimenTypeDesignationStatusUuid(String key) throws UndefinedTransformerMethodException;
|
65
|
|
66
|
|
67
|
//Presence Term
|
68
|
public PresenceTerm getPresenceTermByKey(String key) throws UndefinedTransformerMethodException;
|
69
|
|
70
|
public UUID getPresenceTermUuid(String key) throws UndefinedTransformerMethodException;
|
71
|
|
72
|
public NamedArea getNamedAreaByKey(String key) throws UndefinedTransformerMethodException;
|
73
|
|
74
|
public UUID getNamedAreaUuid(String key) throws UndefinedTransformerMethodException;
|
75
|
|
76
|
public NamedAreaLevel getNamedAreaLevelByKey(String key) throws UndefinedTransformerMethodException;
|
77
|
|
78
|
public UUID getNamedAreaLevelUuid(String key) throws UndefinedTransformerMethodException;
|
79
|
|
80
|
public UUID getReferenceSystemUuid(String key) throws UndefinedTransformerMethodException;
|
81
|
|
82
|
public ReferenceSystem getReferenceSystemByKey(String key) throws UndefinedTransformerMethodException;
|
83
|
|
84
|
}
|