| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| NameValue | 
 | 
 | 1.0;1 | 
| 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 | 0 |                  this(null, null); | 
| 23 | 0 |          } | 
| 24 | ||
| 25 |          public NameValue(String name, String value) { | |
| 26 | 0 |                  super(); | 
| 27 | 0 |                  this.name = name; | 
| 28 | 0 |                  this.value = value; | 
| 29 | 0 |          } | 
| 30 | ||
| 31 |          public String getName() { | |
| 32 | 0 |                  return name; | 
| 33 | } | |
| 34 | ||
| 35 | public void setName(String name) { | |
| 36 | 0 |                  this.name = name; | 
| 37 | 0 |          } | 
| 38 | ||
| 39 |          public String getValue() { | |
| 40 | 0 |                  return value; | 
| 41 | } | |
| 42 | ||
| 43 | public void setValue(String value) { | |
| 44 | 0 |                  this.value = value; | 
| 45 | 0 |          } | 
| 46 | } |