Latest updates to Specimen Excel import
[cdmlib.git] / cdmlib-io / src / main / java / eu / etaxonomy / cdm / io / specimen / excel / in / SpecimenCdmExcelTransformer.java
index beda8bfb1f845573c16413f86be9fb7a18c83186..febf7818c5649b68f78f496747c8bfc1d6662f86 100644 (file)
@@ -32,13 +32,17 @@ public final class SpecimenCdmExcelTransformer extends InputTransformerBase {
        public static final UUID uuidRefSysMap = UUID.fromString("6d72d148-458a-42eb-97b0-9824abcffc91");\r
        public static final UUID uuidRefSysEstimated = UUID.fromString("3b625520-e5cf-4d9c-9599-0cb048e0e8d2");\r
        public static final UUID uuidRefSysLabel = UUID.fromString("c72335ed-c9aa-4d1c-b6fc-9f307d207862");\r
+       public static final UUID uuidRefSysGps = UUID.fromString("b3c36751-b2ac-47f7-8ac1-3dc5c129e0b2");\r
+       public static final UUID uuidRefSysUtm = UUID.fromString("bc64f335-a80a-432a-82ff-5c08a308324f");\r
+       public static final UUID uuidRefSysDescription = UUID.fromString("a9c42b52-c8cf-4658-86ce-271dca569f2c");\r
+       public static final UUID uuidRefSysMapBR = UUID.fromString("64b8dc38-e532-45bf-bea7-86b9467973a1");\r
+       public static final UUID uuidRefSysUnsure = UUID.fromString("91781b31-29e9-4807-8172-e7e25433ea06");\r
+       \r
+       \r
        \r
        \r
        //Languages\r
        \r
-       /* (non-Javadoc)\r
-        * @see eu.etaxonomy.cdm.io.common.mapping.InputTransformerBase#getMarkerTypeByKey(java.lang.String)\r
-        */\r
        @Override\r
        public SpecimenTypeDesignationStatus getSpecimenTypeDesignationStatusByKey(String key) throws UndefinedTransformerMethodException {\r
                return super.getSpecimenTypeDesignationStatusByKey(key);\r
@@ -65,6 +69,11 @@ public final class SpecimenCdmExcelTransformer extends InputTransformerBase {
                }else if (key.matches("(?i)(map)")){return uuidRefSysMap;\r
                }else if (key.matches("(?i)(estimated)")){return uuidRefSysEstimated;\r
                }else if (key.matches("(?i)(label)")){return uuidRefSysLabel;\r
+               }else if (key.matches("(?i)(gps)")){return uuidRefSysLabel;\r
+               }else if (key.matches("(?i)(utm)")){return uuidRefSysUtm;\r
+               }else if (key.matches("(?i)(description)")){return uuidRefSysDescription;\r
+               }else if (key.matches("(?i)(mapBR)")){return uuidRefSysMapBR;\r
+               }else if (key.matches("(?i)(Unsure)")){return uuidRefSysUnsure;\r
                }\r
                return null;\r
        }\r