KickJava   Java API By Example, From Geeks To Geeks.

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


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 ProductInUseDescriptorFilterImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefFilter_1
17   implements ProductInUseDescriptorFilter {
18
19   public ProductInUseDescriptorFilterImpl(
20     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage
21   ) {
22     super(
23       aPackage,
24       "org:opencrx:kernel:product1:ProductInUseDescriptor",
25       null,
26       null
27     );
28   }
29
30   public ProductInUseDescriptorFilterImpl(
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:ProductInUseDescriptor",
38       filterProperties,
39       attributeSpecifiers
40     );
41   }
42       
43 // ----------------------------------------------------------------------------
44
// Filter/ImplReference
45
// ----------------------------------------------------------------------------
46
public void forAllConfigType (
47     short operator,
48     org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet[] 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     forAllConfigType (
57       operator,
58       arrayAsList
59     );
60   }
61
62   public void thereExistsConfigType (
63     short operator,
64     org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet[] 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     thereExistsConfigType (
73       operator,
74       arrayAsList
75     );
76   }
77
78   public void forAllConfigType (
79     short operator,
80     java.util.Collection JavaDoc values
81   ) {
82     refAddValue(
83       "org:opencrx:kernel:product1:ProductConfigurationSet:configType",
84       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
85       operator,
86       values
87     );
88   }
89
90   public void thereExistsConfigType (
91     short operator,
92     java.util.Collection JavaDoc values
93   ) {
94     refAddValue(
95       "org:opencrx:kernel:product1:ProductConfigurationSet:configType",
96       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
97       operator,
98       values
99     );
100   }
101       
102 // ----------------------------------------------------------------------------
103
// Filter/ImplReference
104
// ----------------------------------------------------------------------------
105
public void forAllProduct (
106     short operator,
107     org.opencrx.kernel.product1.cci.Product[] filterValues
108   ) {
109     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
110     for(int i = 0; i < filterValues.length; i++) {
111       arrayAsList.add(
112         filterValues[i]
113       );
114     }
115     forAllProduct (
116       operator,
117       arrayAsList
118     );
119   }
120
121   public void thereExistsProduct (
122     short operator,
123     org.opencrx.kernel.product1.cci.Product[] filterValues
124   ) {
125     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
126     for(int i = 0; i < filterValues.length; i++) {
127       arrayAsList.add(
128         filterValues[i]
129       );
130     }
131     thereExistsProduct (
132       operator,
133       arrayAsList
134     );
135   }
136
137   public void forAllProduct (
138     short operator,
139     java.util.Collection JavaDoc values
140   ) {
141     refAddValue(
142       "org:opencrx:kernel:product1:ProductDescriptor:product",
143       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
144       operator,
145       values
146     );
147   }
148
149   public void thereExistsProduct (
150     short operator,
151     java.util.Collection JavaDoc values
152   ) {
153     refAddValue(
154       "org:opencrx:kernel:product1:ProductDescriptor:product",
155       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
156       operator,
157       values
158     );
159   }
160       
161 // ----------------------------------------------------------------------------
162
// Filter/ImplReference
163
// ----------------------------------------------------------------------------
164
public void forAllCurrentConfig (
165     short operator,
166     org.opencrx.kernel.product1.cci.ProductConfiguration[] filterValues
167   ) {
168     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
169     for(int i = 0; i < filterValues.length; i++) {
170       arrayAsList.add(
171         filterValues[i]
172       );
173     }
174     forAllCurrentConfig (
175       operator,
176       arrayAsList
177     );
178   }
179
180   public void thereExistsCurrentConfig (
181     short operator,
182     org.opencrx.kernel.product1.cci.ProductConfiguration[] filterValues
183   ) {
184     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
185     for(int i = 0; i < filterValues.length; i++) {
186       arrayAsList.add(
187         filterValues[i]
188       );
189     }
190     thereExistsCurrentConfig (
191       operator,
192       arrayAsList
193     );
194   }
195
196   public void forAllCurrentConfig (
197     short operator,
198     java.util.Collection JavaDoc values
199   ) {
200     refAddValue(
201       "org:opencrx:kernel:product1:ProductInUseDescriptor:currentConfig",
202       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
203       operator,
204       values
205     );
206   }
207
208   public void thereExistsCurrentConfig (
209     short operator,
210     java.util.Collection JavaDoc values
211   ) {
212     refAddValue(
213       "org:opencrx:kernel:product1:ProductInUseDescriptor:currentConfig",
214       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
215       operator,
216       values
217     );
218   }
219       
220 // ----------------------------------------------------------------------------
221
// Filter/ImplAttributeIsNotStruct
222
// ----------------------------------------------------------------------------
223
public void forAllProductSerialNumber (
224     short operator,
225     java.util.Collection JavaDoc values
226   ) {
227     refAddValue(
228       "org:opencrx:kernel:product1:ProductInUseDescriptor:productSerialNumber",
229       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
230       operator,
231       values
232     );
233   }
234
235   public void thereExistsProductSerialNumber (
236     short operator,
237     java.util.Collection JavaDoc values
238   ) {
239     refAddValue(
240       "org:opencrx:kernel:product1:ProductInUseDescriptor:productSerialNumber",
241       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
242       operator,
243       values
244     );
245   }
246
247   public void forAllProductSerialNumber (
248     short operator,
249     String JavaDoc[] filterValues
250   ) {
251     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
252     for(int i = 0; i < filterValues.length; i++) {
253       arrayAsList.add(
254         filterValues[i]
255       );
256     }
257     forAllProductSerialNumber (
258       operator,
259       arrayAsList
260     );
261   }
262
263   public void thereExistsProductSerialNumber (
264     short operator,
265     String JavaDoc[] filterValues
266   ) {
267     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
268     for(int i = 0; i < filterValues.length; i++) {
269       arrayAsList.add(
270         filterValues[i]
271       );
272     }
273     thereExistsProductSerialNumber (
274       operator,
275       arrayAsList
276     );
277   }
278
279   public void orderByProductSerialNumber (
280     short order
281   ) {
282     refAddValue(
283       "org:opencrx:kernel:product1:ProductInUseDescriptor:productSerialNumber",
284       order
285     );
286   }
287       
288 // ----------------------------------------------------------------------------
289
// Filter/ImplEnd
290
// ----------------------------------------------------------------------------
291
}
292
Popular Tags