1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.core.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) |
|
|
| 33.3% |
Uncovered Elements: 16 (24) |
Complexity: 11 |
Complexity Density: 0.92 |
|
26 |
|
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; |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
33 |
0
|
public Integer getStartAt() {... |
34 |
0
|
return startAt; |
35 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
36 |
0
|
public void setStartAt(Integer startAt) {... |
37 |
0
|
this.startAt = startAt; |
38 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
39 |
0
|
public Integer getTotalResults() {... |
40 |
0
|
return totalResults; |
41 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
42 |
1
|
public void setTotalResults(Integer totalResults) {... |
43 |
1
|
this.totalResults = totalResults; |
44 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
45 |
11
|
public List<SearchResultRow> getRows() {... |
46 |
11
|
if (rows == null) { |
47 |
3
|
rows = new ArrayList<SearchResultRow>(0); |
48 |
|
} |
49 |
11
|
return rows; |
50 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
0
|
public void setRows(List<SearchResultRow> rows) {... |
52 |
0
|
this.rows = rows; |
53 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
54 |
0
|
public String getSortColumn() {... |
55 |
0
|
return sortColumn; |
56 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
57 |
0
|
public void setSortColumn(String sortColumn) {... |
58 |
0
|
this.sortColumn = sortColumn; |
59 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
60 |
0
|
public SortDirection getSortDirection() {... |
61 |
0
|
return sortDirection; |
62 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
63 |
0
|
public void setSortDirection(SortDirection sortDirection) {... |
64 |
0
|
this.sortDirection = sortDirection; |
65 |
|
} |
66 |
|
} |