Coverage Report - org.kuali.student.common.assembly.data.LookupQosMetadata
 
Classes in this File Line Coverage Branch Coverage Complexity
LookupQosMetadata
0%
0/11
N/A
1
LookupQosMetadata$SortMetadata
0%
0/7
N/A
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.assembly.data;
 17  
 
 18  
 import java.io.Serializable;
 19  
 import java.util.List;
 20  
 
 21  
 /**
 22  
  * @author nwright
 23  
  */
 24  0
 public class LookupQosMetadata implements Serializable {
 25  
 
 26  
     /**
 27  
   *
 28  
   */
 29  
     private static final long serialVersionUID = 1L;
 30  
     private Integer startAt;
 31  
     private Integer maxResults;
 32  
 
 33  
     public Integer getStartAt() {
 34  0
         return startAt;
 35  
     }
 36  
 
 37  
     public void setStartAt(Integer startAt) {
 38  0
         this.startAt = startAt;
 39  0
     }
 40  
 
 41  
     public Integer getMaxResults() {
 42  0
         return maxResults;
 43  
     }
 44  
 
 45  
     public void setMaxResults(Integer maxResults) {
 46  0
         this.maxResults = maxResults;
 47  0
     }
 48  
 
 49  0
     public static class SortMetadata {
 50  
 
 51  0
         public SortMetadata() {}
 52  
 
 53  
         private String resultColumnKey;
 54  
 
 55  
         public String getResultColumnKey() {
 56  0
             return resultColumnKey;
 57  
         }
 58  
 
 59  
         public void setResultColumnKey(String resultColumnKey) {
 60  0
             this.resultColumnKey = resultColumnKey;
 61  0
         }
 62  
 
 63  
         private boolean descending;
 64  
 
 65  
         public boolean isDescending() {
 66  0
             return descending;
 67  
         }
 68  
 
 69  
         public void setDescending(boolean descending) {
 70  0
             this.descending = descending;
 71  0
         }
 72  
 
 73  
     }
 74  
 
 75  
     protected List<SortMetadata> sorts;
 76  
 
 77  
     /**
 78  
      * Get the value of sorts
 79  
      * 
 80  
      * @return the value of sorts
 81  
      */
 82  
     public List<SortMetadata> getSorts() {
 83  0
         return sorts;
 84  
     }
 85  
 
 86  
     /**
 87  
      * Set the value of sorts
 88  
      * 
 89  
      * @param sorts
 90  
      *            new value of sorts
 91  
      */
 92  
     public void setSorts(List<SortMetadata> sorts) {
 93  0
         this.sorts = sorts;
 94  0
     }
 95  
 
 96  
 }