Clover Coverage Report - KS Contract Documentation Generator 0.0.1-SNAPSHOT
Coverage timestamp: Wed Dec 31 1969 19:00:00 EST
../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
30   313   31   0.97
0   111   1.03   31
31     1  
1    
 
  CrossObjectConstraint       Line # 22 30 0% 31 61 0% 0.0
 
No Tests
 
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    public static String IMPLEMENTATION_TYPE_STATE_WHEN = "typeStateWhen";
25   
 
26  0 toggle public CrossObjectConstraint() {
27    }
28    private String id;
29   
30    /**
31    * Get the value of id
32    *
33    * @return the value of id
34    */
 
35  0 toggle public String getId() {
36  0 return id;
37    }
38   
39    /**
40    * Set the value of id
41    *
42    * @param id new value of id
43    */
 
44  0 toggle public void setId(String id) {
45  0 this.id = id;
46    }
47    private String implementation;
48   
49    /**
50    * Get the value of implementation
51    *
52    * @return the value of implementation
53    */
 
54  0 toggle public String getImplementation() {
55  0 return implementation;
56    }
57   
58    /**
59    * Set the value of implementation
60    *
61    * @param implementation new value of implementation
62    */
 
63  0 toggle public void setImplementation(String implementation) {
64  0 this.implementation = implementation;
65    }
66    private String dictionaryId;
67   
68    /**
69    * Get the value of dictionaryId
70    *
71    * @return the value of dictionaryId
72    */
 
73  0 toggle public String getDictionaryId() {
74  0 return dictionaryId;
75    }
76   
77    /**
78    * Set the value of dictionaryId
79    *
80    * @param dictionaryId new value of dictionaryId
81    */
 
82  0 toggle public void setDictionaryId(String dictionaryId) {
83  0 this.dictionaryId = dictionaryId;
84    }
85    private String object1;
86   
87    /**
88    * Get the value of object1
89    *
90    * @return the value of object1
91    */
 
92  0 toggle public String getObject1() {
93  0 return object1;
94    }
95   
96    /**
97    * Set the value of object1
98    *
99    * @param object1 new value of object1
100    */
 
101  0 toggle public void setObject1(String object1) {
102  0 this.object1 = object1;
103    }
104    private String type1;
105   
106    /**
107    * Get the value of type1
108    *
109    * @return the value of type1
110    */
 
111  0 toggle public String getType1() {
112  0 return type1;
113    }
114   
115    /**
116    * Set the value of type1
117    *
118    * @param type1 new value of type1
119    */
 
120  0 toggle public void setType1(String type1) {
121  0 this.type1 = type1;
122    }
123    private String state1;
124   
125    /**
126    * Get the value of state1
127    *
128    * @return the value of state1
129    */
 
130  0 toggle public String getState1() {
131  0 return state1;
132    }
133   
134    /**
135    * Set the value of state1
136    *
137    * @param state1 new value of state1
138    */
 
139  0 toggle public void setState1(String state1) {
140  0 this.state1 = state1;
141    }
142    private String relationType;
143   
144    /**
145    * Get the value of relationType
146    *
147    * @return the value of relationType
148    */
 
149  0 toggle public String getRelationType() {
150  0 return relationType;
151    }
152   
153    /**
154    * Set the value of relationType
155    *
156    * @param relationType new value of relationType
157    */
 
158  0 toggle public void setRelationType(String relationType) {
159  0 this.relationType = relationType;
160    }
161    private String cardinalityType;
162   
163    /**
164    * Get the value of cardinalityType
165    *
166    * @return the value of cardinalityType
167    */
 
168  0 toggle public String getCardinalityType() {
169  0 return cardinalityType;
170    }
171   
172    /**
173    * Set the value of cardinalityType
174    *
175    * @param cardinalityType new value of cardinalityType
176    */
 
177  0 toggle public void setCardinalityType(String cardinalityType) {
178  0 this.cardinalityType = cardinalityType;
179    }
180    private String object2;
181   
182    /**
183    * Get the value of object2
184    *
185    * @return the value of object2
186    */
 
187  0 toggle public String getObject2() {
188  0 return object2;
189    }
190   
191    /**
192    * Set the value of object2
193    *
194    * @param object2 new value of object2
195    */
 
196  0 toggle public void setObject2(String object2) {
197  0 this.object2 = object2;
198    }
199    private String type2;
200   
201    /**
202    * Get the value of type2
203    *
204    * @return the value of type2
205    */
 
206  0 toggle public String getType2() {
207  0 return type2;
208    }
209   
210    /**
211    * Set the value of type2
212    *
213    * @param type2 new value of type2
214    */
 
215  0 toggle public void setType2(String type2) {
216  0 this.type2 = type2;
217    }
218    private String state2;
219   
220    /**
221    * Get the value of state2
222    *
223    * @return the value of state2
224    */
 
225  0 toggle public String getState2() {
226  0 return state2;
227    }
228   
229    /**
230    * Set the value of state2
231    *
232    * @param state2 new value of state2
233    */
 
234  0 toggle public void setState2(String state2) {
235  0 this.state2 = state2;
236    }
237    private String desc;
238   
239    /**
240    * Get the value of desc
241    *
242    * @return the value of desc
243    */
 
244  0 toggle public String getDesc() {
245  0 return desc;
246    }
247   
248    /**
249    * Set the value of desc
250    *
251    * @param desc new value of desc
252    */
 
253  0 toggle public void setDesc(String desc) {
254  0 this.desc = desc;
255    }
256    private String comments;
257   
258    /**
259    * Get the value of comments
260    *
261    * @return the value of comments
262    */
 
263  0 toggle public String getComments() {
264  0 return comments;
265    }
266   
267    /**
268    * Set the value of comments
269    *
270    * @param comments new value of comments
271    */
 
272  0 toggle public void setComments(String comments) {
273  0 this.comments = comments;
274    }
275    private String minOccurs;
276   
277    /**
278    * Get the value of minOccurs
279    *
280    * @return the value of minOccurs
281    */
 
282  0 toggle public String getMinOccurs() {
283  0 return minOccurs;
284    }
285   
286    /**
287    * Set the value of minOccurs
288    *
289    * @param minOccurs new value of minOccurs
290    */
 
291  0 toggle public void setMinOccurs(String minOccurs) {
292  0 this.minOccurs = minOccurs;
293    }
294    private String maxOccurs;
295   
296    /**
297    * Get the value of maxOccurs
298    *
299    * @return the value of maxOccurs
300    */
 
301  0 toggle public String getMaxOccurs() {
302  0 return maxOccurs;
303    }
304   
305    /**
306    * Set the value of maxOccurs
307    *
308    * @param maxOccurs new value of maxOccurs
309    */
 
310  0 toggle public void setMaxOccurs(String maxOccurs) {
311  0 this.maxOccurs = maxOccurs;
312    }
313    }