Clover Coverage Report - Kuali Student 1.1 (Aggregated)
Coverage timestamp: Sun Mar 6 2011 20:32:39 EST
../../../../../../img/srcFileCovDistChart4.png 51% of files have more coverage
12   66   11   1.2
2   48   0.92   10
10     1.1  
1    
 
  SearchResult       Line # 26 12 0% 11 16 33.3% 0.33333334
 
  (1)
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
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)
 
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;
 
33  0 toggle public Integer getStartAt() {
34  0 return startAt;
35    }
 
36  0 toggle public void setStartAt(Integer startAt) {
37  0 this.startAt = startAt;
38    }
 
39  0 toggle public Integer getTotalResults() {
40  0 return totalResults;
41    }
 
42  1 toggle public void setTotalResults(Integer totalResults) {
43  1 this.totalResults = totalResults;
44    }
 
45  11 toggle public List<SearchResultRow> getRows() {
46  11 if (rows == null) {
47  3 rows = new ArrayList<SearchResultRow>(0);
48    }
49  11 return rows;
50    }
 
51  0 toggle public void setRows(List<SearchResultRow> rows) {
52  0 this.rows = rows;
53    }
 
54  0 toggle public String getSortColumn() {
55  0 return sortColumn;
56    }
 
57  0 toggle public void setSortColumn(String sortColumn) {
58  0 this.sortColumn = sortColumn;
59    }
 
60  0 toggle public SortDirection getSortDirection() {
61  0 return sortDirection;
62    }
 
63  0 toggle public void setSortDirection(SortDirection sortDirection) {
64  0 this.sortDirection = sortDirection;
65    }
66    }