Project

General

Profile

Download (855 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.cdm.model.metadata;
10

    
11

    
12
/**
13
 * @author k.luther
14
 * @since 19.11.2018
15
 *
16
 */
17
public enum NodeOrderEnum {
18
    AlphabeticalOrder("AlphabeticalOrder", "Alphabetical"), //$NON-NLS-1$
19
    NaturalOrder("NaturalOrder", "Natural"), //$NON-NLS-1$
20
    RankAndNameOrder("RankAndNameOrder", "Rank and Name"); //$NON-NLS-1$
21

    
22

    
23
    String label;
24
    String key;
25

    
26
    private NodeOrderEnum(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
}
(5-5/13)