001    /**
002     * Copyright 2004-2014 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.opensource.org/licenses/ecl2.php
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package org.kuali.student.contract.model;
017    
018    import java.io.Serializable;
019    
020    /**
021     * Models a single dictionary entry
022     * @author nwright
023     */
024    public class SearchRow implements Serializable,
025            Cloneable {
026    
027        public SearchRow() {
028            super();
029        }
030        private int rowNumber;
031    
032        /**
033         * Get the value of rowNumber
034         *
035         * @return the value of row
036         */
037        public int getRowNumber() {
038            return rowNumber;
039        }
040    
041        /**
042         * Set the value of rowNumber
043         *
044         * @param rowNumber new value of rowNumber
045         */
046        public void setRowNumber(int rowNumber) {
047            this.rowNumber = rowNumber;
048        }
049        private String key;
050    
051        /**
052         * Get the value of key
053         *
054         * @return the value of key
055         */
056        public String getKey() {
057            return key;
058        }
059        private String lookupKey;
060    
061        /**
062         * Get the value of lookupKey
063         *
064         * @return the value of lookupKey
065         */
066        public String getLookupKey() {
067            return lookupKey;
068        }
069    
070        /**
071         * Set the value of lookupKey
072         *
073         * @param lookupKey new value of lookupKey
074         */
075        public void setLookupKey(String lookupKey) {
076            this.lookupKey = lookupKey;
077        }
078        private String type;
079    
080        /**
081         * Get the value of type
082         *
083         * @return the value of type
084         */
085        public String getType() {
086            return type;
087        }
088    
089        /**
090         * Set the value of type
091         *
092         * @param type new value of type
093         */
094        public void setType(String type) {
095            this.type = type;
096        }
097    
098        /**
099         * 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    }