1 /**
2 * Copyright 2005-2013 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 1.0 (the
5 * "License"); 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.opensource.org/licenses/ecl1.php
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, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations under
14 * the License.
15 */
16 package org.kuali.student.cm.course.form.wrapper;
17
18
19 /**
20 * Class to generically use a KRAD collection component with a plain string value.
21 *
22 * @author OpenCollab/rSmart KRAD CM Conversion Alliance!
23 */
24 public class GenericStringForCollectionWrapper {
25
26 private static final long serialVersionUID = -1L;
27
28 private String value;
29
30 public GenericStringForCollectionWrapper(final String value) {
31 setValue(value);
32 }
33
34
35 /**
36 * Gets the value of value
37 *
38 * @return the value of value
39 */
40 public final String getValue() {
41 return this.value;
42 }
43
44 /**
45 * Sets the value of value
46 *
47 * @param argValue Value to assign to this.value
48 */
49 public void setValue(final String argValue) {
50 this.value = argValue;
51 }
52 }