merge trunk into v3.3 branch
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / statistics / StatisticsTypeEnum.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, (s.buers)
14 * @date 21.09.2012
15 *
16 */
17 public enum StatisticsTypeEnum {
18
19 //TODO keep only one of the parameters label or description
20 // ALL ("All", "All data in the datastore");
21 CLASSIFICATION("Classifications", "All classifications"),
22 ALL_TAXA("All_taxa", "Accepted taxa and synonyms (concepts)"),
23 ACCEPTED_TAXA("Accepted_taxa", "Accepted taxa"),
24 SYNONYMS("Synonyms", "All synonyms"),
25 TAXON_NAMES("Taxon_names", "All taxon names (not"),
26 ALL_REFERENCES("References", "References"),
27 NOMECLATURAL_REFERENCES("Nomeclatural_references", "Nomenclatural references"),
28 DESCRIPTIONS("Descriptions", "Descriptions"),
29 DESCRIPTIVE_SOURCE_REFERENCES("Descriptive_source_references", "Descriptive source references")
30 ;
31
32
33
34 private String label;
35
36 private String description;
37
38 private StatisticsTypeEnum(String label, String description){
39 this.label = label;
40 this.description = description;
41 }
42
43 public String getLabel(){
44 return label;
45 }
46
47 public String getDesription(){
48 return description;
49 }
50
51 }