1
|
package eu.dnetlib.goldoa.domain;
|
2
|
|
3
|
import com.google.gwt.user.client.rpc.IsSerializable;
|
4
|
|
5
|
import java.io.Serializable;
|
6
|
import java.util.List;
|
7
|
|
8
|
/**
|
9
|
* Created by antleb on 10/11/15.
|
10
|
*/
|
11
|
public class RequestPage implements IsSerializable, Serializable {
|
12
|
private List<Request> requests;
|
13
|
private int total;
|
14
|
private int from;
|
15
|
private int to;
|
16
|
|
17
|
public RequestPage() {
|
18
|
}
|
19
|
|
20
|
public RequestPage(List<Request> requests, int total, int from, int to) {
|
21
|
this.requests = requests;
|
22
|
this.total = total;
|
23
|
this.from = from;
|
24
|
this.to = to;
|
25
|
}
|
26
|
|
27
|
public List<Request> getRequests() {
|
28
|
return requests;
|
29
|
}
|
30
|
|
31
|
public void setRequests(List<Request> requests) {
|
32
|
this.requests = requests;
|
33
|
}
|
34
|
|
35
|
public int getTotal() {
|
36
|
return total;
|
37
|
}
|
38
|
|
39
|
public void setTotal(int total) {
|
40
|
this.total = total;
|
41
|
}
|
42
|
|
43
|
public int getFrom() {
|
44
|
return from;
|
45
|
}
|
46
|
|
47
|
public void setFrom(int from) {
|
48
|
this.from = from;
|
49
|
}
|
50
|
|
51
|
public int getTo() {
|
52
|
return to;
|
53
|
}
|
54
|
|
55
|
public void setTo(int to) {
|
56
|
this.to = to;
|
57
|
}
|
58
|
}
|