KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > product1 > cci > AbstractProductPriceFilterImpl


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:52 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.product1.cci;
14
15 public class AbstractProductPriceFilterImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefFilter_1
17   implements AbstractProductPriceFilter {
18
19   public AbstractProductPriceFilterImpl(
20     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage
21   ) {
22     super(
23       aPackage,
24       "org:opencrx:kernel:product1:AbstractProductPrice",
25       null,
26       null
27     );
28   }
29
30   public AbstractProductPriceFilterImpl(
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:product1:AbstractProductPrice",
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:product1:AbstractProductPrice: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:product1:AbstractProductPrice: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:product1:AbstractProductPrice:description",
107       order
108     );
109   }
110       
111 // ----------------------------------------------------------------------------
112
// Filter/ImplAttributeIsNotStruct
113
// ----------------------------------------------------------------------------
114
public void forAllDiscount (
115     short operator,
116     java.util.Collection JavaDoc values
117   ) {
118     refAddValue(
119       "org:opencrx:kernel:product1:AbstractProductPrice:discount",
120       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
121       operator,
122       values
123     );
124   }
125
126   public void thereExistsDiscount (
127     short operator,
128     java.util.Collection JavaDoc values
129   ) {
130     refAddValue(
131       "org:opencrx:kernel:product1:AbstractProductPrice:discount",
132       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
133       operator,
134       values
135     );
136   }
137
138   public void forAllDiscount (
139     short operator,
140     java.math.BigDecimal JavaDoc[] 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         filterValues[i]
146       );
147     }
148     forAllDiscount (
149       operator,
150       arrayAsList
151     );
152   }
153
154   public void thereExistsDiscount (
155     short operator,
156     java.math.BigDecimal JavaDoc[] 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         filterValues[i]
162       );
163     }
164     thereExistsDiscount (
165       operator,
166       arrayAsList
167     );
168   }
169
170   public void orderByDiscount (
171     short order
172   ) {
173     refAddValue(
174       "org:opencrx:kernel:product1:AbstractProductPrice:discount",
175       order
176     );
177   }
178       
179 // ----------------------------------------------------------------------------
180
// Filter/ImplAttributeIsNotStruct
181
// ----------------------------------------------------------------------------
182
public void forAllDiscountIsPercentage (
183     short operator,
184     java.util.Collection JavaDoc values
185   ) {
186     refAddValue(
187       "org:opencrx:kernel:product1:AbstractProductPrice:discountIsPercentage",
188       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
189       operator,
190       values
191     );
192   }
193
194   public void thereExistsDiscountIsPercentage (
195     short operator,
196     java.util.Collection JavaDoc values
197   ) {
198     refAddValue(
199       "org:opencrx:kernel:product1:AbstractProductPrice:discountIsPercentage",
200       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
201       operator,
202       values
203     );
204   }
205
206   public void forAllDiscountIsPercentage (
207     short operator,
208     boolean[] 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 Boolean JavaDoc(filterValues[i])
214       );
215     }
216     forAllDiscountIsPercentage (
217       operator,
218       arrayAsList
219     );
220   }
221
222   public void thereExistsDiscountIsPercentage (
223     short operator,
224     boolean[] 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 Boolean JavaDoc(filterValues[i])
230       );
231     }
232     thereExistsDiscountIsPercentage (
233       operator,
234       arrayAsList
235     );
236   }
237
238   public void orderByDiscountIsPercentage (
239     short order
240   ) {
241     refAddValue(
242       "org:opencrx:kernel:product1:AbstractProductPrice:discountIsPercentage",
243       order
244     );
245   }
246       
247 // ----------------------------------------------------------------------------
248
// Filter/ImplAttributeIsNotStruct
249
// ----------------------------------------------------------------------------
250
public void forAllPrice (
251     short operator,
252     java.util.Collection JavaDoc values
253   ) {
254     refAddValue(
255       "org:opencrx:kernel:product1:AbstractProductPrice:price",
256       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
257       operator,
258       values
259     );
260   }
261
262   public void thereExistsPrice (
263     short operator,
264     java.util.Collection JavaDoc values
265   ) {
266     refAddValue(
267       "org:opencrx:kernel:product1:AbstractProductPrice:price",
268       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
269       operator,
270       values
271     );
272   }
273
274   public void forAllPrice (
275     short operator,
276     java.math.BigDecimal 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     forAllPrice (
285       operator,
286       arrayAsList
287     );
288   }
289
290   public void thereExistsPrice (
291     short operator,
292     java.math.BigDecimal 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     thereExistsPrice (
301       operator,
302       arrayAsList
303     );
304   }
305
306   public void orderByPrice (
307     short order
308   ) {
309     refAddValue(
310       "org:opencrx:kernel:product1:AbstractProductPrice:price",
311       order
312     );
313   }
314       
315 // ----------------------------------------------------------------------------
316
// Filter/ImplAttributeIsNotStruct
317
// ----------------------------------------------------------------------------
318
public void forAllPriceCurrency (
319     short operator,
320     java.util.Collection JavaDoc values
321   ) {
322     refAddValue(
323       "org:opencrx:kernel:product1:AbstractProductPrice:priceCurrency",
324       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
325       operator,
326       values
327     );
328   }
329
330   public void thereExistsPriceCurrency (
331     short operator,
332     java.util.Collection JavaDoc values
333   ) {
334     refAddValue(
335       "org:opencrx:kernel:product1:AbstractProductPrice:priceCurrency",
336       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
337       operator,
338       values
339     );
340   }
341
342   public void forAllPriceCurrency (
343     short operator,
344     short[] 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         new Short JavaDoc(filterValues[i])
350       );
351     }
352     forAllPriceCurrency (
353       operator,
354       arrayAsList
355     );
356   }
357
358   public void thereExistsPriceCurrency (
359     short operator,
360     short[] 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         new Short JavaDoc(filterValues[i])
366       );
367     }
368     thereExistsPriceCurrency (
369       operator,
370       arrayAsList
371     );
372   }
373
374   public void orderByPriceCurrency (
375     short order
376   ) {
377     refAddValue(
378       "org:opencrx:kernel:product1:AbstractProductPrice:priceCurrency",
379       order
380     );
381   }
382       
383 // ----------------------------------------------------------------------------
384
// Filter/ImplReference
385
// ----------------------------------------------------------------------------
386
public void forAllPriceLevel (
387     short operator,
388     org.opencrx.kernel.product1.cci.PriceLevel[] filterValues
389   ) {
390     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
391     for(int i = 0; i < filterValues.length; i++) {
392       arrayAsList.add(
393         filterValues[i]
394       );
395     }
396     forAllPriceLevel (
397       operator,
398       arrayAsList
399     );
400   }
401
402   public void thereExistsPriceLevel (
403     short operator,
404     org.opencrx.kernel.product1.cci.PriceLevel[] filterValues
405   ) {
406     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
407     for(int i = 0; i < filterValues.length; i++) {
408       arrayAsList.add(
409         filterValues[i]
410       );
411     }
412     thereExistsPriceLevel (
413       operator,
414       arrayAsList
415     );
416   }
417
418   public void forAllPriceLevel (
419     short operator,
420     java.util.Collection JavaDoc values
421   ) {
422     refAddValue(
423       "org:opencrx:kernel:product1:AbstractProductPrice:priceLevel",
424       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
425       operator,
426       values
427     );
428   }
429
430   public void thereExistsPriceLevel (
431     short operator,
432     java.util.Collection JavaDoc values
433   ) {
434     refAddValue(
435       "org:opencrx:kernel:product1:AbstractProductPrice:priceLevel",
436       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
437       operator,
438       values
439     );
440   }
441       
442 // ----------------------------------------------------------------------------
443
// Filter/ImplAttributeIsNotStruct
444
// ----------------------------------------------------------------------------
445
public void forAllQuantityFrom (
446     short operator,
447     java.util.Collection JavaDoc values
448   ) {
449     refAddValue(
450       "org:opencrx:kernel:product1:AbstractProductPrice:quantityFrom",
451       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
452       operator,
453       values
454     );
455   }
456
457   public void thereExistsQuantityFrom (
458     short operator,
459     java.util.Collection JavaDoc values
460   ) {
461     refAddValue(
462       "org:opencrx:kernel:product1:AbstractProductPrice:quantityFrom",
463       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
464       operator,
465       values
466     );
467   }
468
469   public void forAllQuantityFrom (
470     short operator,
471     java.math.BigDecimal JavaDoc[] filterValues
472   ) {
473     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
474     for(int i = 0; i < filterValues.length; i++) {
475       arrayAsList.add(
476         filterValues[i]
477       );
478     }
479     forAllQuantityFrom (
480       operator,
481       arrayAsList
482     );
483   }
484
485   public void thereExistsQuantityFrom (
486     short operator,
487     java.math.BigDecimal JavaDoc[] filterValues
488   ) {
489     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
490     for(int i = 0; i < filterValues.length; i++) {
491       arrayAsList.add(
492         filterValues[i]
493       );
494     }
495     thereExistsQuantityFrom (
496       operator,
497       arrayAsList
498     );
499   }
500
501   public void orderByQuantityFrom (
502     short order
503   ) {
504     refAddValue(
505       "org:opencrx:kernel:product1:AbstractProductPrice:quantityFrom",
506       order
507     );
508   }
509       
510 // ----------------------------------------------------------------------------
511
// Filter/ImplAttributeIsNotStruct
512
// ----------------------------------------------------------------------------
513
public void forAllQuantityTo (
514     short operator,
515     java.util.Collection JavaDoc values
516   ) {
517     refAddValue(
518       "org:opencrx:kernel:product1:AbstractProductPrice:quantityTo",
519       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
520       operator,
521       values
522     );
523   }
524
525   public void thereExistsQuantityTo (
526     short operator,
527     java.util.Collection JavaDoc values
528   ) {
529     refAddValue(
530       "org:opencrx:kernel:product1:AbstractProductPrice:quantityTo",
531       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
532       operator,
533       values
534     );
535   }
536
537   public void forAllQuantityTo (
538     short operator,
539     java.math.BigDecimal JavaDoc[] filterValues
540   ) {
541     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
542     for(int i = 0; i < filterValues.length; i++) {
543       arrayAsList.add(
544         filterValues[i]
545       );
546     }
547     forAllQuantityTo (
548       operator,
549       arrayAsList
550     );
551   }
552
553   public void thereExistsQuantityTo (
554     short operator,
555     java.math.BigDecimal JavaDoc[] filterValues
556   ) {
557     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
558     for(int i = 0; i < filterValues.length; i++) {
559       arrayAsList.add(
560         filterValues[i]
561       );
562     }
563     thereExistsQuantityTo (
564       operator,
565       arrayAsList
566     );
567   }
568
569   public void orderByQuantityTo (
570     short order
571   ) {
572     refAddValue(
573       "org:opencrx:kernel:product1:AbstractProductPrice:quantityTo",
574       order
575     );
576   }
577       
578 // ----------------------------------------------------------------------------
579
// Filter/ImplReference
580
// ----------------------------------------------------------------------------
581
public void forAllUom (
582     short operator,
583     org.opencrx.kernel.uom1.cci.Uom[] filterValues
584   ) {
585     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
586     for(int i = 0; i < filterValues.length; i++) {
587       arrayAsList.add(
588         filterValues[i]
589       );
590     }
591     forAllUom (
592       operator,
593       arrayAsList
594     );
595   }
596
597   public void thereExistsUom (
598     short operator,
599     org.opencrx.kernel.uom1.cci.Uom[] filterValues
600   ) {
601     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
602     for(int i = 0; i < filterValues.length; i++) {
603       arrayAsList.add(
604         filterValues[i]
605       );
606     }
607     thereExistsUom (
608       operator,
609       arrayAsList
610     );
611   }
612
613   public void forAllUom (
614     short operator,
615     java.util.Collection JavaDoc values
616   ) {
617     refAddValue(
618       "org:opencrx:kernel:product1:AbstractProductPrice:uom",
619       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
620       operator,
621       values
622     );
623   }
624
625   public void thereExistsUom (
626     short operator,
627     java.util.Collection JavaDoc values
628   ) {
629     refAddValue(
630       "org:opencrx:kernel:product1:AbstractProductPrice:uom",
631       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
632       operator,
633       values
634     );
635   }
636       
637 // ----------------------------------------------------------------------------
638
// Filter/ImplAttributeIsNotStruct
639
// ----------------------------------------------------------------------------
640
public void forAllUsage (
641     short operator,
642     java.util.Collection JavaDoc values
643   ) {
644     refAddValue(
645       "org:opencrx:kernel:product1:AbstractProductPrice:usage",
646       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
647       operator,
648       values
649     );
650   }
651
652   public void thereExistsUsage (
653     short operator,
654     java.util.Collection JavaDoc values
655   ) {
656     refAddValue(
657       "org:opencrx:kernel:product1:AbstractProductPrice:usage",
658       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
659       operator,
660       values
661     );
662   }
663
664   public void forAllUsage (
665     short operator,
666     short[] filterValues
667   ) {
668     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
669     for(int i = 0; i < filterValues.length; i++) {
670       arrayAsList.add(
671         new Short JavaDoc(filterValues[i])
672       );
673     }
674     forAllUsage (
675       operator,
676       arrayAsList
677     );
678   }
679
680   public void thereExistsUsage (
681     short operator,
682     short[] filterValues
683   ) {
684     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
685     for(int i = 0; i < filterValues.length; i++) {
686       arrayAsList.add(
687         new Short JavaDoc(filterValues[i])
688       );
689     }
690     thereExistsUsage (
691       operator,
692       arrayAsList
693     );
694   }
695
696   public void orderByUsage (
697     short order
698   ) {
699     refAddValue(
700       "org:opencrx:kernel:product1:AbstractProductPrice:usage",
701       order
702     );
703   }
704       
705 // ----------------------------------------------------------------------------
706
// Filter/ImplEnd
707
// ----------------------------------------------------------------------------
708
}
709
Popular Tags