1
|
/**
|
2
|
* Copyright (C) 2019 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.description;
|
10
|
|
11
|
import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;
|
12
|
import eu.etaxonomy.cdm.filter.TaxonNodeFilter;
|
13
|
import eu.etaxonomy.cdm.model.description.DescriptiveDataSet;
|
14
|
|
15
|
/**
|
16
|
* Configurator base class for all {@link DescriptionAggregationBase description aggregations}.
|
17
|
|
18
|
* @author a.mueller
|
19
|
* @since 03.11.2019
|
20
|
*/
|
21
|
public class DescriptionAggregationConfiguration {
|
22
|
|
23
|
private DescriptiveDataSet dataset;
|
24
|
private TaxonNodeFilter additionalTaxonNodefilter;
|
25
|
private boolean aggregateToHigherRanks;
|
26
|
|
27
|
private IProgressMonitor monitor;
|
28
|
|
29
|
// ****************** GETTER / SETTER *****************/
|
30
|
public IProgressMonitor getMonitor() {
|
31
|
return monitor;
|
32
|
}
|
33
|
public void setMonitor(IProgressMonitor monitor) {
|
34
|
this.monitor = monitor;
|
35
|
}
|
36
|
|
37
|
public DescriptiveDataSet getDataset() {
|
38
|
return dataset;
|
39
|
}
|
40
|
public void setDataset(DescriptiveDataSet dataset) {
|
41
|
this.dataset = dataset;
|
42
|
}
|
43
|
|
44
|
public boolean isAggregateToHigherRanks() {
|
45
|
return aggregateToHigherRanks;
|
46
|
}
|
47
|
public void setAggregateToHigherRanks(boolean aggregateToHigherRanks) {
|
48
|
this.aggregateToHigherRanks = aggregateToHigherRanks;
|
49
|
}
|
50
|
}
|