KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > contract1 > cci > ShippingDetailFilterImpl


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:39:01 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.contract1.cci;
14
15 public class ShippingDetailFilterImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefFilter_1
17   implements ShippingDetailFilter {
18
19   public ShippingDetailFilterImpl(
20     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage
21   ) {
22     super(
23       aPackage,
24       "org:opencrx:kernel:contract1:ShippingDetail",
25       null,
26       null
27     );
28   }
29
30   public ShippingDetailFilterImpl(
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:contract1:ShippingDetail",
38       filterProperties,
39       attributeSpecifiers
40     );
41   }
42       
43 // ----------------------------------------------------------------------------
44
// Filter/ImplReference
45
// ----------------------------------------------------------------------------
46
public void forAllCarrier (
47     short operator,
48     org.opencrx.kernel.account1.cci.Account[] filterValues
49   ) {
50     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
51     for(int i = 0; i < filterValues.length; i++) {
52       arrayAsList.add(
53         filterValues[i]
54       );
55     }
56     forAllCarrier (
57       operator,
58       arrayAsList
59     );
60   }
61
62   public void thereExistsCarrier (
63     short operator,
64     org.opencrx.kernel.account1.cci.Account[] filterValues
65   ) {
66     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
67     for(int i = 0; i < filterValues.length; i++) {
68       arrayAsList.add(
69         filterValues[i]
70       );
71     }
72     thereExistsCarrier (
73       operator,
74       arrayAsList
75     );
76   }
77
78   public void forAllCarrier (
79     short operator,
80     java.util.Collection JavaDoc values
81   ) {
82     refAddValue(
83       "org:opencrx:kernel:contract1:ShippingDetail:carrier",
84       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
85       operator,
86       values
87     );
88   }
89
90   public void thereExistsCarrier (
91     short operator,
92     java.util.Collection JavaDoc values
93   ) {
94     refAddValue(
95       "org:opencrx:kernel:contract1:ShippingDetail:carrier",
96       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
97       operator,
98       values
99     );
100   }
101       
102 // ----------------------------------------------------------------------------
103
// Filter/ImplAttributeIsNotStruct
104
// ----------------------------------------------------------------------------
105
public void forAllGiftMessage (
106     short operator,
107     java.util.Collection JavaDoc values
108   ) {
109     refAddValue(
110       "org:opencrx:kernel:contract1:ShippingDetail:giftMessage",
111       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
112       operator,
113       values
114     );
115   }
116
117   public void thereExistsGiftMessage (
118     short operator,
119     java.util.Collection JavaDoc values
120   ) {
121     refAddValue(
122       "org:opencrx:kernel:contract1:ShippingDetail:giftMessage",
123       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
124       operator,
125       values
126     );
127   }
128
129   public void forAllGiftMessage (
130     short operator,
131     String JavaDoc[] filterValues
132   ) {
133     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
134     for(int i = 0; i < filterValues.length; i++) {
135       arrayAsList.add(
136         filterValues[i]
137       );
138     }
139     forAllGiftMessage (
140       operator,
141       arrayAsList
142     );
143   }
144
145   public void thereExistsGiftMessage (
146     short operator,
147     String JavaDoc[] filterValues
148   ) {
149     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
150     for(int i = 0; i < filterValues.length; i++) {
151       arrayAsList.add(
152         filterValues[i]
153       );
154     }
155     thereExistsGiftMessage (
156       operator,
157       arrayAsList
158     );
159   }
160
161   public void orderByGiftMessage (
162     short order
163   ) {
164     refAddValue(
165       "org:opencrx:kernel:contract1:ShippingDetail:giftMessage",
166       order
167     );
168   }
169       
170 // ----------------------------------------------------------------------------
171
// Filter/ImplAttributeIsNotStruct
172
// ----------------------------------------------------------------------------
173
public void forAllIsGift (
174     short operator,
175     java.util.Collection JavaDoc values
176   ) {
177     refAddValue(
178       "org:opencrx:kernel:contract1:ShippingDetail:isGift",
179       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
180       operator,
181       values
182     );
183   }
184
185   public void thereExistsIsGift (
186     short operator,
187     java.util.Collection JavaDoc values
188   ) {
189     refAddValue(
190       "org:opencrx:kernel:contract1:ShippingDetail:isGift",
191       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
192       operator,
193       values
194     );
195   }
196
197   public void forAllIsGift (
198     short operator,
199     boolean[] filterValues
200   ) {
201     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
202     for(int i = 0; i < filterValues.length; i++) {
203       arrayAsList.add(
204         new Boolean JavaDoc(filterValues[i])
205       );
206     }
207     forAllIsGift (
208       operator,
209       arrayAsList
210     );
211   }
212
213   public void thereExistsIsGift (
214     short operator,
215     boolean[] filterValues
216   ) {
217     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
218     for(int i = 0; i < filterValues.length; i++) {
219       arrayAsList.add(
220         new Boolean JavaDoc(filterValues[i])
221       );
222     }
223     thereExistsIsGift (
224       operator,
225       arrayAsList
226     );
227   }
228
229   public void orderByIsGift (
230     short order
231   ) {
232     refAddValue(
233       "org:opencrx:kernel:contract1:ShippingDetail:isGift",
234       order
235     );
236   }
237       
238 // ----------------------------------------------------------------------------
239
// Filter/ImplAttributeIsNotStruct
240
// ----------------------------------------------------------------------------
241
public void forAllShippingInstructions (
242     short operator,
243     java.util.Collection JavaDoc values
244   ) {
245     refAddValue(
246       "org:opencrx:kernel:contract1:ShippingDetail:shippingInstructions",
247       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
248       operator,
249       values
250     );
251   }
252
253   public void thereExistsShippingInstructions (
254     short operator,
255     java.util.Collection JavaDoc values
256   ) {
257     refAddValue(
258       "org:opencrx:kernel:contract1:ShippingDetail:shippingInstructions",
259       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
260       operator,
261       values
262     );
263   }
264
265   public void forAllShippingInstructions (
266     short operator,
267     String JavaDoc[] filterValues
268   ) {
269     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
270     for(int i = 0; i < filterValues.length; i++) {
271       arrayAsList.add(
272         filterValues[i]
273       );
274     }
275     forAllShippingInstructions (
276       operator,
277       arrayAsList
278     );
279   }
280
281   public void thereExistsShippingInstructions (
282     short operator,
283     String JavaDoc[] filterValues
284   ) {
285     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
286     for(int i = 0; i < filterValues.length; i++) {
287       arrayAsList.add(
288         filterValues[i]
289       );
290     }
291     thereExistsShippingInstructions (
292       operator,
293       arrayAsList
294     );
295   }
296
297   public void orderByShippingInstructions (
298     short order
299   ) {
300     refAddValue(
301       "org:opencrx:kernel:contract1:ShippingDetail:shippingInstructions",
302       order
303     );
304   }
305       
306 // ----------------------------------------------------------------------------
307
// Filter/ImplAttributeIsNotStruct
308
// ----------------------------------------------------------------------------
309
public void forAllShippingMethod (
310     short operator,
311     java.util.Collection JavaDoc values
312   ) {
313     refAddValue(
314       "org:opencrx:kernel:contract1:ShippingDetail:shippingMethod",
315       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
316       operator,
317       values
318     );
319   }
320
321   public void thereExistsShippingMethod (
322     short operator,
323     java.util.Collection JavaDoc values
324   ) {
325     refAddValue(
326       "org:opencrx:kernel:contract1:ShippingDetail:shippingMethod",
327       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
328       operator,
329       values
330     );
331   }
332
333   public void forAllShippingMethod (
334     short operator,
335     short[] filterValues
336   ) {
337     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
338     for(int i = 0; i < filterValues.length; i++) {
339       arrayAsList.add(
340         new Short JavaDoc(filterValues[i])
341       );
342     }
343     forAllShippingMethod (
344       operator,
345       arrayAsList
346     );
347   }
348
349   public void thereExistsShippingMethod (
350     short operator,
351     short[] filterValues
352   ) {
353     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
354     for(int i = 0; i < filterValues.length; i++) {
355       arrayAsList.add(
356         new Short JavaDoc(filterValues[i])
357       );
358     }
359     thereExistsShippingMethod (
360       operator,
361       arrayAsList
362     );
363   }
364
365   public void orderByShippingMethod (
366     short order
367   ) {
368     refAddValue(
369       "org:opencrx:kernel:contract1:ShippingDetail:shippingMethod",
370       order
371     );
372   }
373       
374 // ----------------------------------------------------------------------------
375
// Filter/ImplAttributeIsNotStruct
376
// ----------------------------------------------------------------------------
377
public void forAllShippingTrackingNumber (
378     short operator,
379     java.util.Collection JavaDoc values
380   ) {
381     refAddValue(
382       "org:opencrx:kernel:contract1:ShippingDetail:shippingTrackingNumber",
383       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
384       operator,
385       values
386     );
387   }
388
389   public void thereExistsShippingTrackingNumber (
390     short operator,
391     java.util.Collection JavaDoc values
392   ) {
393     refAddValue(
394       "org:opencrx:kernel:contract1:ShippingDetail:shippingTrackingNumber",
395       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
396       operator,
397       values
398     );
399   }
400
401   public void forAllShippingTrackingNumber (
402     short operator,
403     String JavaDoc[] filterValues
404   ) {
405     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
406     for(int i = 0; i < filterValues.length; i++) {
407       arrayAsList.add(
408         filterValues[i]
409       );
410     }
411     forAllShippingTrackingNumber (
412       operator,
413       arrayAsList
414     );
415   }
416
417   public void thereExistsShippingTrackingNumber (
418     short operator,
419     String JavaDoc[] filterValues
420   ) {
421     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
422     for(int i = 0; i < filterValues.length; i++) {
423       arrayAsList.add(
424         filterValues[i]
425       );
426     }
427     thereExistsShippingTrackingNumber (
428       operator,
429       arrayAsList
430     );
431   }
432
433   public void orderByShippingTrackingNumber (
434     short order
435   ) {
436     refAddValue(
437       "org:opencrx:kernel:contract1:ShippingDetail:shippingTrackingNumber",
438       order
439     );
440   }
441       
442 // ----------------------------------------------------------------------------
443
// Filter/ImplEnd
444
// ----------------------------------------------------------------------------
445
}
446
Popular Tags