1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.contract.model; |
17 | |
|
18 | |
import java.io.Serializable; |
19 | |
import java.util.Date; |
20 | |
import java.util.LinkedHashMap; |
21 | |
import java.util.Map; |
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
public class Type implements Serializable |
28 | |
{ |
29 | |
public static final String GROUPING = "Grouping"; |
30 | |
public static final String DEFAULT = "(default)"; |
31 | |
|
32 | |
public Type () |
33 | 0 | { |
34 | 0 | } |
35 | |
|
36 | |
private String name; |
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | |
public String getName () |
44 | |
{ |
45 | 0 | return name; |
46 | |
} |
47 | |
|
48 | |
|
49 | |
|
50 | |
|
51 | |
|
52 | |
|
53 | |
public void setName (String name) |
54 | |
{ |
55 | 0 | this.name = name; |
56 | 0 | } |
57 | |
|
58 | |
private String desc; |
59 | |
|
60 | |
|
61 | |
|
62 | |
|
63 | |
|
64 | |
|
65 | |
public String getDesc () |
66 | |
{ |
67 | 0 | return desc; |
68 | |
} |
69 | |
|
70 | |
|
71 | |
|
72 | |
|
73 | |
|
74 | |
|
75 | |
public void setDesc (String desc) |
76 | |
{ |
77 | 0 | this.desc = desc; |
78 | 0 | } |
79 | |
|
80 | |
private String xmlObject; |
81 | |
|
82 | |
|
83 | |
|
84 | |
|
85 | |
|
86 | |
|
87 | |
public String getXmlObject () |
88 | |
{ |
89 | 0 | return xmlObject; |
90 | |
} |
91 | |
|
92 | |
|
93 | |
|
94 | |
|
95 | |
|
96 | |
|
97 | |
public void setXmlObject (String xmlObject) |
98 | |
{ |
99 | 0 | this.xmlObject = xmlObject; |
100 | 0 | } |
101 | |
|
102 | |
private String primitive; |
103 | |
|
104 | |
|
105 | |
|
106 | |
|
107 | |
|
108 | |
|
109 | |
public String getPrimitive () |
110 | |
{ |
111 | 0 | return primitive; |
112 | |
} |
113 | |
|
114 | |
|
115 | |
|
116 | |
|
117 | |
|
118 | |
|
119 | |
public void setPrimitive (String primitive) |
120 | |
{ |
121 | 0 | this.primitive = primitive; |
122 | 0 | } |
123 | |
|
124 | |
private boolean include; |
125 | |
|
126 | |
|
127 | |
|
128 | |
|
129 | |
|
130 | |
|
131 | |
public boolean getInclude () |
132 | |
{ |
133 | 0 | return include; |
134 | |
} |
135 | |
|
136 | |
|
137 | |
|
138 | |
|
139 | |
|
140 | |
|
141 | |
public void setInclude (boolean include) |
142 | |
{ |
143 | 0 | this.include = include; |
144 | 0 | } |
145 | |
|
146 | |
private String typeKey; |
147 | |
|
148 | |
|
149 | |
|
150 | |
|
151 | |
|
152 | |
|
153 | |
public String getTypeKey () |
154 | |
{ |
155 | 0 | return typeKey; |
156 | |
} |
157 | |
|
158 | |
|
159 | |
|
160 | |
|
161 | |
|
162 | |
|
163 | |
public void setTypeKey (String typeKey) |
164 | |
{ |
165 | 0 | this.typeKey = typeKey; |
166 | 0 | } |
167 | |
|
168 | |
private String aliases; |
169 | |
|
170 | |
|
171 | |
|
172 | |
|
173 | |
|
174 | |
|
175 | |
public String getAliases () |
176 | |
{ |
177 | 0 | return aliases; |
178 | |
} |
179 | |
|
180 | |
|
181 | |
|
182 | |
|
183 | |
|
184 | |
|
185 | |
public void setAliases (String aliases) |
186 | |
{ |
187 | 0 | this.aliases = aliases; |
188 | 0 | } |
189 | |
|
190 | |
private String status; |
191 | |
|
192 | |
|
193 | |
|
194 | |
|
195 | |
|
196 | |
|
197 | |
public String getStatus () |
198 | |
{ |
199 | 0 | return status; |
200 | |
} |
201 | |
|
202 | |
|
203 | |
|
204 | |
|
205 | |
|
206 | |
|
207 | |
public void setStatus (String status) |
208 | |
{ |
209 | 0 | this.status = status; |
210 | 0 | } |
211 | |
|
212 | |
private String comments; |
213 | |
|
214 | |
|
215 | |
|
216 | |
|
217 | |
|
218 | |
|
219 | |
public String getComments () |
220 | |
{ |
221 | 0 | return comments; |
222 | |
} |
223 | |
|
224 | |
|
225 | |
|
226 | |
|
227 | |
|
228 | |
|
229 | |
public void setComments (String comments) |
230 | |
{ |
231 | 0 | this.comments = comments; |
232 | 0 | } |
233 | |
|
234 | |
private Map<String, String> attributes; |
235 | |
|
236 | |
public Map<String, String> getAttributes () |
237 | |
{ |
238 | 0 | if (attributes == null) |
239 | |
{ |
240 | 0 | attributes = new LinkedHashMap (); |
241 | |
} |
242 | 0 | return attributes; |
243 | |
} |
244 | |
|
245 | |
public void setAttributes (Map<String, String> attributes) |
246 | |
{ |
247 | 0 | this.attributes = attributes; |
248 | 0 | } |
249 | |
|
250 | |
private Date effectiveDate; |
251 | |
|
252 | |
public Date getEffectiveDate () |
253 | |
{ |
254 | 0 | return effectiveDate; |
255 | |
} |
256 | |
|
257 | |
public void setEffectiveDate (Date effectiveDate) |
258 | |
{ |
259 | 0 | this.effectiveDate = effectiveDate; |
260 | 0 | } |
261 | |
|
262 | |
private Date expirationDate; |
263 | |
|
264 | |
public Date getExpirationDate () |
265 | |
{ |
266 | 0 | return expirationDate; |
267 | |
} |
268 | |
|
269 | |
public void setExpirationDate (Date expirationDate) |
270 | |
{ |
271 | 0 | this.expirationDate = expirationDate; |
272 | 0 | } |
273 | |
|
274 | |
} |