1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.r2.lum.lrc.dto;
17
18 import java.io.Serializable;
19 import java.util.List;
20
21 import javax.xml.bind.annotation.XmlAccessType;
22 import javax.xml.bind.annotation.XmlAccessorType;
23 import javax.xml.bind.annotation.XmlAnyElement;
24 import javax.xml.bind.annotation.XmlElement;
25 import javax.xml.bind.annotation.XmlType;
26
27 import org.kuali.student.r2.lum.lrc.infc.ResultValueRange;
28
29
30 @XmlAccessorType(XmlAccessType.FIELD)
31 @XmlType(name = "ResultValueRangeInfo", propOrder = {
32 "minValue", "maxValue", "increment" , "_futureElements" })
33
34 public class ResultValueRangeInfo implements ResultValueRange, Serializable {
35 private static final long serialVersionUID = 1L;
36
37 @XmlElement
38 private String minValue;
39
40 @XmlElement
41 private String maxValue;
42
43 @XmlElement
44 private String increment;
45
46 @XmlAnyElement
47 private List<Object> _futureElements;
48
49 public ResultValueRangeInfo() {
50 minValue = null;
51 maxValue = null;
52 increment = null;
53 }
54
55 public ResultValueRangeInfo(ResultValueRange resultValueRangeInfo) {
56 if (null != resultValueRangeInfo) {
57 this.minValue = resultValueRangeInfo.getMinValue();
58 this.maxValue = resultValueRangeInfo.getMaxValue();
59 this.increment = resultValueRangeInfo.getIncrement();
60 }
61 }
62
63 @Override
64 public String getMinValue() {
65 return minValue;
66 }
67
68 public void setMinValue(String minValue) {
69 this.minValue = minValue;
70 }
71
72 @Override
73 public String getMaxValue() {
74 return maxValue;
75 }
76
77 public void setMaxValue(String maxValue) {
78 this.maxValue = maxValue;
79 }
80
81 @Override
82 public String getIncrement() {
83 return increment;
84 }
85
86 public void setIncrement(String increment) {
87 this.increment = increment;
88 }
89 }