added PresenceTerm to transformers
[cdmlib.git] / cdmlib-io / src / main / java / eu / etaxonomy / cdm / io / common / mapping / IInputTransformer.java
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.name.NameTypeDesignationStatus;
20
21
22 /**
23 * Interface for import and export transformer classes. Mainly to transform defined terms.
24 * @author a.mueller
25 * @created 15.03.2010
26 * @version 1.0
27 */
28 public interface IInputTransformer {
29
30 //Feature
31 public Feature getFeatureByKey(String key) throws UndefinedTransformerMethodException;
32
33 public UUID getFeatureUuid(String key) throws UndefinedTransformerMethodException;
34
35 //Language
36 public Language getLanguageByKey(String key) throws UndefinedTransformerMethodException;
37
38 public UUID getLanguageUuid(String key) throws UndefinedTransformerMethodException;
39
40 //Extension Type
41 public ExtensionType getExtensionTypeByKey(String key) throws UndefinedTransformerMethodException;
42
43 public UUID getExtensionTypeUuid(String key) throws UndefinedTransformerMethodException;
44
45 //MarkerType
46 public MarkerType getMarkerTypeByKey(String key) throws UndefinedTransformerMethodException;
47
48 public UUID getMarkerTypeUuid(String key) throws UndefinedTransformerMethodException;
49
50 //NameTypeDesignationStatus
51 public NameTypeDesignationStatus getNameTypeDesignationStatusByKey(String key) throws UndefinedTransformerMethodException;
52
53 public UUID getNameTypeDesignationStatusUuid(String key) throws UndefinedTransformerMethodException;
54
55
56 //Prsence Term
57 public NameTypeDesignationStatus getPresenceTermByKey(String key) throws UndefinedTransformerMethodException;
58
59 public UUID getPresenceTermUuid(String key) throws UndefinedTransformerMethodException;
60
61 }