Coverage Report - org.kuali.student.r2.lum.lrc.dto.ResultValueRangeInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
ResultValueRangeInfo
0%
0/20
0%
0/2
1.125
 
 1  
 /*
 2  
  * Copyright 2007 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.student.r2.lum.lrc.dto;
 17  
 
 18  
 import java.io.Serializable;
 19  
 import java.util.Date;
 20  
 import java.util.List;
 21  
 
 22  
 import javax.xml.bind.annotation.XmlAccessType;
 23  
 import javax.xml.bind.annotation.XmlAccessorType;
 24  
 import javax.xml.bind.annotation.XmlAnyElement;
 25  
 import javax.xml.bind.annotation.XmlAttribute;
 26  
 import javax.xml.bind.annotation.XmlElement;
 27  
 import javax.xml.bind.annotation.XmlType;
 28  
 
 29  
 import org.kuali.student.r2.lum.lrc.infc.ResultValueRange;
 30  
 import org.w3c.dom.Element;
 31  
 
 32  
 @XmlAccessorType(XmlAccessType.FIELD)
 33  
 @XmlType(name = "ResultValueRangeInfo", propOrder = {
 34  
         "minValue", "maxValue", "increment", 
 35  
 "_futureElements" })
 36  
 
 37  
 public class ResultValueRangeInfo implements ResultValueRange, Serializable {
 38  
     private static final long serialVersionUID = 1L;
 39  
 
 40  
     @XmlElement
 41  
     private String minValue;
 42  
 
 43  
     @XmlElement
 44  
     private String maxValue;
 45  
 
 46  
     @XmlElement
 47  
     private String increment;
 48  
 
 49  
     @XmlAnyElement
 50  
     private List<Element> _futureElements;
 51  
 
 52  0
     public ResultValueRangeInfo() {
 53  0
         minValue = null;
 54  0
         maxValue = null;
 55  0
         increment = null;
 56  0
     }
 57  
 
 58  0
     public ResultValueRangeInfo(ResultValueRange resultValueRangeInfo) {
 59  0
         if (null != resultValueRangeInfo) {
 60  0
             this.minValue = resultValueRangeInfo.getMinValue();
 61  0
             this.maxValue = resultValueRangeInfo.getMaxValue();
 62  0
             this.increment = resultValueRangeInfo.getIncrement();
 63  
         }
 64  0
     }
 65  
 
 66  
     @Override
 67  
     public String getMinValue() {
 68  0
         return minValue;
 69  
     }
 70  
 
 71  
     public void setMinValue(String minValue) {
 72  0
         this.minValue = minValue;
 73  0
     }
 74  
 
 75  
     @Override
 76  
     public String getMaxValue() {
 77  0
         return maxValue;
 78  
     }
 79  
 
 80  
     public void setMaxValue(String maxValue) {
 81  0
         this.maxValue = maxValue;
 82  0
     }
 83  
 
 84  
     @Override
 85  
     public String getIncrement() {
 86  0
         return increment;
 87  
     }
 88  
 
 89  
     public void setIncrement(String increment) {
 90  0
         this.increment = increment;
 91  0
     }
 92  
 }