1
|
/**
|
2
|
* Copyright (C) 2009 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.api.service.statistics;
|
10
|
|
11
|
/**
|
12
|
* @author a.mueller
|
13
|
\* @since 21.09.2012
|
14
|
*
|
15
|
*/
|
16
|
public enum StatisticsPartEnum {
|
17
|
|
18
|
ALL ("All", "All data in the datastore"),
|
19
|
CLASSIFICATION("Classification", "Data per classification"),
|
20
|
TAXON_NODE("TaxonNode","Data of tree from this taxon node")
|
21
|
;
|
22
|
|
23
|
|
24
|
|
25
|
private String label;
|
26
|
private String description;
|
27
|
|
28
|
private StatisticsPartEnum(String label, String description){
|
29
|
this.label = label;
|
30
|
this.description = description;
|
31
|
}
|
32
|
|
33
|
public String getLabel(){
|
34
|
return label;
|
35
|
}
|
36
|
|
37
|
public String getDesription(){
|
38
|
return description;
|
39
|
}
|
40
|
|
41
|
|
42
|
// public static StatisticsPartEnum getDefault(){
|
43
|
// return ALL;
|
44
|
// }
|
45
|
//
|
46
|
}
|