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