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.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 | |
} |