Project

General

Profile

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
	private boolean completedSuccessfully = true;
14

    
15
	public AggregationInfo() {}
16

    
17
	public int getNumberOfRecords() {
18
		return numberOfRecords;
19
	}
20

    
21
	public void setNumberOfRecords(final int numberOfRecords) {
22
		this.numberOfRecords = numberOfRecords;
23
	}
24

    
25
	public String getDate() {
26
		return date;
27
	}
28

    
29
	public void setDate(final String date) {
30
		this.date = date;
31
	}
32

    
33
	public AggregationStage getAggregationStage() {
34
		return aggregationStage;
35
	}
36

    
37
	public void setAggregationStage(final AggregationStage aggregationStage) {
38
		this.aggregationStage = aggregationStage;
39
	}
40

    
41
	public boolean isIndexedVersion() {
42
		return indexedVersion;
43
	}
44

    
45
	public void setIndexedVersion(final boolean indexedVersion) {
46
		this.indexedVersion = indexedVersion;
47
	}
48

    
49
	public boolean isCompletedSuccessfully() {
50
		return completedSuccessfully;
51
	}
52

    
53
	public void setCompletedSuccessfully(final boolean completedSuccessfully) {
54
		this.completedSuccessfully = completedSuccessfully;
55
	}
56
}
(1-1/21)