Project

General

Profile

Download (829 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2018 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
/**
12
 * @author k.luther
13
 * @since 15.11.2018
14
 *
15
 */
16
public enum TermDisplayEnum {
17

    
18
    IdInVocabulary("IdInVocabulary", "Show IdInVocabulary"),
19
    Symbol1("Symbol1", "Show Symbol1"),
20
    Symbol2("Symbol2", "Show Symbol2"),
21
    Title("Title", "Show Title");
22

    
23
    String label;
24
    String key;
25

    
26
    private TermDisplayEnum(String key, String label){
27
        this.label = label;
28
        this.key = key;
29
    }
30

    
31
    public String getLabel(){
32
        return label;
33
    }
34

    
35
    public String getKey(){
36
        return key;
37
    }
38
}
(28-28/29)