KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > base > cci > AbstractFilterPropertyFilterImpl


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:58 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.base.cci;
14
15 public class AbstractFilterPropertyFilterImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefFilter_1
17   implements AbstractFilterPropertyFilter {
18
19   public AbstractFilterPropertyFilterImpl(
20     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage
21   ) {
22     super(
23       aPackage,
24       "org:opencrx:kernel:base:AbstractFilterProperty",
25       null,
26       null
27     );
28   }
29
30   public AbstractFilterPropertyFilterImpl(
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:base:AbstractFilterProperty",
38       filterProperties,
39       attributeSpecifiers
40     );
41   }
42       
43 // ----------------------------------------------------------------------------
44
// Filter/ImplAttributeIsNotStruct
45
// ----------------------------------------------------------------------------
46
public void forAllDescription (
47     short operator,
48     java.util.Collection JavaDoc values
49   ) {
50     refAddValue(
51       "org:opencrx:kernel:base:AbstractFilterProperty:description",
52       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
53       operator,
54       values
55     );
56   }
57
58   public void thereExistsDescription (
59     short operator,
60     java.util.Collection JavaDoc values
61   ) {
62     refAddValue(
63       "org:opencrx:kernel:base:AbstractFilterProperty:description",
64       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
65       operator,
66       values
67     );
68   }
69
70   public void forAllDescription (
71     short operator,
72     String JavaDoc[] 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         filterValues[i]
78       );
79     }
80     forAllDescription (
81       operator,
82       arrayAsList
83     );
84   }
85
86   public void thereExistsDescription (
87     short operator,
88     String JavaDoc[] 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         filterValues[i]
94       );
95     }
96     thereExistsDescription (
97       operator,
98       arrayAsList
99     );
100   }
101
102   public void orderByDescription (
103     short order
104   ) {
105     refAddValue(
106       "org:opencrx:kernel:base:AbstractFilterProperty:description",
107       order
108     );
109   }
110       
111 // ----------------------------------------------------------------------------
112
// Filter/ImplAttributeIsNotStruct
113
// ----------------------------------------------------------------------------
114
public void forAllFilterOperator (
115     short operator,
116     java.util.Collection JavaDoc values
117   ) {
118     refAddValue(
119       "org:opencrx:kernel:base:AbstractFilterProperty:filterOperator",
120       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
121       operator,
122       values
123     );
124   }
125
126   public void thereExistsFilterOperator (
127     short operator,
128     java.util.Collection JavaDoc values
129   ) {
130     refAddValue(
131       "org:opencrx:kernel:base:AbstractFilterProperty:filterOperator",
132       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
133       operator,
134       values
135     );
136   }
137
138   public void forAllFilterOperator (
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     forAllFilterOperator (
149       operator,
150       arrayAsList
151     );
152   }
153
154   public void thereExistsFilterOperator (
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     thereExistsFilterOperator (
165       operator,
166       arrayAsList
167     );
168   }
169
170   public void orderByFilterOperator (
171     short order
172   ) {
173     refAddValue(
174       "org:opencrx:kernel:base:AbstractFilterProperty:filterOperator",
175       order
176     );
177   }
178       
179 // ----------------------------------------------------------------------------
180
// Filter/ImplAttributeIsNotStruct
181
// ----------------------------------------------------------------------------
182
public void forAllFilterQuantor (
183     short operator,
184     java.util.Collection JavaDoc values
185   ) {
186     refAddValue(
187       "org:opencrx:kernel:base:AbstractFilterProperty:filterQuantor",
188       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
189       operator,
190       values
191     );
192   }
193
194   public void thereExistsFilterQuantor (
195     short operator,
196     java.util.Collection JavaDoc values
197   ) {
198     refAddValue(
199       "org:opencrx:kernel:base:AbstractFilterProperty:filterQuantor",
200       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
201       operator,
202       values
203     );
204   }
205
206   public void forAllFilterQuantor (
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     forAllFilterQuantor (
217       operator,
218       arrayAsList
219     );
220   }
221
222   public void thereExistsFilterQuantor (
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     thereExistsFilterQuantor (
233       operator,
234       arrayAsList
235     );
236   }
237
238   public void orderByFilterQuantor (
239     short order
240   ) {
241     refAddValue(
242       "org:opencrx:kernel:base:AbstractFilterProperty:filterQuantor",
243       order
244     );
245   }
246       
247 // ----------------------------------------------------------------------------
248
// Filter/ImplAttributeIsNotStruct
249
// ----------------------------------------------------------------------------
250
public void forAllIsActive (
251     short operator,
252     java.util.Collection JavaDoc values
253   ) {
254     refAddValue(
255       "org:opencrx:kernel:base:AbstractFilterProperty:isActive",
256       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
257       operator,
258       values
259     );
260   }
261
262   public void thereExistsIsActive (
263     short operator,
264     java.util.Collection JavaDoc values
265   ) {
266     refAddValue(
267       "org:opencrx:kernel:base:AbstractFilterProperty:isActive",
268       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
269       operator,
270       values
271     );
272   }
273
274   public void forAllIsActive (
275     short operator,
276     boolean[] 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         new Boolean JavaDoc(filterValues[i])
282       );
283     }
284     forAllIsActive (
285       operator,
286       arrayAsList
287     );
288   }
289
290   public void thereExistsIsActive (
291     short operator,
292     boolean[] 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         new Boolean JavaDoc(filterValues[i])
298       );
299     }
300     thereExistsIsActive (
301       operator,
302       arrayAsList
303     );
304   }
305
306   public void orderByIsActive (
307     short order
308   ) {
309     refAddValue(
310       "org:opencrx:kernel:base:AbstractFilterProperty:isActive",
311       order
312     );
313   }
314       
315 // ----------------------------------------------------------------------------
316
// Filter/ImplAttributeIsNotStruct
317
// ----------------------------------------------------------------------------
318
public void forAllName (
319     short operator,
320     java.util.Collection JavaDoc values
321   ) {
322     refAddValue(
323       "org:opencrx:kernel:base:AbstractFilterProperty:name",
324       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
325       operator,
326       values
327     );
328   }
329
330   public void thereExistsName (
331     short operator,
332     java.util.Collection JavaDoc values
333   ) {
334     refAddValue(
335       "org:opencrx:kernel:base:AbstractFilterProperty:name",
336       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
337       operator,
338       values
339     );
340   }
341
342   public void forAllName (
343     short operator,
344     String JavaDoc[] filterValues
345   ) {
346     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
347     for(int i = 0; i < filterValues.length; i++) {
348       arrayAsList.add(
349         filterValues[i]
350       );
351     }
352     forAllName (
353       operator,
354       arrayAsList
355     );
356   }
357
358   public void thereExistsName (
359     short operator,
360     String JavaDoc[] filterValues
361   ) {
362     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
363     for(int i = 0; i < filterValues.length; i++) {
364       arrayAsList.add(
365         filterValues[i]
366       );
367     }
368     thereExistsName (
369       operator,
370       arrayAsList
371     );
372   }
373
374   public void orderByName (
375     short order
376   ) {
377     refAddValue(
378       "org:opencrx:kernel:base:AbstractFilterProperty:name",
379       order
380     );
381   }
382       
383 // ----------------------------------------------------------------------------
384
// Filter/ImplEnd
385
// ----------------------------------------------------------------------------
386
}
387
Popular Tags