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
.commons
.lang
.StringUtils
;
16 import org
.apache
.log4j
.Logger
;
18 import eu
.etaxonomy
.cdm
.common
.CdmUtils
;
19 import eu
.etaxonomy
.cdm
.io
.common
.mapping
.InputTransformerBase
;
20 import eu
.etaxonomy
.cdm
.io
.common
.mapping
.UndefinedTransformerMethodException
;
21 import eu
.etaxonomy
.cdm
.model
.common
.ExtensionType
;
22 import eu
.etaxonomy
.cdm
.model
.common
.MarkerType
;
23 import eu
.etaxonomy
.cdm
.model
.description
.Feature
;
24 import eu
.etaxonomy
.cdm
.model
.description
.PresenceTerm
;
25 import eu
.etaxonomy
.cdm
.model
.location
.NamedArea
;
26 import eu
.etaxonomy
.cdm
.model
.location
.TdwgArea
;
27 import eu
.etaxonomy
.cdm
.model
.location
.WaterbodyOrCountry
;
34 public final class CentralAfricaFernsTransformer
extends InputTransformerBase
{
35 @SuppressWarnings("unused")
36 private static final Logger logger
= Logger
.getLogger(CentralAfricaFernsTransformer
.class);
39 public static UUID uuidFascicle
= UUID
.fromString("718bb2d6-dbcd-4e60-9cfa-154a59461ef4");
40 public static UUID uuidNomenclaturalRemarks
= UUID
.fromString("ea7ceb5c-1b31-47b2-8544-89c90aed3a44");
41 public static UUID uuidNamePublishedAs
= UUID
.fromString("8eb258aa-6342-49cd-ad7b-185a3e879031");
42 public static UUID uuidIllustrationsNonOriginal
= UUID
.fromString("b0beb324-76a6-4f76-9e0c-413383782329");
46 public static UUID uuidZanzibar
= UUID
.fromString("8d7dc5e2-43a6-4e7d-af29-a43cf62ca212");
47 public static UUID uuidAnnobon
= UUID
.fromString("a90c534e-d079-4525-82be-6a35c111f0ab");
48 public static UUID uuidDiegoGarcia
= UUID
.fromString("62341ff2-516e-4e4f-951e-53d9a7acaf17");
49 public static UUID uuidPemba
= UUID
.fromString("21230ed0-1a06-4a37-ae6e-55d67bd946c3");
50 public static UUID uuidStoAntao
= UUID
.fromString("9bd9cb1f-43e3-4b90-8cf8-fa3439b51fe2");
51 public static UUID uuidSaoVicente
= UUID
.fromString("77cd4a69-c876-49e8-8227-a12972bf1184");
52 public static UUID uuidSaoNicolau
= UUID
.fromString("634e5d6a-11b3-4da6-b73a-bf9de90ea589");
53 public static UUID uuidFogo
= UUID
.fromString("6f04c3fe-a226-4071-b945-ac87c96e1c4b");
54 public static UUID uuidBrava
= UUID
.fromString("19430d50-c2ee-4a78-a7b3-a7c643741475");
55 public static UUID uuidGrandeComore
= UUID
.fromString("20777d55-2370-4741-a6f9-077a3a5ddb1e");
56 public static UUID uuidGough
= UUID
.fromString("e139d74f-27dd-4e0a-a927-fcb8c5308325");
57 public static UUID uuidMiddleIslandTristanDaCunha
= UUID
.fromString("2d228eda-d1ad-405b-8f3a-a7c471cbd791");
58 public static UUID uuidCerfs
= UUID
.fromString("267cf857-ef09-47d9-9779-a8b71166aa7f");
59 public static UUID uuidSoqotra
= UUID
.fromString("3734f10e-c2f1-426e-9c6b-488b468240b9");
60 public static UUID uuidJohannaIsl
= UUID
.fromString("852a369f-c501-4451-80ed-360ff8253184");
61 public static UUID uuidTenerife
= UUID
.fromString("73a9a469-1e5a-4781-9121-d307e1379c10");
62 public static UUID uuidGranCanaria
= UUID
.fromString("8f1e7b58-c459-47d4-9899-dff9eac8edc1");
63 public static UUID uuidLanzarote
= UUID
.fromString("5490408a-e32e-4f4e-b1d9-62851b218e8e");
64 public static UUID uuidFuerteventura
= UUID
.fromString("da4ad5f0-646f-4052-b313-a0d9dc8c46ea");
65 public static UUID uuidHierro
= UUID
.fromString("b6cbd29d-f3b7-46b3-a30f-e9f1adfe0ea7");
66 public static UUID uuidGomera
= UUID
.fromString("65ef14b2-859e-4b69-bccb-c42c6b494854");
67 public static UUID uuidLaPalma
= UUID
.fromString("3f4eb88f-52f4-40b9-a5bb-068081ef0f1f");
68 public static UUID uuidFlores
= UUID
.fromString("2a601fcd-abf2-498d-ada8-ee474f3a16b1");
69 public static UUID uuidFaial
= UUID
.fromString("a94fa265-ec5e-4a48-a18e-8644e3a1cc3c");
70 public static UUID uuidAnjouan
= UUID
.fromString("cf601ab3-acdf-4d31-92de-953fd304705b");
71 public static UUID uuidSilhouette
= UUID
.fromString("4e1b5b36-1d35-4e30-a396-12a227b235e2");
72 public static UUID uuidLongIslandSeychelles
= UUID
.fromString("26450454-cae5-4767-a8ca-f6e6e82fc1e3");
73 public static UUID uuidInaccessible
= UUID
.fromString("cfe55681-1fe0-4ca7-81af-ea684d74db53");
74 public static UUID uuidBoavista
= UUID
.fromString("034f8734-1d90-4f92-8e6d-11a90e696820");
75 public static UUID uuidMaio
= UUID
.fromString("034f8734-1d90-4f92-8e6d-11a90e696820");
76 public static UUID uuidStLuzia
= UUID
.fromString("d31471eb-7c39-43a1-b571-a3fb11a2f104");
77 public static UUID uuidNightingaleIs
= UUID
.fromString("54105a68-e01b-41af-ba98-1b99fc8ccd03");
78 public static UUID uuidMohely
= UUID
.fromString("06e57bcd-b598-4176-aa69-0aa71ce1e2a1");
79 public static UUID uuidSantaMaria
= UUID
.fromString("c5b56013-ed2d-4756-aa8d-d3be55a5b6b2");
80 public static UUID uuidSaoMiguel
= UUID
.fromString("94121376-3e77-47ad-8015-4c6c2ae35b36");
81 public static UUID uuidTerceira
= UUID
.fromString("193d3300-d41d-4c89-9159-7318d679ef6b");
82 public static UUID uuidDesertas
= UUID
.fromString("83107c67-038f-4d1e-b13c-6ec050e4f498");
83 public static UUID uuidPortoSanto
= UUID
.fromString("403cd0d8-af72-4f7e-ad2f-a01350e07b28");
84 public static UUID uuidMahe
= UUID
.fromString("3130d493-cc71-463e-bdc0-dad9eb909459");
85 public static UUID uuidParslin
= UUID
.fromString("af3dfce1-10fb-471d-83f5-a92ab18987b8");
86 public static UUID uuidStoltenhoff
= UUID
.fromString("6ff68f76-0bb9-45e7-900c-ea78ee28e415");
87 public static UUID uuidOmoroIs
= UUID
.fromString("715d3872-1693-4217-a45e-b36cdeba51be");
88 public static UUID uuidMoorea
= UUID
.fromString("40a49403-d178-4789-86d6-13aad498ba4c");
93 // 69e62cb6-e0ea-4886-8c52-5aa6de6bee74
94 // 54715820-f15e-4ad1-b7a4-2a0e5967c931
95 // baaec166-6df9-4a55-b3c7-465982e481bb
98 public NamedArea
getNamedAreaByKey(String key
) throws UndefinedTransformerMethodException
{
99 if (StringUtils
.isBlank(key
)){return null;
100 }else if (key
.equalsIgnoreCase("DRC")){return TdwgArea
.getAreaByTdwgAbbreviation("CON-OO");
101 }else if (key
.matches("C[�o]t[e��] d'Ivoire")){return TdwgArea
.getAreaByTdwgAbbreviation("IVO-OO");
102 }else if (key
.equalsIgnoreCase("Gambia")){return TdwgArea
.getAreaByTdwgAbbreviation("GAM-OO");
103 }else if (key
.matches("Sout?h Af?rica")){return WaterbodyOrCountry
.getWaterbodyOrCountryByLabel("South Africa, Republic of");
104 }else if (key
.matches("Equ[ai]torial? Guinea")){return TdwgArea
.getAreaByTdwgAbbreviation("EQG-OO");
105 }else if (key
.equalsIgnoreCase("Spanish Moroco")){return TdwgArea
.getAreaByTdwgAbbreviation("MOR-SP");
106 }else if (key
.matches("Co?[mn]o[rl][oe] [iI]sl?\\.")|| key
.equalsIgnoreCase("Comores")){return TdwgArea
.getAreaByTdwgAbbreviation("COM-CO");
107 }else if (key
.matches("(La )?R[\u00c9]un?ion\\.?")){return TdwgArea
.getAreaByTdwgAbbreviation("REU-OO");
108 }else if (key
.equalsIgnoreCase("Lybia")){return TdwgArea
.getAreaByTdwgAbbreviation("LBY-OO");
109 }else if (key
.matches("St He[lr]ena")){return TdwgArea
.getAreaByTdwgAbbreviation("STH-OO");
110 }else if (key
.equalsIgnoreCase("Amsterdam Isl.")){return TdwgArea
.getAreaByTdwgAbbreviation("ASP-OO");
111 }else if (key
.equalsIgnoreCase("Crozet isl.")){return TdwgArea
.getAreaByTdwgAbbreviation("CRZ-OO");
112 }else if (key
.matches("Pr?[i�]nci[pl]e")){return TdwgArea
.getAreaByTdwgAbbreviation("GGI-PR");
113 }else if (key
.equalsIgnoreCase("Marion Isl.") || key
.matches("Prince Ed[uw]ard Isl.") ){return TdwgArea
.getAreaByTdwgAbbreviation("MPE-OO");
114 }else if (key
.matches("Tan?z?an(ia|ai)")){return TdwgArea
.getAreaByTdwgAbbreviation("TAN-OO");
115 }else if (key
.matches("Cana[rt]y [iI]sl.")){return TdwgArea
.getAreaByTdwgAbbreviation("CNY-OO");
116 }else if (key
.equalsIgnoreCase("Azores")){return TdwgArea
.getAreaByTdwgAbbreviation("AZO-OO");
117 }else if (key
.matches("Rodri[gq]ue[sz]( Isl?(and)?\\.?)?")){return TdwgArea
.getAreaByTdwgAbbreviation("ROD-OO");
118 }else if (key
.equalsIgnoreCase("Ascension Island")){return TdwgArea
.getAreaByTdwgAbbreviation("ASC-OO");
119 }else if (key
.matches("S[a�]o Tom[\u00c9]")){return TdwgArea
.getAreaByTdwgAbbreviation("GGI-ST");
120 }else if (key
.matches("Marquesas Is.")){return TdwgArea
.getAreaByTdwgAbbreviation("MRQ-OO");
121 }else if (key
.matches("Equador")){return TdwgArea
.getAreaByTdwgAbbreviation("ECU-OO");
122 }else if (key
.matches("Norfolk Isl.")){return TdwgArea
.getAreaByTdwgAbbreviation("NFK");
123 }else if (key
.matches("[cC]ape Ver[db]e Isl\\.?")){return TdwgArea
.getAreaByTdwgAbbreviation("CVI-OO");
124 }else if (key
.matches("Sey(h|cl)elles")){return TdwgArea
.getAreaByTdwgAbbreviation("SEY-OO");
125 }else if (key
.matches("Ma?dagas?c?ar")){return TdwgArea
.getAreaByTdwgAbbreviation("MDG-OO");
126 }else if (key
.matches("Malay Peninsula")){return TdwgArea
.getAreaByTdwgAbbreviation("MLY-PM");
127 }else if (key
.matches("Si?erra [lL]eone")){return TdwgArea
.getAreaByTdwgAbbreviation("SIE-OO");
128 }else if (key
.matches("[mM]auri(tius|ce)")){return TdwgArea
.getAreaByTdwgAbbreviation("MAU-OO");
129 }else if (key
.matches("Kena")){return TdwgArea
.getAreaByTdwgAbbreviation("KEN-OO");
130 }else if (key
.matches("Ma[yj]otte")){return TdwgArea
.getAreaByTdwgAbbreviation("COM-MA");
131 }else if (key
.matches("Cent?ral Africa?n? Republic")){return TdwgArea
.getAreaByTdwgAbbreviation("CAF-OO");
132 }else if (key
.matches("Guiea")){return TdwgArea
.getAreaByTdwgAbbreviation("GUI-OO");
133 }else if (key
.matches("Swazialnd")){return TdwgArea
.getAreaByTdwgAbbreviation("SWZ-OO");
134 }else if (key
.matches("Guinea Bissau")){return TdwgArea
.getAreaByTdwgAbbreviation("GNB-OO");
135 }else if (key
.matches("Za[nm]bia")){return TdwgArea
.getAreaByTdwgAbbreviation("ZAM-OO");
136 }else if (key
.matches("Western Cape")){return TdwgArea
.getAreaByTdwgAbbreviation("CPP-WC");
137 }else if (key
.matches("U?gan[gd]a")){return TdwgArea
.getAreaByTdwgAbbreviation("UGA-OO");
138 }else if (key
.matches("Mo[zx]?ambique")){return TdwgArea
.getAreaByTdwgAbbreviation("MOZ-OO");
139 }else if (key
.matches("Tchad")){return TdwgArea
.getAreaByTdwgAbbreviation("CHA-OO");
140 }else if (key
.matches("Tri?[sa]t?an da Cunha")){return TdwgArea
.getAreaByTdwgAbbreviation("TDC-OO");
141 }else if (key
.matches("Camero?on")){return TdwgArea
.getAreaByTdwgAbbreviation("CMN-OO");
142 }else if (key
.matches("also in China")){return TdwgArea
.getAreaByTdwgAbbreviation("36");
143 }else if (key
.matches("Java")){return TdwgArea
.getAreaByTdwgAbbreviation("JAW-OO");
144 }else if (key
.matches("Burma")){return TdwgArea
.getAreaByTdwgAbbreviation("MYA-OO");
145 }else if (key
.matches("French Guinea")){return TdwgArea
.getAreaByTdwgAbbreviation("GUI-OO");
146 }else if (key
.matches("Bourbon")){return TdwgArea
.getAreaByTdwgAbbreviation("REU-OO");
147 }else if (key
.matches("Sumatra")){return TdwgArea
.getAreaByTdwgAbbreviation("SUM-OO");
148 }else if (key
.matches("Gana")){return TdwgArea
.getAreaByTdwgAbbreviation("GHA-OO");
149 }else if (key
.matches("Lestho")){return TdwgArea
.getAreaByTdwgAbbreviation("LES-OO");
158 public UUID
getNamedAreaUuid(String key
) throws UndefinedTransformerMethodException
{
159 if (CdmUtils
.isEmpty(key
)){return null;
160 //Teilstaat des Unionsstaates Tansania
161 }else if (key
.equalsIgnoreCase("Zanzibar")){return uuidZanzibar
;
162 //Annob�n (port. Ano Bom) ist eine Insel im Golf von Guinea und gleichzeitig eine der sieben Provinzen �quatorialguineas mit der Hauptstadt San Antonio de Pal�.
163 }else if (key
.matches("Anno?[bn]on")){return uuidAnnobon
;
164 //Diego Garcia ist nach der Landfl�che das gr��te Atoll des Chagos-Archipels,
165 }else if (key
.equalsIgnoreCase("Diego Garcia")){return uuidDiegoGarcia
;
166 //Pemba ist die zweitgr��te Insel des ostafrikanischen Sansibar-Archipels. Gemeinsam mit der 50 km s�dlich gelegenen Insel Unguja und zahlreichen kleinen Nebeninseln bildet Pemba den halbautonomen Teilstaat �Sansibar� in Tansania.
167 }else if (key
.matches("Pemba( Isl.)?")){return uuidPemba
;
168 //Santo Ant�o (port. f�r Heiliger Antonius) ist mit 779 km� die zweitgr��te der Kapverdischen Inseln im Atlantik.
169 }else if (key
.matches("S(an)?(to?)?\\.? Ant[�a]o") ){return uuidStoAntao
;
170 //S�o Vicente ist eine der kleineren Kapverdischen Inseln im Atlantik
171 }else if (key
.matches("S(�o)?\\.? Vicente")){return uuidSaoVicente
;
172 //S�o Nicolau (dt.: �Sankt Nikolaus�) ist eine der kleineren (388 km�) und gebirgigen Kapverdischen Inseln im Norden des Archipels.
173 }else if (key
.matches("S(\\.|�o) Nicolau")){return uuidSaoNicolau
;
175 }else if (key
.equalsIgnoreCase("Fogo")){return uuidFogo
;
176 //Brava ist die kleinste der bewohnten Kapverdischen Inseln im Atlantik.
177 }else if (key
.matches("Br[ao]v[ao]")){return uuidBrava
;
178 //Grande Comore - Comores
179 }else if (key
.matches("Grande Comor[eo]")){return uuidGrandeComore
;
180 //Gough ist eine hohe vulkanische Insel im Atlantischen Ozean, die zur Inselgruppe Tristan da Cunha geh�rt.
181 }else if (key
.matches("Gough Isl(\\.|and)?")){return uuidGough
;
182 //Middle Island ist eine Insel im S�datlantik, gelegen zwischen Nightingale Island und Stoltenhoff Island. Sie ist Teil der Inselgruppe Tristan da Cunha und geh�rt somit zum Britischen �berseegebiet St. Helena.
183 }else if (key
.matches("Middle Isl(\\.|and)?")){return uuidMiddleIslandTristanDaCunha
;
184 //Die �le aux Cerfs (w�rtlich �bersetzt �Hirscheninsel�) ist eine kleine Insel �stlich von Mauritius im Indischen Ozean.
185 }else if (key
.equalsIgnoreCase("Ile aux Cerfs")){return uuidCerfs
;
186 //Sokotra ist eine Insel im nordwestlichen Indischen Ozean.
187 }else if (key
.equalsIgnoreCase("Soqotra")){return uuidSoqotra
;
189 }else if (key
.matches("Johanna( Isl\\.?)?")){return uuidJohannaIsl
;
191 }else if (key
.equalsIgnoreCase("Tenerife")){return uuidTenerife
;
193 }else if (key
.matches("Gran Canar(ia|y)")){return uuidGranCanaria
;
195 }else if (key
.matches("Lanzarote")){return uuidLanzarote
;
197 }else if (key
.matches("Fuerteventura")){return uuidFuerteventura
;
199 }else if (key
.matches("Gomera")){return uuidGomera
;
201 }else if (key
.matches("Hierro")){return uuidHierro
;
203 }else if (key
.matches("(La )?Palma")){return uuidLaPalma
;
205 }else if (key
.matches("Flores")){return uuidFlores
;
206 //Faial ist eine Gemeinde an der Nordk�ste Madeiras im Kreis Santan
207 }else if (key
.equalsIgnoreCase("Faial")){return uuidFaial
;
208 //Anjouan (komorisch Ndzouani) ist eine der vier Inseln der Komoren.
209 }else if (key
.equalsIgnoreCase("Anjouan")){return uuidAnjouan
;
210 //Silhouette ist eine Insel der Seychellen in der Inselgruppe um Mah�.
211 }else if (key
.matches("Silhouette( Isl?(and)?\\.)?")){return uuidSilhouette
;
212 //Long Island : Seychellen (es gibt auch andere Long Islands)
213 }else if (key
.matches("Long Island")){return uuidLongIslandSeychelles
;
214 //Inaccessible Islands sind eine Gruppe kleiner, unbewohnter Inseln im Archipel der S�dlichen Orkneyinseln im S�dpolarmeer.
215 }else if (key
.matches("Inaccessibl[ea] Isl(and)?\\.?")){return uuidInaccessible
;
216 //Boa Vista (dt.: �Sch�ner Anblick�), auch Boavista geschrieben, ist die drittgr��te der Kapverdischen Inseln im Zentralatlantik.
217 }else if (key
.equalsIgnoreCase("Boavista")){return uuidBoavista
;
218 //Maio ist eine der neun bewohnten Kapverdischen Inseln im Atlantik.
219 }else if (key
.equalsIgnoreCase("Maio")){return uuidMaio
;
221 }else if (key
.equalsIgnoreCase("Sta. Luzia")){return uuidStLuzia
;
222 //Nightingale Islands
223 }else if (key
.matches("Nightingale Isl(and)?\\.?")){return uuidNightingaleIs
;
225 }else if (key
.matches("Moh[�e]ll?[yi]")){return uuidMohely
;
226 //Santa Maria ist die geologisch �lteste Insel der Azoren im Atlantischen Ozean
227 }else if (key
.matches("Santa Maria")){return uuidSantaMaria
;
228 //S�o Miguel ist die gr��te Insel der Azoren.
229 }else if (key
.matches("S�o Miguel")){return uuidSaoMiguel
;
230 //Terceira geh�rt zur Zentralgruppe der Azoren.
231 }else if (key
.matches("Terceira")){return uuidTerceira
;
233 }else if (key
.matches("Desertas")){return uuidDesertas
;
234 //Porto Santo - Madeira
235 }else if (key
.matches("Porto Santo")){return uuidPortoSanto
;
237 }else if (key
.matches("Mah[�e]")){return uuidMahe
;
238 //Parslin - Seychelles
239 }else if (key
.matches("Parslin")){return uuidParslin
;
240 //Stoltenhoff Island ist eine unbewohnte Insel im S�datlantik. Stoltenhoff geh�rt, wie die gesamte Inselgruppe Tristan da Cunha, zum Britischen �berseegebiet St. Helena.
241 }else if (key
.matches("Stoltenhoff Isl(and)?\\.?")){return uuidStoltenhoff
;
243 }else if (key
.matches("Omoro Isl.")){return uuidOmoroIs
;
244 //Moorea �ltere Namen Aimeho oder Eimeo (Cook), Santo Domingo (Boenechea) und York Island (Wallis), ist eine Insel im S�d-Pazifik, die politisch zu Franz�sisch-Polynesien geh�rt.
245 }else if (key
.matches("Moorea")){return uuidMoorea
;
257 * @see eu.etaxonomy.cdm.io.common.mapping.InputTransformerBase#getExtensionTypeByKey(java.lang.String)
260 public ExtensionType
getExtensionTypeByKey(String key
) throws UndefinedTransformerMethodException
{
261 if (key
== null){return null;
262 // }else if (key.equalsIgnoreCase("fascicle")){return getExt;
268 * @see eu.etaxonomy.cdm.io.common.mapping.InputTransformerBase#getExtensionTypeUuid(java.lang.String)
271 public UUID
getExtensionTypeUuid(String key
)
272 throws UndefinedTransformerMethodException
{
273 if (key
== null){return null;
274 }else if (key
.equalsIgnoreCase("fascicle")){return uuidFascicle
;
282 * @see eu.etaxonomy.cdm.io.common.mapping.InputTransformerBase#getFeatureByKey(java.lang.String)
285 public Feature
getFeatureByKey(String key
) throws UndefinedTransformerMethodException
{
286 if (CdmUtils
.isEmpty(key
)){return null;
287 // }else if (key.equalsIgnoreCase("distribution")){return Feature.DISTRIBUTION();
288 // }else if (key.equalsIgnoreCase("habitatecology")){return Feature.ECOLOGY();
295 * @see eu.etaxonomy.cdm.io.common.mapping.InputTransformerBase#getFeatureUuid(java.lang.String)
298 public UUID
getFeatureUuid(String key
) throws UndefinedTransformerMethodException
{
299 if (CdmUtils
.isEmpty(key
)){return null;
300 // }else if (key.equalsIgnoreCase("Chromosomes")){return uuidChromosomes;
301 // }else if (key.equalsIgnoreCase("Inflorescence")){return uuidInflorescence;
314 * @see eu.etaxonomy.cdm.io.common.mapping.InputTransformerBase#getMarkerTypeByKey(java.lang.String)
317 public MarkerType
getMarkerTypeByKey(String key
) throws UndefinedTransformerMethodException
{
318 if (CdmUtils
.isEmpty(key
)){return null;
319 // }else if (key.equalsIgnoreCase("distribution")){return MarkerType.;
320 // }else if (key.equalsIgnoreCase("habitatecology")){return Feature.ECOLOGY();
327 public UUID
getMarkerTypeUuid(String key
) throws UndefinedTransformerMethodException
{
328 if (CdmUtils
.isEmpty(key
)){return null;
329 // }else if (key.equalsIgnoreCase("IMPERFECTLY KNOWN SPECIES")){return uuidIncompleteTaxon;
338 public PresenceTerm
getPresenceTermByKey(String key
) throws UndefinedTransformerMethodException
{
339 if (CdmUtils
.isEmpty(key
)){return null;
340 }else if (key
.equalsIgnoreCase("introduced")){return PresenceTerm
.INTRODUCED();
341 }else if (key
.equalsIgnoreCase("endemic")){return PresenceTerm
.ENDEMIC_FOR_THE_RELEVANT_AREA();
342 }else if (key
.equalsIgnoreCase("naturalised")){return PresenceTerm
.NATURALISED();
343 }else if (key
.equalsIgnoreCase("introduced?")){return PresenceTerm
.INTRODUCED_DOUBTFULLY_INTRODUCED();
350 public UUID
getPresenceTermUuid(String key
) throws UndefinedTransformerMethodException
{
351 if (CdmUtils
.isEmpty(key
)){return null;
352 // }else if (key.equalsIgnoreCase("IN")){return indigenousUuid;
353 // }else if (key.equalsIgnoreCase("CA")){return casualUuid;
354 // }else if (key.equalsIgnoreCase("NN")){return nonInvasiveUuid;
355 // }else if (key.equalsIgnoreCase("NA")){return invasiveUuid;
356 // }else if (key.equalsIgnoreCase("Q")){return questionableUuid;
357 // }else if (key.equalsIgnoreCase("IN?")){return indigenousDoubtfulUuid;
358 // }else if (key.equalsIgnoreCase("CA?")){return casualDoubtfulUuid;
359 // }else if (key.equalsIgnoreCase("NN?")){return nonInvasiveDoubtfulUuid;
360 // }else if (key.equalsIgnoreCase("NA?")){return invasiveDoubtfulUuid;
361 // }else if (key.equalsIgnoreCase("Q?")){return questionableDoubtfulUuid;
362 // }else if (key.equalsIgnoreCase("CU?")){return cultivatedDoubtfulUuid;