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.mapping;
|
11
|
|
12
|
import java.util.UUID;
|
13
|
|
14
|
import eu.etaxonomy.cdm.model.common.DefinedTerm;
|
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.PresenceAbsenceTerm;
|
20
|
import eu.etaxonomy.cdm.model.description.State;
|
21
|
import eu.etaxonomy.cdm.model.location.NamedArea;
|
22
|
import eu.etaxonomy.cdm.model.location.NamedAreaLevel;
|
23
|
import eu.etaxonomy.cdm.model.location.ReferenceSystem;
|
24
|
import eu.etaxonomy.cdm.model.name.NameTypeDesignationStatus;
|
25
|
import eu.etaxonomy.cdm.model.name.NomenclaturalStatusType;
|
26
|
import eu.etaxonomy.cdm.model.name.Rank;
|
27
|
import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignationStatus;
|
28
|
|
29
|
|
30
|
/**
|
31
|
* Interface for import and export transformer classes. Mainly to transform defined terms.
|
32
|
* @author a.mueller
|
33
|
* @created 15.03.2010
|
34
|
* @version 1.0
|
35
|
*/
|
36
|
public interface IInputTransformer {
|
37
|
|
38
|
//Feature
|
39
|
public Feature getFeatureByKey(String key) throws UndefinedTransformerMethodException;
|
40
|
|
41
|
public UUID getFeatureUuid(String key) throws UndefinedTransformerMethodException;
|
42
|
|
43
|
//Language
|
44
|
public Language getLanguageByKey(String key) throws UndefinedTransformerMethodException;
|
45
|
|
46
|
public UUID getLanguageUuid(String key) throws UndefinedTransformerMethodException;
|
47
|
|
48
|
//Extension Type
|
49
|
public ExtensionType getExtensionTypeByKey(String key) throws UndefinedTransformerMethodException;
|
50
|
|
51
|
public UUID getExtensionTypeUuid(String key) throws UndefinedTransformerMethodException;
|
52
|
|
53
|
//MarkerType
|
54
|
public MarkerType getMarkerTypeByKey(String key) throws UndefinedTransformerMethodException;
|
55
|
|
56
|
public UUID getMarkerTypeUuid(String key) throws UndefinedTransformerMethodException;
|
57
|
|
58
|
//NameTypeDesignationStatus
|
59
|
public NameTypeDesignationStatus getNameTypeDesignationStatusByKey(String key) throws UndefinedTransformerMethodException;
|
60
|
|
61
|
public UUID getNameTypeDesignationStatusUuid(String key) throws UndefinedTransformerMethodException;
|
62
|
|
63
|
|
64
|
//SpecimenTypeDesignationStatus
|
65
|
public SpecimenTypeDesignationStatus getSpecimenTypeDesignationStatusByKey(String key) throws UndefinedTransformerMethodException;
|
66
|
|
67
|
public UUID getSpecimenTypeDesignationStatusUuid(String key) throws UndefinedTransformerMethodException;
|
68
|
|
69
|
|
70
|
//Presence Term
|
71
|
public PresenceAbsenceTerm getPresenceTermByKey(String key) throws UndefinedTransformerMethodException;
|
72
|
|
73
|
public UUID getPresenceTermUuid(String key) throws UndefinedTransformerMethodException;
|
74
|
|
75
|
//Named area
|
76
|
public NamedArea getNamedAreaByKey(String key) throws UndefinedTransformerMethodException;
|
77
|
|
78
|
public UUID getNamedAreaUuid(String key) throws UndefinedTransformerMethodException;
|
79
|
|
80
|
//named area level
|
81
|
public NamedAreaLevel getNamedAreaLevelByKey(String key) throws UndefinedTransformerMethodException;
|
82
|
|
83
|
public UUID getNamedAreaLevelUuid(String key) throws UndefinedTransformerMethodException;
|
84
|
|
85
|
//reference system
|
86
|
public UUID getReferenceSystemUuid(String key) throws UndefinedTransformerMethodException;
|
87
|
|
88
|
public ReferenceSystem getReferenceSystemByKey(String key) throws UndefinedTransformerMethodException;
|
89
|
|
90
|
//rank
|
91
|
//Feature
|
92
|
public Rank getRankByKey(String key) throws UndefinedTransformerMethodException;
|
93
|
|
94
|
public UUID getRankUuid(String key) throws UndefinedTransformerMethodException;
|
95
|
|
96
|
//state
|
97
|
public State getStateByKey(String key) throws UndefinedTransformerMethodException;
|
98
|
|
99
|
public UUID getStateUuid(String key) throws UndefinedTransformerMethodException;
|
100
|
|
101
|
public NomenclaturalStatusType getNomenclaturalStatusByKey(String key) throws UndefinedTransformerMethodException;
|
102
|
|
103
|
public DefinedTerm getIdentifierTypeByKey(String key) throws UndefinedTransformerMethodException;
|
104
|
|
105
|
public UUID getIdentifierTypeUuid(String key) throws UndefinedTransformerMethodException;
|
106
|
|
107
|
}
|