1   
2   
3   
4   
5   
6   
7   
8   
9   
10  
11  
12  
13  
14  
15  
16  package org.kuali.student.common.dictionary.old.dto;
17  
18  import java.io.Serializable;
19  import java.util.List;
20  
21  import javax.xml.bind.annotation.XmlAccessType;
22  import javax.xml.bind.annotation.XmlAccessorType;
23  import javax.xml.bind.annotation.XmlAttribute;
24  import javax.xml.bind.annotation.XmlElement;
25  
26  
27  
28  
29  @XmlAccessorType(XmlAccessType.FIELD)
30  public class ConstraintSelector implements Serializable {
31  
32      private static final long serialVersionUID = 1L;
33  
34      @XmlAttribute
35      protected String className;
36      
37      @XmlAttribute(required = true) 
38      protected String key;
39      
40      @XmlAttribute
41      protected String id;
42      
43      @XmlAttribute
44      protected boolean serverSide;
45      
46      @XmlAttribute
47      protected String locale;
48      
49      @XmlElement
50      protected String minValue;
51  
52      @XmlElement
53      protected String maxValue;
54  
55      @XmlElement
56      protected Integer minLength;
57      
58      @XmlElement
59      protected String maxLength;
60      
61      @XmlElement(name="validChars")
62      protected ValidCharsConstraint validChars;
63      
64      @XmlElement
65      protected Integer minOccurs;
66      
67      @XmlElement
68      protected String maxOccurs;
69  
70      @XmlElement(name="require")
71      protected List<RequireConstraint> requireConstraint;
72      
73      @XmlElement(name = "case")
74      protected List<CaseConstraint> caseConstraint;
75  
76      @XmlElement(name = "typeStateCase")
77      protected TypeStateCaseConstraint typeStateCaseConstraint;
78          
79      @XmlElement(name = "lookup")
80      protected List<LookupConstraint> lookupConstraint;
81  
82      @XmlElement(name = "occurs")
83      protected List<OccursConstraint> occursConstraint;
84      
85  	
86  
87  
88  	public String getMinValue() {
89  		return minValue;
90  	}
91  
92  	
93  
94  
95  	public void setMinValue(String minValue) {
96  		this.minValue = minValue;
97  	}
98  
99  	
100 
101 
102 	public String getMaxValue() {
103 		return maxValue;
104 	}
105 
106 	
107 
108 
109 	public void setMaxValue(String maxValue) {
110 		this.maxValue = maxValue;
111 	}
112 
113 	
114 
115 
116 	public Integer getMinLength() {
117 		return minLength;
118 	}
119 
120 	
121 
122 
123 	public void setMinLength(Integer minLength) {
124 		this.minLength = minLength;
125 	}
126 
127 	
128 
129 
130 	public String getMaxLength() {
131 		return maxLength;
132 	}
133 
134 	
135 
136 
137 	public void setMaxLength(String maxLength) {
138 		this.maxLength = maxLength;
139 	}
140 
141 	
142 
143 
144 	public Integer getMinOccurs() {
145 		return minOccurs;
146 	}
147 
148 	
149 
150 
151 	public void setMinOccurs(Integer minOccurs) {
152 		this.minOccurs = minOccurs;
153 	}
154 
155 	
156 
157 
158 	public String getMaxOccurs() {
159 		return maxOccurs;
160 	}
161 
162 	
163 
164 
165 	public void setMaxOccurs(String maxOccurs) {
166 		this.maxOccurs = maxOccurs;
167 	}
168 
169 	
170 
171 
172 	public String getClassName() {
173 		return className;
174 	}
175 
176 	
177 
178 
179 	public void setClassName(String className) {
180 		this.className = className;
181 	}
182 
183 	
184 
185 
186 	public String getKey() {
187 		return key;
188 	}
189 
190 	
191 
192 
193 	public void setKey(String key) {
194 		this.key = key;
195 	}
196 
197 	
198 
199 
200 	public String getId() {
201 		return id;
202 	}
203 
204 	
205 
206 
207 	public void setId(String id) {
208 		this.id = id;
209 	}
210 
211 	
212 
213 
214 	public boolean isServerSide() {
215 		return serverSide;
216 	}
217 
218 	
219 
220 
221 	public void setServerSide(boolean serverSide) {
222 		this.serverSide = serverSide;
223 	}
224 
225 	
226 
227 
228 	public String getLocale() {
229 		return locale;
230 	}
231 
232 	
233 
234 
235 	public void setLocale(String locale) {
236 		this.locale = locale;
237 	}
238 
239 	
240 
241 
242 	public ValidCharsConstraint getValidChars() {
243 		return validChars;
244 	}
245 
246 	
247 
248 
249 	public void setValidChars(ValidCharsConstraint validChars) {
250 		this.validChars = validChars;
251 	}
252 
253 	
254 
255 
256 	public List<RequireConstraint> getRequireConstraint() {
257 		return requireConstraint;
258 	}
259 
260 	
261 
262 
263 	public void setRequireConstraint(List<RequireConstraint> requireConstraint) {
264 		this.requireConstraint = requireConstraint;
265 	}
266 
267 	
268 
269 
270 	public TypeStateCaseConstraint getTypeStateCaseConstraint() {
271 		return typeStateCaseConstraint;
272 	}
273 
274 	
275 
276 
277 	public void setTypeStateCaseConstraint(
278 			TypeStateCaseConstraint typeStateCaseConstraint) {
279 		this.typeStateCaseConstraint = typeStateCaseConstraint;
280 	}
281 
282 	
283 
284 
285 	public List<CaseConstraint> getCaseConstraint() {
286 		return caseConstraint;
287 	}
288 
289 	
290 
291 
292 	public void setCaseConstraint(List<CaseConstraint> caseConstraint) {
293 		this.caseConstraint = caseConstraint;
294 	}
295 
296 	
297 
298 
299 	public List<LookupConstraint> getLookupConstraint() {
300 		return lookupConstraint;
301 	}
302 
303 	
304 
305 
306 	public void setLookupConstraint(List<LookupConstraint> lookupConstraint) {
307 		this.lookupConstraint = lookupConstraint;
308 	}
309 
310 	
311 
312 
313 	public List<OccursConstraint> getOccursConstraint() {
314 		return occursConstraint;
315 	}
316 
317 	
318 
319 
320 	public void setOccursConstraint(List<OccursConstraint> occursConstraint) {
321 		this.occursConstraint = occursConstraint;
322 	}	
323 }