1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.common.search.dto; |
17 | |
|
18 | |
import java.io.Serializable; |
19 | |
import java.util.ArrayList; |
20 | |
import java.util.List; |
21 | |
|
22 | |
import javax.xml.bind.annotation.XmlAccessType; |
23 | |
import javax.xml.bind.annotation.XmlAccessorType; |
24 | |
|
25 | |
@XmlAccessorType(XmlAccessType.FIELD) |
26 | 0 | public class SearchResult implements Serializable { |
27 | |
private static final long serialVersionUID = 1L; |
28 | |
private Integer startAt; |
29 | |
private Integer totalResults; |
30 | |
private List<SearchResultRow> rows; |
31 | |
private String sortColumn; |
32 | |
private SortDirection sortDirection; |
33 | |
public Integer getStartAt() { |
34 | 0 | return startAt; |
35 | |
} |
36 | |
public void setStartAt(Integer startAt) { |
37 | 0 | this.startAt = startAt; |
38 | 0 | } |
39 | |
public Integer getTotalResults() { |
40 | 0 | return totalResults; |
41 | |
} |
42 | |
public void setTotalResults(Integer totalResults) { |
43 | 0 | this.totalResults = totalResults; |
44 | 0 | } |
45 | |
public List<SearchResultRow> getRows() { |
46 | 0 | if (rows == null) { |
47 | 0 | rows = new ArrayList<SearchResultRow>(0); |
48 | |
} |
49 | 0 | return rows; |
50 | |
} |
51 | |
public void setRows(List<SearchResultRow> rows) { |
52 | 0 | this.rows = rows; |
53 | 0 | } |
54 | |
public String getSortColumn() { |
55 | 0 | return sortColumn; |
56 | |
} |
57 | |
public void setSortColumn(String sortColumn) { |
58 | 0 | this.sortColumn = sortColumn; |
59 | 0 | } |
60 | |
public SortDirection getSortDirection() { |
61 | 0 | return sortDirection; |
62 | |
} |
63 | |
public void setSortDirection(SortDirection sortDirection) { |
64 | 0 | this.sortDirection = sortDirection; |
65 | 0 | } |
66 | |
} |