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