add missing enum
authorKatja Luther <k.luther@bgbm.org>
Wed, 6 Feb 2019 14:12:10 +0000 (15:12 +0100)
committerKatja Luther <k.luther@bgbm.org>
Wed, 6 Feb 2019 14:12:10 +0000 (15:12 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/TermOrder.java [new file with mode: 0755]

diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/TermOrder.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/TermOrder.java
new file mode 100755 (executable)
index 0000000..f1a7446
--- /dev/null
@@ -0,0 +1,40 @@
+/**
+* Copyright (C) 2019 EDIT
+* European Distributed Institute of Taxonomy
+* http://www.e-taxonomy.eu
+*
+* The contents of this file are subject to the Mozilla Public License Version 1.1
+* See LICENSE.TXT at the top of this package for the full license terms.
+*/
+package eu.etaxonomy.taxeditor.preference;
+
+import eu.etaxonomy.taxeditor.l10n.Messages;
+
+/**
+ * @author k.luther
+ * @since 6 Feb 2019
+ *
+ */
+public enum TermOrder {
+
+    IdInVoc("IdInVoc", Messages.TermOrder_idInVoc),
+    Title("Title", Messages.TermOrder_Title),
+    Natural("Natural", Messages.TermOrder_natural);
+
+
+    String label;
+    String key;
+
+    private TermOrder(String key, String label){
+        this.label = label;
+        this.key = key;
+    }
+
+    public String getLabel(){
+        return label;
+    }
+
+    public String getKey(){
+        return key;
+    }
+}