added SpecimenTypeDesignationStatus.Type ... and use in InputTransformer
[cdmlib.git] / cdmlib-io / src / main / java / eu / etaxonomy / cdm / io / common / mapping / InputTransformerBase.java
index a0568b56495c5d4bae0551bd63bfdc3e6a872ca5..c31e9a22e332f843dc30021895f1d5f12eb34fbe 100644 (file)
@@ -120,6 +120,7 @@ public class InputTransformerBase implements IInputTransformer {
         */\r
        public SpecimenTypeDesignationStatus getSpecimenTypeDesignationStatusByKey(String key) throws UndefinedTransformerMethodException {\r
                if (CdmUtils.isEmpty(key)){return null;\r
+               }else if (key.matches("(?i)(T|Type)")){return SpecimenTypeDesignationStatus.TYPE();\r
                }else if (key.matches("(?i)(HT|Holotype)")){return SpecimenTypeDesignationStatus.HOLOTYPE();\r
                }else if (key.matches("(?i)(LT|Lectotype)")){return SpecimenTypeDesignationStatus.LECTOTYPE();\r
                }else if (key.matches("(?i)(NT|Neotype)")){return SpecimenTypeDesignationStatus.NEOTYPE();\r