Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
CrossObjectConstraint |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2009 The Kuali Foundation | |
3 | * | |
4 | * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
5 | * you may not use this file except in compliance with the License. | |
6 | * You may obtain a copy of the License at | |
7 | * | |
8 | * http://www.osedu.org/licenses/ECL-2.0 | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, software | |
11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | * See the License for the specific language governing permissions and | |
14 | * limitations under the License. | |
15 | */ | |
16 | package org.kuali.student.contract.model; | |
17 | ||
18 | /** | |
19 | * Models a cross-object constraint | |
20 | * @author nwright | |
21 | */ | |
22 | public class CrossObjectConstraint | |
23 | { | |
24 | ||
25 | 0 | public static String IMPLEMENTATION_TYPE_STATE_WHEN = "typeStateWhen"; |
26 | ||
27 | public CrossObjectConstraint () | |
28 | 0 | { |
29 | 0 | } |
30 | ||
31 | private String id; | |
32 | ||
33 | /** | |
34 | * Get the value of id | |
35 | * | |
36 | * @return the value of id | |
37 | */ | |
38 | public String getId () | |
39 | { | |
40 | 0 | return id; |
41 | } | |
42 | ||
43 | /** | |
44 | * Set the value of id | |
45 | * | |
46 | * @param id new value of id | |
47 | */ | |
48 | public void setId (String id) | |
49 | { | |
50 | 0 | this.id = id; |
51 | 0 | } |
52 | ||
53 | private String implementation; | |
54 | ||
55 | /** | |
56 | * Get the value of implementation | |
57 | * | |
58 | * @return the value of implementation | |
59 | */ | |
60 | public String getImplementation () | |
61 | { | |
62 | 0 | return implementation; |
63 | } | |
64 | ||
65 | /** | |
66 | * Set the value of implementation | |
67 | * | |
68 | * @param implementation new value of implementation | |
69 | */ | |
70 | public void setImplementation (String implementation) | |
71 | { | |
72 | 0 | this.implementation = implementation; |
73 | 0 | } |
74 | ||
75 | private String dictionaryId; | |
76 | ||
77 | /** | |
78 | * Get the value of dictionaryId | |
79 | * | |
80 | * @return the value of dictionaryId | |
81 | */ | |
82 | public String getDictionaryId () | |
83 | { | |
84 | 0 | return dictionaryId; |
85 | } | |
86 | ||
87 | /** | |
88 | * Set the value of dictionaryId | |
89 | * | |
90 | * @param dictionaryId new value of dictionaryId | |
91 | */ | |
92 | public void setDictionaryId (String dictionaryId) | |
93 | { | |
94 | 0 | this.dictionaryId = dictionaryId; |
95 | 0 | } |
96 | ||
97 | private String object1; | |
98 | ||
99 | /** | |
100 | * Get the value of object1 | |
101 | * | |
102 | * @return the value of object1 | |
103 | */ | |
104 | public String getObject1 () | |
105 | { | |
106 | 0 | return object1; |
107 | } | |
108 | ||
109 | /** | |
110 | * Set the value of object1 | |
111 | * | |
112 | * @param object1 new value of object1 | |
113 | */ | |
114 | public void setObject1 (String object1) | |
115 | { | |
116 | 0 | this.object1 = object1; |
117 | 0 | } |
118 | ||
119 | private String type1; | |
120 | ||
121 | /** | |
122 | * Get the value of type1 | |
123 | * | |
124 | * @return the value of type1 | |
125 | */ | |
126 | public String getType1 () | |
127 | { | |
128 | 0 | return type1; |
129 | } | |
130 | ||
131 | /** | |
132 | * Set the value of type1 | |
133 | * | |
134 | * @param type1 new value of type1 | |
135 | */ | |
136 | public void setType1 (String type1) | |
137 | { | |
138 | 0 | this.type1 = type1; |
139 | 0 | } |
140 | ||
141 | private String state1; | |
142 | ||
143 | /** | |
144 | * Get the value of state1 | |
145 | * | |
146 | * @return the value of state1 | |
147 | */ | |
148 | public String getState1 () | |
149 | { | |
150 | 0 | return state1; |
151 | } | |
152 | ||
153 | /** | |
154 | * Set the value of state1 | |
155 | * | |
156 | * @param state1 new value of state1 | |
157 | */ | |
158 | public void setState1 (String state1) | |
159 | { | |
160 | 0 | this.state1 = state1; |
161 | 0 | } |
162 | ||
163 | private String relationType; | |
164 | ||
165 | /** | |
166 | * Get the value of relationType | |
167 | * | |
168 | * @return the value of relationType | |
169 | */ | |
170 | public String getRelationType () | |
171 | { | |
172 | 0 | return relationType; |
173 | } | |
174 | ||
175 | /** | |
176 | * Set the value of relationType | |
177 | * | |
178 | * @param relationType new value of relationType | |
179 | */ | |
180 | public void setRelationType (String relationType) | |
181 | { | |
182 | 0 | this.relationType = relationType; |
183 | 0 | } |
184 | ||
185 | private String cardinalityType; | |
186 | ||
187 | /** | |
188 | * Get the value of cardinalityType | |
189 | * | |
190 | * @return the value of cardinalityType | |
191 | */ | |
192 | public String getCardinalityType () | |
193 | { | |
194 | 0 | return cardinalityType; |
195 | } | |
196 | ||
197 | /** | |
198 | * Set the value of cardinalityType | |
199 | * | |
200 | * @param cardinalityType new value of cardinalityType | |
201 | */ | |
202 | public void setCardinalityType (String cardinalityType) | |
203 | { | |
204 | 0 | this.cardinalityType = cardinalityType; |
205 | 0 | } |
206 | ||
207 | private String object2; | |
208 | ||
209 | /** | |
210 | * Get the value of object2 | |
211 | * | |
212 | * @return the value of object2 | |
213 | */ | |
214 | public String getObject2 () | |
215 | { | |
216 | 0 | return object2; |
217 | } | |
218 | ||
219 | /** | |
220 | * Set the value of object2 | |
221 | * | |
222 | * @param object2 new value of object2 | |
223 | */ | |
224 | public void setObject2 (String object2) | |
225 | { | |
226 | 0 | this.object2 = object2; |
227 | 0 | } |
228 | ||
229 | private String type2; | |
230 | ||
231 | /** | |
232 | * Get the value of type2 | |
233 | * | |
234 | * @return the value of type2 | |
235 | */ | |
236 | public String getType2 () | |
237 | { | |
238 | 0 | return type2; |
239 | } | |
240 | ||
241 | /** | |
242 | * Set the value of type2 | |
243 | * | |
244 | * @param type2 new value of type2 | |
245 | */ | |
246 | public void setType2 (String type2) | |
247 | { | |
248 | 0 | this.type2 = type2; |
249 | 0 | } |
250 | ||
251 | private String state2; | |
252 | ||
253 | /** | |
254 | * Get the value of state2 | |
255 | * | |
256 | * @return the value of state2 | |
257 | */ | |
258 | public String getState2 () | |
259 | { | |
260 | 0 | return state2; |
261 | } | |
262 | ||
263 | /** | |
264 | * Set the value of state2 | |
265 | * | |
266 | * @param state2 new value of state2 | |
267 | */ | |
268 | public void setState2 (String state2) | |
269 | { | |
270 | 0 | this.state2 = state2; |
271 | 0 | } |
272 | ||
273 | private String desc; | |
274 | ||
275 | /** | |
276 | * Get the value of desc | |
277 | * | |
278 | * @return the value of desc | |
279 | */ | |
280 | public String getDesc () | |
281 | { | |
282 | 0 | return desc; |
283 | } | |
284 | ||
285 | /** | |
286 | * Set the value of desc | |
287 | * | |
288 | * @param desc new value of desc | |
289 | */ | |
290 | public void setDesc (String desc) | |
291 | { | |
292 | 0 | this.desc = desc; |
293 | 0 | } |
294 | ||
295 | private String comments; | |
296 | ||
297 | /** | |
298 | * Get the value of comments | |
299 | * | |
300 | * @return the value of comments | |
301 | */ | |
302 | public String getComments () | |
303 | { | |
304 | 0 | return comments; |
305 | } | |
306 | ||
307 | /** | |
308 | * Set the value of comments | |
309 | * | |
310 | * @param comments new value of comments | |
311 | */ | |
312 | public void setComments (String comments) | |
313 | { | |
314 | 0 | this.comments = comments; |
315 | 0 | } |
316 | ||
317 | private String minOccurs; | |
318 | ||
319 | /** | |
320 | * Get the value of minOccurs | |
321 | * | |
322 | * @return the value of minOccurs | |
323 | */ | |
324 | public String getMinOccurs () | |
325 | { | |
326 | 0 | return minOccurs; |
327 | } | |
328 | ||
329 | /** | |
330 | * Set the value of minOccurs | |
331 | * | |
332 | * @param minOccurs new value of minOccurs | |
333 | */ | |
334 | public void setMinOccurs (String minOccurs) | |
335 | { | |
336 | 0 | this.minOccurs = minOccurs; |
337 | 0 | } |
338 | ||
339 | private String maxOccurs; | |
340 | ||
341 | /** | |
342 | * Get the value of maxOccurs | |
343 | * | |
344 | * @return the value of maxOccurs | |
345 | */ | |
346 | public String getMaxOccurs () | |
347 | { | |
348 | 0 | return maxOccurs; |
349 | } | |
350 | ||
351 | /** | |
352 | * Set the value of maxOccurs | |
353 | * | |
354 | * @param maxOccurs new value of maxOccurs | |
355 | */ | |
356 | public void setMaxOccurs (String maxOccurs) | |
357 | { | |
358 | 0 | this.maxOccurs = maxOccurs; |
359 | 0 | } |
360 | ||
361 | } |