adding Gazetteer to ReferenceSystem
authorAndreas Müller <a.mueller@bgbm.org>
Wed, 7 May 2014 08:23:25 +0000 (08:23 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Wed, 7 May 2014 08:23:25 +0000 (08:23 +0000)
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/location/ReferenceSystem.java
cdmlib-model/src/main/resources/terms/ReferenceSystem.csv

index 0e8a723e7d54fadd66f9319c92052a9a464381b3..04411b4dde986157bf56ba03ceaf26f220667df8 100644 (file)
@@ -54,7 +54,7 @@ public class ReferenceSystem extends DefinedTermBase<ReferenceSystem> {
        private static final UUID uuidWGS84 = UUID.fromString("63f4dd55-00fa-49e7-96fd-2b7059a1c1ee");
        private static final UUID uuidGoogleEarth = UUID.fromString("1bb67042-2814-4b09-9e76-c8c1e68aa281");
        private static final UUID uuidGazetteer = UUID.fromString("e35f1d1c-9347-4190-bd47-a3b00632fcf3");
-       
+       private static final UUID uuidMap = UUID.fromString("6d72d148-458a-42eb-97b0-9824abcffc91");
        
        /**
         * Factory method
@@ -118,6 +118,10 @@ public class ReferenceSystem extends DefinedTermBase<ReferenceSystem> {
        public static final ReferenceSystem GAZETTEER(){
                return getTermByUuid(uuidGazetteer);
        }
+
+       public static final ReferenceSystem MAP(){
+               return getTermByUuid(uuidMap);
+       }
        
        @Override
        protected void setDefaultTerms(TermVocabulary<ReferenceSystem> termVocabulary){
index 5a5f8212b876b85de54581c21ec9c50d860859b9..266541c9d5cdd15f28b5fc4313fdf77b578912e7 100644 (file)
@@ -1,4 +1,5 @@
 "ec6376e5-0c9c-4f5c-848b-b288e6c17a86",,"Reference System","Reference System","RS","1"
 "63f4dd55-00fa-49e7-96fd-2b7059a1c1ee",,"WGS84","WGS84","WGS84"
 "1bb67042-2814-4b09-9e76-c8c1e68aa281",,"Google Earth","Google Earth","Google"
-"e35f1d1c-9347-4190-bd47-a3b00632fcf3",,"Gazetteer","Gazetteer","Gazetteer"
\ No newline at end of file
+"e35f1d1c-9347-4190-bd47-a3b00632fcf3",,"Gazetteer","Gazetteer","Gazetteer"
+"6d72d148-458a-42eb-97b0-9824abcffc91",,"Map","Map","Map"
\ No newline at end of file