1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 package org.utgenome.gwt.utgb.client.track.bean;
26
27 import java.util.ArrayList;
28
29 import com.google.gwt.user.client.rpc.IsSerializable;
30
31 public class SearchResult implements IsSerializable {
32 private int totalcount;
33 private int maxpage;
34 private int count;
35 private int page;
36 private int pagewidth;
37 private String sortby;
38 private String query;
39
40
41 private ArrayList<Result> result = new ArrayList<Result>();
42
43 public SearchResult() {
44 }
45
46 public int getTotalcount() {
47 return totalcount;
48 }
49
50 public void setTotalcount(int totalcount) {
51 this.totalcount = totalcount;
52 }
53
54 public int getMaxpage() {
55 return maxpage;
56 }
57
58 public void setMaxpage(int maxpage) {
59 this.maxpage = maxpage;
60 }
61
62 public int getCount() {
63 return count;
64 }
65
66 public void setCount(int count) {
67 this.count = count;
68 }
69
70 public int getPage() {
71 return page;
72 }
73
74 public void setPage(int page) {
75 this.page = page;
76 }
77
78 public int getPagewidth() {
79 return pagewidth;
80 }
81
82 public void setPagewidth(int pagewidth) {
83 this.pagewidth = pagewidth;
84 }
85
86 public String getSortby() {
87 return sortby;
88 }
89
90 public void setSortby(String sortby) {
91 this.sortby = sortby;
92 }
93
94 public String getQuery() {
95 return query;
96 }
97
98 public void setQuery(String query) {
99 this.query = query;
100 }
101
102 public ArrayList<Result> getResult() {
103 return result;
104 }
105
106 public void addResult(Result result) {
107 this.result.add(result);
108 }
109 }