KickJava   Java API By Example, From Geeks To Geeks.

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


1 // ----------------------------------------------------------------------------
2
// ClassProxy/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:51 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.product1.cci;
14
15 public class ProductOfferingClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements ProductOfferingClass {
18
19   public ProductOfferingClassImpl(
20     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage
21   ) {
22     super(refPackage);
23   }
24
25   public String JavaDoc refMofId(
26   ) {
27     return "org:opencrx:kernel:product1:ProductOffering";
28   }
29
30   public ProductOffering getProductOffering(
31     Object JavaDoc object
32   ) {
33     try {
34       if(object instanceof org.openmdx.base.accessor.jmi.cci.RefObject_1_0) {
35         java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
36         args.add(object);
37         ProductOffering target = (ProductOffering)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (ProductOffering)((org.openmdx.base.accessor.jmi.cci.RefPackage_1_0)this.refOutermostPackage()).refObject(
43           object instanceof org.openmdx.compatibility.base.naming.Path
44             ? ((org.openmdx.compatibility.base.naming.Path)object).toXri()
45             : ((org.openmdx.base.accessor.generic.cci.Object_1_0)object).objGetPath().toXri()
46         );
47       }
48     }
49     catch(org.openmdx.base.exception.ServiceException e) {
50         throw new org.openmdx.base.accessor.jmi.cci.JmiServiceException(e);
51     }
52   }
53
54   public ProductOffering createProductOffering(
55   ) {
56     ProductOffering target = (ProductOffering)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public ProductOffering createProductOffering(
65       short accessLevelBrowse
66     , short accessLevelDelete
67     , short accessLevelUpdate
68     , boolean disabled
69     , String JavaDoc name
70     , String JavaDoc productNumber
71     , short productState
72     , short productType
73     , int itemNumber
74     , short minMaxQuantityHandling
75   ) {
76     ProductOfferingImpl _object = (ProductOfferingImpl)createProductOffering();
77     _object.setAccessLevelBrowse(accessLevelBrowse);
78     _object.setAccessLevelDelete(accessLevelDelete);
79     _object.setAccessLevelUpdate(accessLevelUpdate);
80     _object.setDisabled(disabled);
81     _object.setName(name);
82     _object.setProductNumber(productNumber);
83     _object.setProductState(productState);
84     _object.setProductType(productType);
85     _object.setItemNumber(itemNumber);
86     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
87     return _object;
88   }
89
90 // ----------------------------------------------------------------------------
91
// ClassProxy/ImplInstanceExtenderRequiredAttributes
92
// ----------------------------------------------------------------------------
93
public ProductOffering extendAuditee(
94       org.opencrx.kernel.base.cci.Auditee _base
95     , short accessLevelBrowse
96     , short accessLevelDelete
97     , short accessLevelUpdate
98     , boolean disabled
99     , String JavaDoc name
100     , String JavaDoc productNumber
101     , short productState
102     , short productType
103     , int itemNumber
104     , short minMaxQuantityHandling
105   ) {
106     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
107     _object.setAccessLevelBrowse(accessLevelBrowse);
108     _object.setAccessLevelDelete(accessLevelDelete);
109     _object.setAccessLevelUpdate(accessLevelUpdate);
110     _object.setDisabled(disabled);
111     _object.setName(name);
112     _object.setProductNumber(productNumber);
113     _object.setProductState(productState);
114     _object.setProductType(productType);
115     _object.setItemNumber(itemNumber);
116     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
117     return _object;
118   }
119
120 // ----------------------------------------------------------------------------
121
// ClassProxy/ImplInstanceExtenderRequiredAttributes
122
// ----------------------------------------------------------------------------
123
public ProductOffering extendBookmarkable(
124       org.opencrx.kernel.base.cci.Bookmarkable _base
125     , short accessLevelBrowse
126     , short accessLevelDelete
127     , short accessLevelUpdate
128     , boolean disabled
129     , String JavaDoc name
130     , String JavaDoc productNumber
131     , short productState
132     , short productType
133     , int itemNumber
134     , short minMaxQuantityHandling
135   ) {
136     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
137     _object.setAccessLevelBrowse(accessLevelBrowse);
138     _object.setAccessLevelDelete(accessLevelDelete);
139     _object.setAccessLevelUpdate(accessLevelUpdate);
140     _object.setDisabled(disabled);
141     _object.setName(name);
142     _object.setProductNumber(productNumber);
143     _object.setProductState(productState);
144     _object.setProductType(productType);
145     _object.setItemNumber(itemNumber);
146     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
147     return _object;
148   }
149
150 // ----------------------------------------------------------------------------
151
// ClassProxy/ImplInstanceExtenderRequiredAttributes
152
// ----------------------------------------------------------------------------
153
public ProductOffering extendCloneable(
154       org.opencrx.kernel.base.cci.Cloneable _base
155     , short accessLevelBrowse
156     , short accessLevelDelete
157     , short accessLevelUpdate
158     , boolean disabled
159     , String JavaDoc name
160     , String JavaDoc productNumber
161     , short productState
162     , short productType
163     , int itemNumber
164     , short minMaxQuantityHandling
165   ) {
166     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
167     _object.setAccessLevelBrowse(accessLevelBrowse);
168     _object.setAccessLevelDelete(accessLevelDelete);
169     _object.setAccessLevelUpdate(accessLevelUpdate);
170     _object.setDisabled(disabled);
171     _object.setName(name);
172     _object.setProductNumber(productNumber);
173     _object.setProductState(productState);
174     _object.setProductType(productType);
175     _object.setItemNumber(itemNumber);
176     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
177     return _object;
178   }
179
180 // ----------------------------------------------------------------------------
181
// ClassProxy/ImplInstanceExtenderRequiredAttributes
182
// ----------------------------------------------------------------------------
183
public ProductOffering extendImporter(
184       org.opencrx.kernel.base.cci.Importer _base
185     , short accessLevelBrowse
186     , short accessLevelDelete
187     , short accessLevelUpdate
188     , boolean disabled
189     , String JavaDoc name
190     , String JavaDoc productNumber
191     , short productState
192     , short productType
193     , int itemNumber
194     , short minMaxQuantityHandling
195   ) {
196     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
197     _object.setAccessLevelBrowse(accessLevelBrowse);
198     _object.setAccessLevelDelete(accessLevelDelete);
199     _object.setAccessLevelUpdate(accessLevelUpdate);
200     _object.setDisabled(disabled);
201     _object.setName(name);
202     _object.setProductNumber(productNumber);
203     _object.setProductState(productState);
204     _object.setProductType(productType);
205     _object.setItemNumber(itemNumber);
206     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
207     return _object;
208   }
209
210 // ----------------------------------------------------------------------------
211
// ClassProxy/ImplInstanceExtenderRequiredAttributes
212
// ----------------------------------------------------------------------------
213
public ProductOffering extendSecureObject(
214       org.opencrx.kernel.base.cci.SecureObject _base
215     , boolean disabled
216     , String JavaDoc name
217     , String JavaDoc productNumber
218     , short productState
219     , short productType
220     , int itemNumber
221     , short minMaxQuantityHandling
222   ) {
223     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
224     _object.setDisabled(disabled);
225     _object.setName(name);
226     _object.setProductNumber(productNumber);
227     _object.setProductState(productState);
228     _object.setProductType(productType);
229     _object.setItemNumber(itemNumber);
230     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
231     return _object;
232   }
233
234 // ----------------------------------------------------------------------------
235
// ClassProxy/ImplInstanceExtenderRequiredAttributes
236
// ----------------------------------------------------------------------------
237
public ProductOffering extendSubscriptionTarget(
238       org.opencrx.kernel.base.cci.SubscriptionTarget _base
239     , short accessLevelBrowse
240     , short accessLevelDelete
241     , short accessLevelUpdate
242     , boolean disabled
243     , String JavaDoc name
244     , String JavaDoc productNumber
245     , short productState
246     , short productType
247     , int itemNumber
248     , short minMaxQuantityHandling
249   ) {
250     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
251     _object.setAccessLevelBrowse(accessLevelBrowse);
252     _object.setAccessLevelDelete(accessLevelDelete);
253     _object.setAccessLevelUpdate(accessLevelUpdate);
254     _object.setDisabled(disabled);
255     _object.setName(name);
256     _object.setProductNumber(productNumber);
257     _object.setProductState(productState);
258     _object.setProductType(productType);
259     _object.setItemNumber(itemNumber);
260     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
261     return _object;
262   }
263
264 // ----------------------------------------------------------------------------
265
// ClassProxy/ImplInstanceExtenderRequiredAttributes
266
// ----------------------------------------------------------------------------
267
public ProductOffering extendXmlExporter(
268       org.opencrx.kernel.base.cci.XmlExporter _base
269     , short accessLevelBrowse
270     , short accessLevelDelete
271     , short accessLevelUpdate
272     , boolean disabled
273     , String JavaDoc name
274     , String JavaDoc productNumber
275     , short productState
276     , short productType
277     , int itemNumber
278     , short minMaxQuantityHandling
279   ) {
280     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
281     _object.setAccessLevelBrowse(accessLevelBrowse);
282     _object.setAccessLevelDelete(accessLevelDelete);
283     _object.setAccessLevelUpdate(accessLevelUpdate);
284     _object.setDisabled(disabled);
285     _object.setName(name);
286     _object.setProductNumber(productNumber);
287     _object.setProductState(productState);
288     _object.setProductType(productType);
289     _object.setItemNumber(itemNumber);
290     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
291     return _object;
292   }
293
294 // ----------------------------------------------------------------------------
295
// ClassProxy/ImplInstanceExtenderRequiredAttributes
296
// ----------------------------------------------------------------------------
297
public ProductOffering extendDepotReferenceHolder(
298       org.opencrx.kernel.depot1.cci.DepotReferenceHolder _base
299     , short accessLevelBrowse
300     , short accessLevelDelete
301     , short accessLevelUpdate
302     , boolean disabled
303     , String JavaDoc name
304     , String JavaDoc productNumber
305     , short productState
306     , short productType
307     , int itemNumber
308     , short minMaxQuantityHandling
309   ) {
310     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
311     _object.setAccessLevelBrowse(accessLevelBrowse);
312     _object.setAccessLevelDelete(accessLevelDelete);
313     _object.setAccessLevelUpdate(accessLevelUpdate);
314     _object.setDisabled(disabled);
315     _object.setName(name);
316     _object.setProductNumber(productNumber);
317     _object.setProductState(productState);
318     _object.setProductType(productType);
319     _object.setItemNumber(itemNumber);
320     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
321     return _object;
322   }
323
324 // ----------------------------------------------------------------------------
325
// ClassProxy/ImplInstanceExtenderRequiredAttributes
326
// ----------------------------------------------------------------------------
327
public ProductOffering extendCrxObject(
328       org.opencrx.kernel.generic.cci.CrxObject _base
329     , String JavaDoc name
330     , String JavaDoc productNumber
331     , short productState
332     , short productType
333     , int itemNumber
334     , short minMaxQuantityHandling
335   ) {
336     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
337     _object.setName(name);
338     _object.setProductNumber(productNumber);
339     _object.setProductState(productState);
340     _object.setProductType(productType);
341     _object.setItemNumber(itemNumber);
342     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
343     return _object;
344   }
345
346 // ----------------------------------------------------------------------------
347
// ClassProxy/ImplInstanceExtenderRequiredAttributes
348
// ----------------------------------------------------------------------------
349
public ProductOffering extendAbstractProduct(
350       org.opencrx.kernel.product1.cci.AbstractProduct _base
351     , int itemNumber
352     , short minMaxQuantityHandling
353   ) {
354     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
355     _object.setItemNumber(itemNumber);
356     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
357     return _object;
358   }
359
360 // ----------------------------------------------------------------------------
361
// ClassProxy/ImplInstanceExtenderRequiredAttributes
362
// ----------------------------------------------------------------------------
363
public ProductOffering extendContractPositionConstrained(
364       org.opencrx.kernel.product1.cci.ContractPositionConstrained _base
365     , short accessLevelBrowse
366     , short accessLevelDelete
367     , short accessLevelUpdate
368     , boolean disabled
369     , String JavaDoc name
370     , String JavaDoc productNumber
371     , short productState
372     , short productType
373   ) {
374     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
375     _object.setAccessLevelBrowse(accessLevelBrowse);
376     _object.setAccessLevelDelete(accessLevelDelete);
377     _object.setAccessLevelUpdate(accessLevelUpdate);
378     _object.setDisabled(disabled);
379     _object.setName(name);
380     _object.setProductNumber(productNumber);
381     _object.setProductState(productState);
382     _object.setProductType(productType);
383     return _object;
384   }
385
386 // ----------------------------------------------------------------------------
387
// ClassProxy/ImplInstanceExtenderRequiredAttributes
388
// ----------------------------------------------------------------------------
389
public ProductOffering extendPriceOverrideEnabled(
390       org.opencrx.kernel.product1.cci.PriceOverrideEnabled _base
391     , short accessLevelBrowse
392     , short accessLevelDelete
393     , short accessLevelUpdate
394     , boolean disabled
395     , String JavaDoc name
396     , String JavaDoc productNumber
397     , short productState
398     , short productType
399     , int itemNumber
400     , short minMaxQuantityHandling
401   ) {
402     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
403     _object.setAccessLevelBrowse(accessLevelBrowse);
404     _object.setAccessLevelDelete(accessLevelDelete);
405     _object.setAccessLevelUpdate(accessLevelUpdate);
406     _object.setDisabled(disabled);
407     _object.setName(name);
408     _object.setProductNumber(productNumber);
409     _object.setProductState(productState);
410     _object.setProductType(productType);
411     _object.setItemNumber(itemNumber);
412     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
413     return _object;
414   }
415
416 // ----------------------------------------------------------------------------
417
// ClassProxy/ImplInstanceExtenderRequiredAttributes
418
// ----------------------------------------------------------------------------
419
public ProductOffering extendBasicObject(
420       org.openmdx.base.cci.BasicObject _base
421     , short accessLevelBrowse
422     , short accessLevelDelete
423     , short accessLevelUpdate
424     , boolean disabled
425     , String JavaDoc name
426     , String JavaDoc productNumber
427     , short productState
428     , short productType
429     , int itemNumber
430     , short minMaxQuantityHandling
431   ) {
432     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
433     _object.setAccessLevelBrowse(accessLevelBrowse);
434     _object.setAccessLevelDelete(accessLevelDelete);
435     _object.setAccessLevelUpdate(accessLevelUpdate);
436     _object.setDisabled(disabled);
437     _object.setName(name);
438     _object.setProductNumber(productNumber);
439     _object.setProductState(productState);
440     _object.setProductType(productType);
441     _object.setItemNumber(itemNumber);
442     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
443     return _object;
444   }
445
446 // ----------------------------------------------------------------------------
447
// ClassProxy/ImplInstanceExtenderRequiredAttributes
448
// ----------------------------------------------------------------------------
449
public ProductOffering extendContextCapable(
450       org.openmdx.base.cci.ContextCapable _base
451     , short accessLevelBrowse
452     , short accessLevelDelete
453     , short accessLevelUpdate
454     , boolean disabled
455     , String JavaDoc name
456     , String JavaDoc productNumber
457     , short productState
458     , short productType
459     , int itemNumber
460     , short minMaxQuantityHandling
461   ) {
462     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
463     _object.setAccessLevelBrowse(accessLevelBrowse);
464     _object.setAccessLevelDelete(accessLevelDelete);
465     _object.setAccessLevelUpdate(accessLevelUpdate);
466     _object.setDisabled(disabled);
467     _object.setName(name);
468     _object.setProductNumber(productNumber);
469     _object.setProductState(productState);
470     _object.setProductType(productType);
471     _object.setItemNumber(itemNumber);
472     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
473     return _object;
474   }
475
476 // ----------------------------------------------------------------------------
477
// ClassProxy/ImplInstanceExtenderRequiredAttributes
478
// ----------------------------------------------------------------------------
479
public ProductOffering extendExtentCapable(
480       org.openmdx.base.cci.ExtentCapable _base
481     , short accessLevelBrowse
482     , short accessLevelDelete
483     , short accessLevelUpdate
484     , boolean disabled
485     , String JavaDoc name
486     , String JavaDoc productNumber
487     , short productState
488     , short productType
489     , int itemNumber
490     , short minMaxQuantityHandling
491   ) {
492     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
493     _object.setAccessLevelBrowse(accessLevelBrowse);
494     _object.setAccessLevelDelete(accessLevelDelete);
495     _object.setAccessLevelUpdate(accessLevelUpdate);
496     _object.setDisabled(disabled);
497     _object.setName(name);
498     _object.setProductNumber(productNumber);
499     _object.setProductState(productState);
500     _object.setProductType(productType);
501     _object.setItemNumber(itemNumber);
502     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
503     return _object;
504   }
505
506 // ----------------------------------------------------------------------------
507
// ClassProxy/ImplInstanceExtenderRequiredAttributes
508
// ----------------------------------------------------------------------------
509
public ProductOffering extendViewCapable(
510       org.openmdx.compatibility.view1.cci.ViewCapable _base
511     , short accessLevelBrowse
512     , short accessLevelDelete
513     , short accessLevelUpdate
514     , boolean disabled
515     , String JavaDoc name
516     , String JavaDoc productNumber
517     , short productState
518     , short productType
519     , int itemNumber
520     , short minMaxQuantityHandling
521   ) {
522     ProductOfferingImpl _object = (ProductOfferingImpl)getProductOffering(_base);
523     _object.setAccessLevelBrowse(accessLevelBrowse);
524     _object.setAccessLevelDelete(accessLevelDelete);
525     _object.setAccessLevelUpdate(accessLevelUpdate);
526     _object.setDisabled(disabled);
527     _object.setName(name);
528     _object.setProductNumber(productNumber);
529     _object.setProductState(productState);
530     _object.setProductType(productType);
531     _object.setItemNumber(itemNumber);
532     _object.setMinMaxQuantityHandling(minMaxQuantityHandling);
533     return _object;
534   }
535
536 // ----------------------------------------------------------------------------
537
// ClassProxy/ImplEnd.vm
538
// ----------------------------------------------------------------------------
539
}
540
Popular Tags