1 package org.kuali.student.common.util;
2
3 /**
4 * Copyright 2010 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. You may 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, software distributed under the License is distributed on
10 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
11 * specific language governing permissions and limitations under the License.
12 */
13
14 /**
15 * Very simple class for holding name/value pairs
16 */
17 public class NameValue {
18 String name;
19 String value;
20
21 public NameValue() {
22 this(null, null);
23 }
24
25 public NameValue(String name, String value) {
26 super();
27 this.name = name;
28 this.value = value;
29 }
30
31 public String getName() {
32 return name;
33 }
34
35 public void setName(String name) {
36 this.name = name;
37 }
38
39 public String getValue() {
40 return value;
41 }
42
43 public void setValue(String value) {
44 this.value = value;
45 }
46 }