Coverage Report - org.kuali.rice.core.impl.config.property.Param
 
Classes in this File Line Coverage Branch Coverage Complexity
Param
0%
0/22
0%
0/6
1.6
 
 1  
 /*
 2  
  * Copyright 2006-2011 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.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/ecl2.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  
 
 17  
 package org.kuali.rice.core.impl.config.property;
 18  
 
 19  
 import javax.xml.bind.annotation.XmlAccessType;
 20  
 import javax.xml.bind.annotation.XmlAccessorType;
 21  
 import javax.xml.bind.annotation.XmlAttribute;
 22  
 import javax.xml.bind.annotation.XmlType;
 23  
 import javax.xml.bind.annotation.XmlValue;
 24  
 
 25  
 @XmlAccessorType(XmlAccessType.FIELD)
 26  
 @XmlType(name = "Param", namespace = "http://rice.kuali.org/core/impl/config",  propOrder = {
 27  
     "value"
 28  
 })
 29  0
 public class Param {
 30  
     
 31  
     @XmlAttribute(required = true)
 32  
     protected String name;
 33  
     
 34  
     @XmlAttribute
 35  
     protected Boolean override;
 36  
     
 37  
     @XmlAttribute
 38  
     protected Boolean random;
 39  
     
 40  
     @XmlAttribute
 41  
     protected Boolean system;
 42  
     
 43  
     @XmlValue
 44  
     protected String value;
 45  
     
 46  
 
 47  
     public String getName() {
 48  0
         return name;
 49  
     }
 50  
 
 51  
     public void setName(String name) {
 52  0
         this.name = name;
 53  0
     }
 54  
 
 55  
     public Boolean isOverride() {
 56  0
         if (override == null) {
 57  0
             return true;
 58  
         } else {
 59  0
             return override;
 60  
         }
 61  
     }
 62  
 
 63  
     public void setOverride(Boolean override) {
 64  0
         this.override = override;
 65  0
     }
 66  
     
 67  
     public Boolean isRandom() {
 68  0
         if (random == null) {
 69  0
             return false;
 70  
         } else {
 71  0
             return random;
 72  
         }
 73  
     }
 74  
 
 75  
     public void setRandom(Boolean random) {
 76  0
         this.random = random;
 77  0
     }
 78  
     
 79  
     public Boolean isSystem() {
 80  0
         if (system == null) {
 81  0
             return false;
 82  
         } else {
 83  0
             return system;
 84  
         }
 85  
     }
 86  
 
 87  
     public void setSystem(Boolean system) {
 88  0
         this.system = system;
 89  0
     }
 90  
     
 91  
     public String getValue() {
 92  0
         return value;
 93  
     }
 94  
 
 95  
     public void setValue(String value) {
 96  0
         this.value = value;
 97  0
     }
 98  
 
 99  
 }