1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.student.lum.lu.dto;
18
19 import org.kuali.student.core.dto.HasTypeState;
20 import org.kuali.student.core.dto.Idable;
21 import org.kuali.student.core.dto.MetaInfo;
22 import org.kuali.student.core.dto.RichTextInfo;
23
24 import javax.xml.bind.annotation.XmlAccessType;
25 import javax.xml.bind.annotation.XmlAccessorType;
26 import javax.xml.bind.annotation.XmlAttribute;
27 import javax.xml.bind.annotation.XmlElement;
28 import java.io.Serializable;
29 import java.util.ArrayList;
30 import java.util.Date;
31 import java.util.List;
32
33
34
35
36
37
38
39
40 @XmlAccessorType(XmlAccessType.FIELD)
41 public class CluResultInfo implements Serializable, Idable, HasTypeState {
42
43 private static final long serialVersionUID = 1L;
44
45 @XmlElement
46 private RichTextInfo desc;
47
48 @XmlElement
49 private String cluId;
50
51 @XmlElement
52 private List<ResultOptionInfo> resultOptions;
53
54 @XmlElement
55 private Date effectiveDate;
56
57 @XmlElement
58 private Date expirationDate;
59
60 @XmlElement
61 private MetaInfo metaInfo;
62
63 @XmlAttribute
64 private String type;
65
66 @XmlAttribute
67 private String state;
68
69 @XmlAttribute
70 private String id;
71
72
73
74
75
76
77 public RichTextInfo getDesc() {
78 return desc;
79 }
80
81 public void setDesc(RichTextInfo desc) {
82 this.desc = desc;
83 }
84
85
86
87
88
89
90
91 public String getCluId() {
92 return cluId;
93 }
94
95 public void setCluId(String cluId) {
96 this.cluId = cluId;
97 }
98
99
100
101
102
103
104 public List<ResultOptionInfo> getResultOptions() {
105 if (resultOptions == null) {
106 resultOptions = new ArrayList<ResultOptionInfo>(0);
107 }
108
109 return resultOptions;
110 }
111
112 public void setResultOptions(List<ResultOptionInfo> resultOptions) {
113 this.resultOptions = resultOptions;
114 }
115
116
117
118
119
120
121
122
123 public Date getEffectiveDate() {
124 return effectiveDate;
125 }
126
127 public void setEffectiveDate(Date effectiveDate) {
128 this.effectiveDate = effectiveDate;
129 }
130
131
132
133
134
135
136
137
138
139
140
141 public Date getExpirationDate() {
142 return expirationDate;
143 }
144
145 public void setExpirationDate(Date expirationDate) {
146 this.expirationDate = expirationDate;
147 }
148
149
150
151
152
153
154
155
156 public MetaInfo getMetaInfo() {
157 return metaInfo;
158 }
159
160 public void setMetaInfo(MetaInfo metaInfo) {
161 this.metaInfo = metaInfo;
162 }
163
164
165
166
167
168
169 public String getType() {
170 return type;
171 }
172
173 public void setType(String type) {
174 this.type = type;
175 }
176
177
178
179
180
181
182
183
184
185 public String getState() {
186 return state;
187 }
188
189 public void setState(String state) {
190 this.state = state;
191 }
192
193
194
195
196
197
198
199
200 public String getId() {
201 return id;
202 }
203
204 public void setId(String id) {
205 this.id = id;
206 }
207
208 @Override
209 public String toString() {
210 return "CluResultInfo[id=" + id + ", cluId=" + cluId + ", type=" + type + "]";
211 }
212 }