KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > model1 > cci > SegmentFilterImpl


1 // ----------------------------------------------------------------------------
2
// Filter/ImplBegin
3
// ----------------------------------------------------------------------------
4
//////////////////////////////////////////////////////////////////////////////
5
//
6
// Name: $Id: JMIAbstractMapper.java,v 1.11 2006/01/21 23:09:07 wfro Exp $
7
// Generated by: openMDX JMI Mapper
8
// Date: Mon Apr 03 11:38:53 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.model1.cci;
14
15 public class SegmentFilterImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefFilter_1
17   implements SegmentFilter {
18
19   public SegmentFilterImpl(
20     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage
21   ) {
22     super(
23       aPackage,
24       "org:opencrx:kernel:model1:Segment",
25       null,
26       null
27     );
28   }
29
30   public SegmentFilterImpl(
31     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage,
32     org.openmdx.compatibility.base.query.FilterProperty[] filterProperties,
33     org.openmdx.compatibility.base.dataprovider.cci.AttributeSpecifier[] attributeSpecifiers
34   ) {
35     super(
36       aPackage,
37       "org:opencrx:kernel:model1:Segment",
38       filterProperties,
39       attributeSpecifiers
40     );
41   }
42       
43 // ----------------------------------------------------------------------------
44
// Filter/ImplAttributeIsNotStruct
45
// ----------------------------------------------------------------------------
46
public void forAllAccessLevelBrowse (
47     short operator,
48     java.util.Collection JavaDoc values
49   ) {
50     refAddValue(
51       "org:opencrx:kernel:base:SecureObject:accessLevelBrowse",
52       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
53       operator,
54       values
55     );
56   }
57
58   public void thereExistsAccessLevelBrowse (
59     short operator,
60     java.util.Collection JavaDoc values
61   ) {
62     refAddValue(
63       "org:opencrx:kernel:base:SecureObject:accessLevelBrowse",
64       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
65       operator,
66       values
67     );
68   }
69
70   public void forAllAccessLevelBrowse (
71     short operator,
72     short[] filterValues
73   ) {
74     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
75     for(int i = 0; i < filterValues.length; i++) {
76       arrayAsList.add(
77         new Short JavaDoc(filterValues[i])
78       );
79     }
80     forAllAccessLevelBrowse (
81       operator,
82       arrayAsList
83     );
84   }
85
86   public void thereExistsAccessLevelBrowse (
87     short operator,
88     short[] filterValues
89   ) {
90     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
91     for(int i = 0; i < filterValues.length; i++) {
92       arrayAsList.add(
93         new Short JavaDoc(filterValues[i])
94       );
95     }
96     thereExistsAccessLevelBrowse (
97       operator,
98       arrayAsList
99     );
100   }
101
102   public void orderByAccessLevelBrowse (
103     short order
104   ) {
105     refAddValue(
106       "org:opencrx:kernel:base:SecureObject:accessLevelBrowse",
107       order
108     );
109   }
110       
111 // ----------------------------------------------------------------------------
112
// Filter/ImplAttributeIsNotStruct
113
// ----------------------------------------------------------------------------
114
public void forAllAccessLevelDelete (
115     short operator,
116     java.util.Collection JavaDoc values
117   ) {
118     refAddValue(
119       "org:opencrx:kernel:base:SecureObject:accessLevelDelete",
120       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
121       operator,
122       values
123     );
124   }
125
126   public void thereExistsAccessLevelDelete (
127     short operator,
128     java.util.Collection JavaDoc values
129   ) {
130     refAddValue(
131       "org:opencrx:kernel:base:SecureObject:accessLevelDelete",
132       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
133       operator,
134       values
135     );
136   }
137
138   public void forAllAccessLevelDelete (
139     short operator,
140     short[] filterValues
141   ) {
142     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
143     for(int i = 0; i < filterValues.length; i++) {
144       arrayAsList.add(
145         new Short JavaDoc(filterValues[i])
146       );
147     }
148     forAllAccessLevelDelete (
149       operator,
150       arrayAsList
151     );
152   }
153
154   public void thereExistsAccessLevelDelete (
155     short operator,
156     short[] filterValues
157   ) {
158     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
159     for(int i = 0; i < filterValues.length; i++) {
160       arrayAsList.add(
161         new Short JavaDoc(filterValues[i])
162       );
163     }
164     thereExistsAccessLevelDelete (
165       operator,
166       arrayAsList
167     );
168   }
169
170   public void orderByAccessLevelDelete (
171     short order
172   ) {
173     refAddValue(
174       "org:opencrx:kernel:base:SecureObject:accessLevelDelete",
175       order
176     );
177   }
178       
179 // ----------------------------------------------------------------------------
180
// Filter/ImplAttributeIsNotStruct
181
// ----------------------------------------------------------------------------
182
public void forAllAccessLevelUpdate (
183     short operator,
184     java.util.Collection JavaDoc values
185   ) {
186     refAddValue(
187       "org:opencrx:kernel:base:SecureObject:accessLevelUpdate",
188       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
189       operator,
190       values
191     );
192   }
193
194   public void thereExistsAccessLevelUpdate (
195     short operator,
196     java.util.Collection JavaDoc values
197   ) {
198     refAddValue(
199       "org:opencrx:kernel:base:SecureObject:accessLevelUpdate",
200       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
201       operator,
202       values
203     );
204   }
205
206   public void forAllAccessLevelUpdate (
207     short operator,
208     short[] filterValues
209   ) {
210     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
211     for(int i = 0; i < filterValues.length; i++) {
212       arrayAsList.add(
213         new Short JavaDoc(filterValues[i])
214       );
215     }
216     forAllAccessLevelUpdate (
217       operator,
218       arrayAsList
219     );
220   }
221
222   public void thereExistsAccessLevelUpdate (
223     short operator,
224     short[] filterValues
225   ) {
226     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
227     for(int i = 0; i < filterValues.length; i++) {
228       arrayAsList.add(
229         new Short JavaDoc(filterValues[i])
230       );
231     }
232     thereExistsAccessLevelUpdate (
233       operator,
234       arrayAsList
235     );
236   }
237
238   public void orderByAccessLevelUpdate (
239     short order
240   ) {
241     refAddValue(
242       "org:opencrx:kernel:base:SecureObject:accessLevelUpdate",
243       order
244     );
245   }
246       
247 // ----------------------------------------------------------------------------
248
// Filter/ImplAttributeIsNotStruct
249
// ----------------------------------------------------------------------------
250
public void forAllOwner (
251     short operator,
252     java.util.Collection JavaDoc values
253   ) {
254     refAddValue(
255       "org:opencrx:kernel:base:SecureObject:owner",
256       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
257       operator,
258       values
259     );
260   }
261
262   public void thereExistsOwner (
263     short operator,
264     java.util.Collection JavaDoc values
265   ) {
266     refAddValue(
267       "org:opencrx:kernel:base:SecureObject:owner",
268       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
269       operator,
270       values
271     );
272   }
273
274   public void forAllOwner (
275     short operator,
276     String JavaDoc[] filterValues
277   ) {
278     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
279     for(int i = 0; i < filterValues.length; i++) {
280       arrayAsList.add(
281         filterValues[i]
282       );
283     }
284     forAllOwner (
285       operator,
286       arrayAsList
287     );
288   }
289
290   public void thereExistsOwner (
291     short operator,
292     String JavaDoc[] filterValues
293   ) {
294     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
295     for(int i = 0; i < filterValues.length; i++) {
296       arrayAsList.add(
297         filterValues[i]
298       );
299     }
300     thereExistsOwner (
301       operator,
302       arrayAsList
303     );
304   }
305
306   public void orderByOwner (
307     short order
308   ) {
309     refAddValue(
310       "org:opencrx:kernel:base:SecureObject:owner",
311       order
312     );
313   }
314       
315 // ----------------------------------------------------------------------------
316
// Filter/ImplReference
317
// ----------------------------------------------------------------------------
318
public void forAllOwningGroup (
319     short operator,
320     org.opencrx.security.realm1.cci.PrincipalGroup[] filterValues
321   ) {
322     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
323     for(int i = 0; i < filterValues.length; i++) {
324       arrayAsList.add(
325         filterValues[i]
326       );
327     }
328     forAllOwningGroup (
329       operator,
330       arrayAsList
331     );
332   }
333
334   public void thereExistsOwningGroup (
335     short operator,
336     org.opencrx.security.realm1.cci.PrincipalGroup[] filterValues
337   ) {
338     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
339     for(int i = 0; i < filterValues.length; i++) {
340       arrayAsList.add(
341         filterValues[i]
342       );
343     }
344     thereExistsOwningGroup (
345       operator,
346       arrayAsList
347     );
348   }
349
350   public void forAllOwningGroup (
351     short operator,
352     java.util.Collection JavaDoc values
353   ) {
354     refAddValue(
355       "org:opencrx:kernel:base:SecureObject:owningGroup",
356       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
357       operator,
358       values
359     );
360   }
361
362   public void thereExistsOwningGroup (
363     short operator,
364     java.util.Collection JavaDoc values
365   ) {
366     refAddValue(
367       "org:opencrx:kernel:base:SecureObject:owningGroup",
368       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
369       operator,
370       values
371     );
372   }
373       
374 // ----------------------------------------------------------------------------
375
// Filter/ImplReference
376
// ----------------------------------------------------------------------------
377
public void forAllOwningUser (
378     short operator,
379     org.opencrx.security.realm1.cci.User[] filterValues
380   ) {
381     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
382     for(int i = 0; i < filterValues.length; i++) {
383       arrayAsList.add(
384         filterValues[i]
385       );
386     }
387     forAllOwningUser (
388       operator,
389       arrayAsList
390     );
391   }
392
393   public void thereExistsOwningUser (
394     short operator,
395     org.opencrx.security.realm1.cci.User[] filterValues
396   ) {
397     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
398     for(int i = 0; i < filterValues.length; i++) {
399       arrayAsList.add(
400         filterValues[i]
401       );
402     }
403     thereExistsOwningUser (
404       operator,
405       arrayAsList
406     );
407   }
408
409   public void forAllOwningUser (
410     short operator,
411     java.util.Collection JavaDoc values
412   ) {
413     refAddValue(
414       "org:opencrx:kernel:base:SecureObject:owningUser",
415       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
416       operator,
417       values
418     );
419   }
420
421   public void thereExistsOwningUser (
422     short operator,
423     java.util.Collection JavaDoc values
424   ) {
425     refAddValue(
426       "org:opencrx:kernel:base:SecureObject:owningUser",
427       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
428       operator,
429       values
430     );
431   }
432       
433 // ----------------------------------------------------------------------------
434
// Filter/ImplReference
435
// ----------------------------------------------------------------------------
436
public void forAllContext (
437     short operator,
438     org.openmdx.base.cci.Context[] filterValues
439   ) {
440     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
441     for(int i = 0; i < filterValues.length; i++) {
442       arrayAsList.add(
443         filterValues[i]
444       );
445     }
446     forAllContext (
447       operator,
448       arrayAsList
449     );
450   }
451
452   public void thereExistsContext (
453     short operator,
454     org.openmdx.base.cci.Context[] filterValues
455   ) {
456     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
457     for(int i = 0; i < filterValues.length; i++) {
458       arrayAsList.add(
459         filterValues[i]
460       );
461     }
462     thereExistsContext (
463       operator,
464       arrayAsList
465     );
466   }
467
468   public void forAllContext (
469     short operator,
470     java.util.Collection JavaDoc values
471   ) {
472     refAddValue(
473       "org:openmdx:base:ContextCapable:context",
474       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
475       operator,
476       values
477     );
478   }
479
480   public void thereExistsContext (
481     short operator,
482     java.util.Collection JavaDoc values
483   ) {
484     refAddValue(
485       "org:openmdx:base:ContextCapable:context",
486       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
487       operator,
488       values
489     );
490   }
491       
492 // ----------------------------------------------------------------------------
493
// Filter/ImplAttributeIsNotStruct
494
// ----------------------------------------------------------------------------
495
public void forAllDescription (
496     short operator,
497     java.util.Collection JavaDoc values
498   ) {
499     refAddValue(
500       "org:openmdx:base:Segment:description",
501       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
502       operator,
503       values
504     );
505   }
506
507   public void thereExistsDescription (
508     short operator,
509     java.util.Collection JavaDoc values
510   ) {
511     refAddValue(
512       "org:openmdx:base:Segment:description",
513       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
514       operator,
515       values
516     );
517   }
518
519   public void forAllDescription (
520     short operator,
521     String JavaDoc[] filterValues
522   ) {
523     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
524     for(int i = 0; i < filterValues.length; i++) {
525       arrayAsList.add(
526         filterValues[i]
527       );
528     }
529     forAllDescription (
530       operator,
531       arrayAsList
532     );
533   }
534
535   public void thereExistsDescription (
536     short operator,
537     String JavaDoc[] filterValues
538   ) {
539     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
540     for(int i = 0; i < filterValues.length; i++) {
541       arrayAsList.add(
542         filterValues[i]
543       );
544     }
545     thereExistsDescription (
546       operator,
547       arrayAsList
548     );
549   }
550
551   public void orderByDescription (
552     short order
553   ) {
554     refAddValue(
555       "org:openmdx:base:Segment:description",
556       order
557     );
558   }
559       
560 // ----------------------------------------------------------------------------
561
// Filter/ImplEnd
562
// ----------------------------------------------------------------------------
563
}
564
Popular Tags