1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2009 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
package eu.etaxonomy.cdm.api.service.statistics;
|
11
|
|
12
|
/**
|
13
|
* @author a.mueller
|
14
|
* @date 21.09.2012
|
15
|
*
|
16
|
*/
|
17
|
public enum StatisticsPartEnum {
|
18
|
|
19
|
ALL ("All", "All data in the datastore"),
|
20
|
CLASSIFICATION("Classification", "Data per classification"),
|
21
|
TAXON_NODE("TaxonNode","Data of tree from this taxon node")
|
22
|
;
|
23
|
|
24
|
|
25
|
|
26
|
private String label;
|
27
|
private String description;
|
28
|
|
29
|
private StatisticsPartEnum(String label, String description){
|
30
|
this.label = label;
|
31
|
this.description = description;
|
32
|
}
|
33
|
|
34
|
public String getLabel(){
|
35
|
return label;
|
36
|
}
|
37
|
|
38
|
public String getDesription(){
|
39
|
return description;
|
40
|
}
|
41
|
|
42
|
|
43
|
// public static StatisticsPartEnum getDefault(){
|
44
|
// return ALL;
|
45
|
// }
|
46
|
//
|
47
|
}
|