View Javadoc

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