3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
11 package eu
.etaxonomy
.cdm
.io
.eflora
.centralAfrica
.ferns
;
13 import java
.util
.UUID
;
15 import org
.apache
.log4j
.Logger
;
17 import eu
.etaxonomy
.cdm
.common
.CdmUtils
;
18 import eu
.etaxonomy
.cdm
.io
.common
.mapping
.InputTransformerBase
;
19 import eu
.etaxonomy
.cdm
.io
.common
.mapping
.UndefinedTransformerMethodException
;
20 import eu
.etaxonomy
.cdm
.model
.common
.MarkerType
;
21 import eu
.etaxonomy
.cdm
.model
.description
.Feature
;
28 public final class CentralAfricaFernsTransformer
extends InputTransformerBase
{
29 @SuppressWarnings("unused")
30 private static final Logger logger
= Logger
.getLogger(CentralAfricaFernsTransformer
.class);
35 * @see eu.etaxonomy.cdm.io.common.mapping.InputTransformerBase#getFeatureByKey(java.lang.String)
38 public Feature
getFeatureByKey(String key
) throws UndefinedTransformerMethodException
{
39 if (CdmUtils
.isEmpty(key
)){return null;
40 // }else if (key.equalsIgnoreCase("distribution")){return Feature.DISTRIBUTION();
41 // }else if (key.equalsIgnoreCase("habitatecology")){return Feature.ECOLOGY();
48 * @see eu.etaxonomy.cdm.io.common.mapping.InputTransformerBase#getFeatureUuid(java.lang.String)
51 public UUID
getFeatureUuid(String key
) throws UndefinedTransformerMethodException
{
52 if (CdmUtils
.isEmpty(key
)){return null;
53 // }else if (key.equalsIgnoreCase("Chromosomes")){return uuidChromosomes;
54 // }else if (key.equalsIgnoreCase("Inflorescence")){return uuidInflorescence;
67 * @see eu.etaxonomy.cdm.io.common.mapping.InputTransformerBase#getMarkerTypeByKey(java.lang.String)
70 public MarkerType
getMarkerTypeByKey(String key
) throws UndefinedTransformerMethodException
{
71 if (CdmUtils
.isEmpty(key
)){return null;
72 // }else if (key.equalsIgnoreCase("distribution")){return MarkerType.;
73 // }else if (key.equalsIgnoreCase("habitatecology")){return Feature.ECOLOGY();
80 public UUID
getMarkerTypeUuid(String key
) throws UndefinedTransformerMethodException
{
81 if (CdmUtils
.isEmpty(key
)){return null;
82 // }else if (key.equalsIgnoreCase("IMPERFECTLY KNOWN SPECIES")){return uuidIncompleteTaxon;