marker type 'show in bibliography'
authorAndreas Müller <a.mueller@bgbm.org>
Tue, 14 Jul 2009 08:57:51 +0000 (08:57 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Tue, 14 Jul 2009 08:57:51 +0000 (08:57 +0000)
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/MarkerType.java
cdmlib-model/src/main/resources/terms/MarkerType.csv

index df96e627b0b27ef82d09272e8f310741b2f30c01..83669ba8088e6672b46eb7bea5de015c09fdd834 100644 (file)
@@ -40,11 +40,7 @@ public class MarkerType extends DefinedTermBase<MarkerType> {
        private static final UUID uuidIsDoubtful = UUID.fromString("b51325c8-05fe-421a-832b-d86fc249ef6e");
        private static final UUID uuidComplete = UUID.fromString("b4b1b2ab-89a8-4ce6-8110-d60b8b1bc433");
        private static final UUID uuidPublish = UUID.fromString("0522c2b3-b21c-400c-80fc-a251c3501dbc");
-       private static MarkerType IMPORTED;
-       private static MarkerType TO_BE_CHECKED;
-       private static MarkerType IS_DOUBTFUL;
-       private static MarkerType COMPLETE;
-       private static MarkerType PUBLISH;
+       private static final UUID uuidInBibliography = UUID.fromString("2cdb492e-3b8b-4784-8c26-25159835231d");
 
        protected static Map<UUID, MarkerType> termMap = null;          
 
@@ -100,6 +96,10 @@ public class MarkerType extends DefinedTermBase<MarkerType> {
                return getTermByUuid(uuidPublish);
        }
        
+       public static final MarkerType IN_BIBLIOGRAPHY(){
+               return getTermByUuid(uuidInBibliography);
+       }
+       
        @Override
        protected void setDefaultTerms(TermVocabulary<MarkerType> termVocabulary) {
                termMap = new HashMap<UUID, MarkerType>();
index 6c8252ae51c95b2396ab416480235f9c81905bc7..8081f783658d04062a9d2908ec85ea62e56a8c01 100644 (file)
@@ -3,4 +3,5 @@
 "34204192-b41d-4857-a1d4-28992bef2a2a",,"to be checked","to be checked",\r
 "b51325c8-05fe-421a-832b-d86fc249ef6e",,"is doubtful","is doubtful",\r
 "b4b1b2ab-89a8-4ce6-8110-d60b8b1bc433",,"complete","complete",\r
-"0522c2b3-b21c-400c-80fc-a251c3501dbc",,"publish","publish",
\ No newline at end of file
+"0522c2b3-b21c-400c-80fc-a251c3501dbc",,"publish","publish",\r
+"2cdb492e-3b8b-4784-8c26-25159835231d",,"show in bibliography","in bibliography",
\ No newline at end of file