View Javadoc

1   /*
2    * Copyright 2009 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may	obtain a copy of the License at
7    *
8    * 	http://www.osedu.org/licenses/ECL-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.student.contract.model;
17  
18  import java.io.Serializable;
19  
20  /**
21   * Models a single dictionary entry
22   * @author nwright
23   */
24  public class SearchRow implements Serializable,
25          Cloneable {
26  
27      public SearchRow() {
28          super();
29      }
30      private int rowNumber;
31  
32      /**
33       * Get the value of rowNumber
34       *
35       * @return the value of row
36       */
37      public int getRowNumber() {
38          return rowNumber;
39      }
40  
41      /**
42       * Set the value of rowNumber
43       *
44       * @param rowNumber new value of rowNumber
45       */
46      public void setRowNumber(int rowNumber) {
47          this.rowNumber = rowNumber;
48      }
49      private String key;
50  
51      /**
52       * Get the value of key
53       *
54       * @return the value of key
55       */
56      public String getKey() {
57          return key;
58      }
59      private String lookupKey;
60  
61      /**
62       * Get the value of lookupKey
63       *
64       * @return the value of lookupKey
65       */
66      public String getLookupKey() {
67          return lookupKey;
68      }
69  
70      /**
71       * Set the value of lookupKey
72       *
73       * @param lookupKey new value of lookupKey
74       */
75      public void setLookupKey(String lookupKey) {
76          this.lookupKey = lookupKey;
77      }
78      private String type;
79  
80      /**
81       * Get the value of type
82       *
83       * @return the value of type
84       */
85      public String getType() {
86          return type;
87      }
88  
89      /**
90       * Set the value of type
91       *
92       * @param type new value of type
93       */
94      public void setType(String type) {
95          this.type = type;
96      }
97  
98      /**
99       * Set the value of key
100      *
101      * @param key new value of key
102      */
103     public void setKey(String key) {
104         this.key = key;
105     }
106     private String name;
107 
108     /**
109      * Get the value of name
110      *
111      * @return the value of name
112      */
113     public String getName() {
114         return name;
115     }
116 
117     /**
118      * Set the value of name
119      *
120      * @param name new value of name
121      */
122     public void setName(String name) {
123         this.name = name;
124     }
125     private String description;
126     private String dataType;
127 
128     /**
129      * Get the value of dataType
130      *
131      * @return the value of dataType
132      */
133     public String getDataType() {
134         return dataType;
135     }
136 
137     /**
138      * Set the value of dataType
139      *
140      * @param dataType new value of dataType
141      */
142     public void setDataType(String dataType) {
143         this.dataType = dataType;
144     }
145     private String hidden;
146 
147     /**
148      * Get the value of hidden
149      *
150      * @return the value of hidden
151      */
152     public String getHidden() {
153         return hidden;
154     }
155     private String usage;
156 
157     /**
158      * Get the value of usage
159      *
160      * @return the value of usage
161      */
162     public String getUsage() {
163         return usage;
164     }
165     private String widget;
166 
167     /**
168      * Get the value of widget
169      *
170      * @return the value of widget
171      */
172     public String getWidget() {
173         return widget;
174     }
175 
176     /**
177      * Set the value of widget
178      *
179      * @param widget new value of widget
180      */
181     public void setWidget(String widget) {
182         this.widget = widget;
183     }
184     private String optional;
185 
186     /**
187      * Get the value of optional
188      *
189      * @return the value of optional
190      */
191     public String getOptional() {
192         return optional;
193     }
194     private String caseSensitive;
195 
196     /**
197      * Get the value of caseSensitive
198      *
199      * @return the value of caseSensitive
200      */
201     public String getCaseSensitive() {
202         return caseSensitive;
203     }
204 
205     /**
206      * Set the value of caseSensitive
207      *
208      * @param caseSensitive new value of caseSensitive
209      */
210     public void setCaseSensitive(String caseSensitive) {
211         this.caseSensitive = caseSensitive;
212     }
213     private String writeAccess;
214 
215     /**
216      * Get the value of writeAccess
217      *
218      * @return the value of writeAccess
219      */
220     public String getWriteAccess() {
221         return writeAccess;
222     }
223 
224     /**
225      * Set the value of writeAccess
226      *
227      * @param writeAccess new value of writeAccess
228      */
229     public void setWriteAccess(String writeAccess) {
230         this.writeAccess = writeAccess;
231     }
232     private String defaultValue;
233 
234     /**
235      * Get the value of defaultValue
236      *
237      * @return the value of defaultValue
238      */
239     public String getDefaultValue() {
240         return defaultValue;
241     }
242 
243     /**
244      * Set the value of defaultValue
245      *
246      * @param defaultValue new value of defaultValue
247      */
248     public void setDefaultValue(String defaultValue) {
249         this.defaultValue = defaultValue;
250     }
251     private String childLookup;
252 
253     /**
254      * Get the value of childLookup
255      *
256      * @return the value of childLookup
257      */
258     public String getChildLookup() {
259         return childLookup;
260     }
261 
262     /**
263      * Set the value of childLookup
264      *
265      * @param childLookup new value of childLookup
266      */
267     public void setChildLookup(String childLookup) {
268         this.childLookup = childLookup;
269     }
270 
271     /**
272      * Set the value of optional
273      *
274      * @param optional new value of optional
275      */
276     public void setOptional(String optional) {
277         this.optional = optional;
278     }
279 
280     /**
281      * Set the value of usage
282      *
283      * @param usage new value of usage
284      */
285     public void setUsage(String usage) {
286         this.usage = usage;
287     }
288 
289     /**
290      * Set the value of hidden
291      *
292      * @param hidden new value of hidden
293      */
294     public void setHidden(String hidden) {
295         this.hidden = hidden;
296     }
297 
298     /**
299      * Get the value of description
300      *
301      * @return the value of description
302      */
303     public String getDescription() {
304         return description;
305     }
306 
307     /**
308      * Set the value of description
309      *
310      * @param description new value of description
311      */
312     public void setDescription(String description) {
313         this.description = description;
314     }
315     private String status;
316 
317     /**
318      * Get the value of status
319      *
320      * @return the value of status
321      */
322     public String getStatus() {
323         return status;
324     }
325 
326     /**
327      * Set the value of status
328      *
329      * @param status new value of status
330      */
331     public void setStatus(String status) {
332         this.status = status;
333     }
334     private String comments;
335 
336     /**
337      * Get the value of comments
338      *
339      * @return the value of comments
340      */
341     public String getComments() {
342         return comments;
343     }
344 
345     /**
346      * Set the value of comments
347      *
348      * @param comments new value of comments
349      */
350     public void setComments(String comments) {
351         this.comments = comments;
352     }
353 
354     @Override
355     protected Object clone()
356             throws CloneNotSupportedException {
357         return super.clone();
358     }
359     private String service;
360 
361     /**
362      * Get the value of service
363      *
364      * @return the value of service
365      */
366     public String getService() {
367         return service;
368     }
369 
370     /**
371      * Set the value of service
372      *
373      * @param service new value of service
374      */
375     public void setService(String service) {
376         this.service = service;
377     }
378 }