| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| PropertyReplacer | 
  | 
  | 1.0;1 | 
| 1 |  /* | |
| 2 |   * Copyright 2011 The Kuali Foundation | |
| 3 |   * | |
| 4 |   * Licensed under the Educational Community License, Version 1.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.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, | |
| 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.rice.kns.uif.core; | |
| 17 | ||
| 18 |  import java.io.Serializable; | |
| 19 | ||
| 20 |  /** | |
| 21 |   * @author Kuali Rice Team (rice.collab@kuali.org) | |
| 22 |   */ | |
| 23 | public class PropertyReplacer implements Serializable {  | |
| 24 | private static final long serialVersionUID = -8405429643299461398L;  | |
| 25 | ||
| 26 |          private String propertyName; | |
| 27 |          private String condition; | |
| 28 |          private Object replacement; | |
| 29 | ||
| 30 | 0 |          public PropertyReplacer() { | 
| 31 | ||
| 32 | 0 |          } | 
| 33 | ||
| 34 |          public String getPropertyName() { | |
| 35 | 0 |                  return this.propertyName; | 
| 36 | }  | |
| 37 | ||
| 38 | public void setPropertyName(String propertyName) {  | |
| 39 | 0 |                  this.propertyName = propertyName; | 
| 40 | 0 |          } | 
| 41 | ||
| 42 |          public String getCondition() { | |
| 43 | 0 |                  return this.condition; | 
| 44 | }  | |
| 45 | ||
| 46 | public void setCondition(String condition) {  | |
| 47 | 0 |                  this.condition = condition; | 
| 48 | 0 |          } | 
| 49 | ||
| 50 |          public Object getReplacement() { | |
| 51 | 0 |                  return this.replacement; | 
| 52 | }  | |
| 53 | ||
| 54 | public void setReplacement(Object replacement) {  | |
| 55 | 0 |                  this.replacement = replacement; | 
| 56 | 0 |          } | 
| 57 | ||
| 58 | }  |