just added the files of my statistics1 branche manually because reintegration failed
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / statistics / StatisticsPartEnum.java
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 ;
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 }