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