1
|
package eu.dnetlib.openaire.exporter.datasource.clients.utils;
|
2
|
|
3
|
/**
|
4
|
* Created by claudio on 21/10/2016.
|
5
|
*/
|
6
|
public class IndexRecordsInfo {
|
7
|
|
8
|
private long total;
|
9
|
|
10
|
private long funded;
|
11
|
|
12
|
private String date;
|
13
|
|
14
|
public IndexRecordsInfo() {}
|
15
|
|
16
|
public IndexRecordsInfo(final long total, final long funded, final String date) {
|
17
|
this.total = total;
|
18
|
this.funded = funded;
|
19
|
this.date = date;
|
20
|
}
|
21
|
|
22
|
public long getTotal() {
|
23
|
return total;
|
24
|
}
|
25
|
|
26
|
public IndexRecordsInfo setTotal(final long total) {
|
27
|
this.total = total;
|
28
|
return this;
|
29
|
}
|
30
|
|
31
|
public long getFunded() {
|
32
|
return funded;
|
33
|
}
|
34
|
|
35
|
public IndexRecordsInfo setFunded(final long funded) {
|
36
|
this.funded = funded;
|
37
|
return this;
|
38
|
}
|
39
|
|
40
|
public String getDate() {
|
41
|
return date;
|
42
|
}
|
43
|
|
44
|
public IndexRecordsInfo setDate(final String date) {
|
45
|
this.date = date;
|
46
|
return this;
|
47
|
}
|
48
|
|
49
|
}
|