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