Coverage Report - org.kuali.student.common.search.dto.SearchResult
 
Classes in this File Line Coverage Branch Coverage Complexity
SearchResult
0%
0/18
0%
0/2
1.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.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  
 }