1
|
package eu.dnetlib.enabling.datasources.common;
|
2
|
|
3
|
public abstract class AggregationInfo {
|
4
|
|
5
|
private int numberOfRecords;
|
6
|
|
7
|
private String date;
|
8
|
|
9
|
private AggregationStage aggregationStage;
|
10
|
|
11
|
private boolean indexedVersion = false;
|
12
|
|
13
|
public AggregationInfo() {}
|
14
|
|
15
|
public int getNumberOfRecords() {
|
16
|
return numberOfRecords;
|
17
|
}
|
18
|
|
19
|
public void setNumberOfRecords(final int numberOfRecords) {
|
20
|
this.numberOfRecords = numberOfRecords;
|
21
|
}
|
22
|
|
23
|
public String getDate() {
|
24
|
return date;
|
25
|
}
|
26
|
|
27
|
public void setDate(final String date) {
|
28
|
this.date = date;
|
29
|
}
|
30
|
|
31
|
public AggregationStage getAggregationStage() {
|
32
|
return aggregationStage;
|
33
|
}
|
34
|
|
35
|
public void setAggregationStage(final AggregationStage aggregationStage) {
|
36
|
this.aggregationStage = aggregationStage;
|
37
|
}
|
38
|
|
39
|
public boolean isIndexedVersion() {
|
40
|
return indexedVersion;
|
41
|
}
|
42
|
|
43
|
public void setIndexedVersion(final boolean indexedVersion) {
|
44
|
this.indexedVersion = indexedVersion;
|
45
|
}
|
46
|
}
|