1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.gwtwidgets.client.ui.pagination;
18
19 import java.util.List;
20
21 import com.google.gwt.user.client.rpc.IsSerializable;
22
23 /***
24 * Size is the total number of possible rows to page through. List is the list
25 * of objects on the current page.
26 *
27 * @author Joe Toth (joetoth@gmail.com)
28 *
29 */
30 public class Results implements IsSerializable {
31
32 private int size;
33
34 private List list;
35
36 public Results() {
37
38 }
39
40 public Results(int size, List list) {
41 this.size = size;
42 this.list = list;
43 }
44
45 public List getList() {
46 return list;
47 }
48
49 public void setList(List list) {
50 this.list = list;
51 }
52
53 public int getSize() {
54 return size;
55 }
56
57 public void setSize(int size) {
58 this.size = size;
59 }
60
61 }