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
|
|
13
|
private List<Request> requests ;
|
14
|
private int total;
|
15
|
private int from;
|
16
|
private int to;
|
17
|
|
18
|
public RequestPage() {
|
19
|
}
|
20
|
|
21
|
public RequestPage(List<Request> requests, int total, int from, int to) {
|
22
|
this.requests = requests;
|
23
|
this.total = total;
|
24
|
this.from = from;
|
25
|
this.to = to;
|
26
|
}
|
27
|
|
28
|
public List<Request> getRequests() {
|
29
|
return requests;
|
30
|
}
|
31
|
|
32
|
public void setRequests(List<Request> requests) {
|
33
|
this.requests = requests;
|
34
|
}
|
35
|
|
36
|
public int getTotal() {
|
37
|
return total;
|
38
|
}
|
39
|
|
40
|
public void setTotal(int total) {
|
41
|
this.total = total;
|
42
|
}
|
43
|
|
44
|
public int getFrom() {
|
45
|
return from;
|
46
|
}
|
47
|
|
48
|
public void setFrom(int from) {
|
49
|
this.from = from;
|
50
|
}
|
51
|
|
52
|
public int getTo() {
|
53
|
return to;
|
54
|
}
|
55
|
|
56
|
public void setTo(int to) {
|
57
|
this.to = to;
|
58
|
}
|
59
|
}
|