Project

General

Profile

Download (839 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2019 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.taxeditor.preference;
10

    
11
import eu.etaxonomy.taxeditor.l10n.Messages;
12

    
13
/**
14
 * @author k.luther
15
 * @since 6 Feb 2019
16
 *
17
 */
18
public enum TermOrder {
19

    
20
    IdInVoc("IdInVoc", Messages.TermOrder_idInVoc),
21
    Title("Title", Messages.TermOrder_Title),
22
    Natural("Natural", Messages.TermOrder_natural);
23

    
24

    
25
    String label;
26
    String key;
27

    
28
    private TermOrder(String key, String label){
29
        this.label = label;
30
        this.key = key;
31
    }
32

    
33
    public String getLabel(){
34
        return label;
35
    }
36

    
37
    public String getKey(){
38
        return key;
39
    }
40
}
(39-39/41)