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.HashMap; |
22 | |
import java.util.List; |
23 | |
import java.util.Map; |
24 | |
|
25 | |
import javax.xml.bind.annotation.XmlAccessType; |
26 | |
import javax.xml.bind.annotation.XmlAccessorType; |
27 | |
import javax.xml.bind.annotation.XmlAttribute; |
28 | |
import javax.xml.bind.annotation.XmlElement; |
29 | |
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
30 | |
|
31 | |
import org.kuali.student.common.dto.HasAttributes; |
32 | |
import org.kuali.student.common.dto.Idable; |
33 | |
import org.kuali.student.common.dto.MetaInfo; |
34 | |
import org.kuali.student.common.dto.RichTextInfo; |
35 | |
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
@XmlAccessorType(XmlAccessType.FIELD) |
41 | 0 | public class CluSetTreeViewInfo implements Serializable, Idable, HasAttributes { |
42 | |
|
43 | |
private static final long serialVersionUID = 1L; |
44 | |
|
45 | |
@XmlElement |
46 | |
private String name; |
47 | |
|
48 | |
@XmlElement |
49 | |
private RichTextInfo descr; |
50 | |
|
51 | |
@XmlElement |
52 | |
private Date effectiveDate; |
53 | |
|
54 | |
@XmlElement |
55 | |
private Date expirationDate; |
56 | |
|
57 | |
@XmlElement |
58 | |
private String adminOrg; |
59 | |
|
60 | |
@XmlElement |
61 | |
private Boolean isReusable; |
62 | |
|
63 | |
@XmlElement |
64 | |
private Boolean isReferenceable; |
65 | |
|
66 | |
@XmlElement |
67 | |
private List<CluSetTreeViewInfo> cluSets; |
68 | |
|
69 | |
@XmlElement |
70 | |
private List<CluInfo> clus; |
71 | |
|
72 | |
@XmlElement |
73 | |
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
74 | |
private Map<String, String> attributes; |
75 | |
|
76 | |
@XmlElement |
77 | |
private MetaInfo metaInfo; |
78 | |
|
79 | |
@XmlAttribute |
80 | |
private String type; |
81 | |
|
82 | |
@XmlAttribute |
83 | |
private String state; |
84 | |
|
85 | |
@XmlAttribute |
86 | |
private String id; |
87 | |
|
88 | |
|
89 | |
|
90 | |
|
91 | |
public String getName() { |
92 | 0 | return name; |
93 | |
} |
94 | |
|
95 | |
public void setName(String name) { |
96 | 0 | this.name = name; |
97 | 0 | } |
98 | |
|
99 | |
|
100 | |
|
101 | |
|
102 | |
public RichTextInfo getDescr() { |
103 | 0 | return descr; |
104 | |
} |
105 | |
|
106 | |
public void setDescr(RichTextInfo descr) { |
107 | 0 | this.descr = descr; |
108 | 0 | } |
109 | |
|
110 | |
|
111 | |
|
112 | |
|
113 | |
public Date getEffectiveDate() { |
114 | 0 | return effectiveDate; |
115 | |
} |
116 | |
|
117 | |
public void setEffectiveDate(Date effectiveDate) { |
118 | 0 | this.effectiveDate = effectiveDate; |
119 | 0 | } |
120 | |
|
121 | |
|
122 | |
|
123 | |
|
124 | |
public Date getExpirationDate() { |
125 | 0 | return expirationDate; |
126 | |
} |
127 | |
|
128 | |
public void setExpirationDate(Date expirationDate) { |
129 | 0 | this.expirationDate = expirationDate; |
130 | 0 | } |
131 | |
|
132 | |
|
133 | |
|
134 | |
|
135 | |
|
136 | |
|
137 | |
|
138 | |
|
139 | |
|
140 | |
|
141 | |
|
142 | |
|
143 | |
|
144 | |
|
145 | |
|
146 | |
|
147 | |
public Map<String, String> getAttributes() { |
148 | 0 | if (attributes == null) { |
149 | 0 | attributes = new HashMap<String, String>(); |
150 | |
} |
151 | 0 | return attributes; |
152 | |
} |
153 | |
|
154 | |
public void setAttributes(Map<String, String> attributes) { |
155 | 0 | this.attributes = attributes; |
156 | 0 | } |
157 | |
|
158 | |
|
159 | |
|
160 | |
|
161 | |
public MetaInfo getMetaInfo() { |
162 | 0 | return metaInfo; |
163 | |
} |
164 | |
|
165 | |
public void setMetaInfo(MetaInfo metaInfo) { |
166 | 0 | this.metaInfo = metaInfo; |
167 | 0 | } |
168 | |
|
169 | |
|
170 | |
|
171 | |
|
172 | |
public String getId() { |
173 | 0 | return id; |
174 | |
} |
175 | |
|
176 | |
public void setId(String id) { |
177 | 0 | this.id = id; |
178 | 0 | } |
179 | |
|
180 | |
|
181 | |
|
182 | |
|
183 | |
|
184 | |
|
185 | |
|
186 | |
public String getType() { |
187 | 0 | return type; |
188 | |
} |
189 | |
|
190 | |
|
191 | |
|
192 | |
|
193 | |
|
194 | |
|
195 | |
|
196 | |
public void setType(String type) { |
197 | 0 | this.type = type; |
198 | 0 | } |
199 | |
|
200 | |
public String getState() { |
201 | 0 | return state; |
202 | |
} |
203 | |
|
204 | |
public void setState(String state) { |
205 | 0 | this.state = state; |
206 | 0 | } |
207 | |
|
208 | |
public String getAdminOrg() { |
209 | 0 | return adminOrg; |
210 | |
} |
211 | |
|
212 | |
public void setAdminOrg(String adminOrg) { |
213 | 0 | this.adminOrg = adminOrg; |
214 | 0 | } |
215 | |
|
216 | |
public Boolean getIsReusable() { |
217 | 0 | return isReusable; |
218 | |
} |
219 | |
|
220 | |
public void setIsReusable(Boolean isReusable) { |
221 | 0 | this.isReusable = isReusable; |
222 | 0 | } |
223 | |
|
224 | |
public Boolean getIsReferenceable() { |
225 | 0 | return isReferenceable; |
226 | |
} |
227 | |
|
228 | |
public void setIsReferenceable(Boolean isReferenceable) { |
229 | 0 | this.isReferenceable = isReferenceable; |
230 | 0 | } |
231 | |
|
232 | |
public List<CluSetTreeViewInfo> getCluSets() { |
233 | 0 | return cluSets; |
234 | |
} |
235 | |
|
236 | |
public void setCluSets(List<CluSetTreeViewInfo> cluSets) { |
237 | 0 | this.cluSets = cluSets; |
238 | 0 | } |
239 | |
|
240 | |
public List<CluInfo> getClus() { |
241 | 0 | return clus; |
242 | |
} |
243 | |
|
244 | |
public void setClus(List<CluInfo> clus) { |
245 | 0 | this.clus = clus; |
246 | 0 | } |
247 | |
} |