KickJava   Java API By Example, From Geeks To Geeks.

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


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 ProductBasePriceClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements ProductBasePriceClass {
18
19   public ProductBasePriceClassImpl(
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:ProductBasePrice";
28   }
29
30   public ProductBasePrice getProductBasePrice(
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         ProductBasePrice target = (ProductBasePrice)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (ProductBasePrice)((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 ProductBasePrice createProductBasePrice(
55   ) {
56     ProductBasePrice target = (ProductBasePrice)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public ProductBasePrice createProductBasePrice(
65       short accessLevelBrowse
66     , short accessLevelDelete
67     , short accessLevelUpdate
68     , boolean disabled
69     , short priceCurrency
70     , org.opencrx.kernel.uom1.cci.Uom uom
71   ) {
72     ProductBasePriceImpl _object = (ProductBasePriceImpl)createProductBasePrice();
73     _object.setAccessLevelBrowse(accessLevelBrowse);
74     _object.setAccessLevelDelete(accessLevelDelete);
75     _object.setAccessLevelUpdate(accessLevelUpdate);
76     _object.setDisabled(disabled);
77     _object.setPriceCurrency(priceCurrency);
78     _object.setUom(uom);
79     return _object;
80   }
81
82 // ----------------------------------------------------------------------------
83
// ClassProxy/ImplInstanceExtenderRequiredAttributes
84
// ----------------------------------------------------------------------------
85
public ProductBasePrice extendAuditee(
86       org.opencrx.kernel.base.cci.Auditee _base
87     , short accessLevelBrowse
88     , short accessLevelDelete
89     , short accessLevelUpdate
90     , boolean disabled
91     , short priceCurrency
92     , org.opencrx.kernel.uom1.cci.Uom uom
93   ) {
94     ProductBasePriceImpl _object = (ProductBasePriceImpl)getProductBasePrice(_base);
95     _object.setAccessLevelBrowse(accessLevelBrowse);
96     _object.setAccessLevelDelete(accessLevelDelete);
97     _object.setAccessLevelUpdate(accessLevelUpdate);
98     _object.setDisabled(disabled);
99     _object.setPriceCurrency(priceCurrency);
100     _object.setUom(uom);
101     return _object;
102   }
103
104 // ----------------------------------------------------------------------------
105
// ClassProxy/ImplInstanceExtenderRequiredAttributes
106
// ----------------------------------------------------------------------------
107
public ProductBasePrice extendBookmarkable(
108       org.opencrx.kernel.base.cci.Bookmarkable _base
109     , short accessLevelBrowse
110     , short accessLevelDelete
111     , short accessLevelUpdate
112     , boolean disabled
113     , short priceCurrency
114     , org.opencrx.kernel.uom1.cci.Uom uom
115   ) {
116     ProductBasePriceImpl _object = (ProductBasePriceImpl)getProductBasePrice(_base);
117     _object.setAccessLevelBrowse(accessLevelBrowse);
118     _object.setAccessLevelDelete(accessLevelDelete);
119     _object.setAccessLevelUpdate(accessLevelUpdate);
120     _object.setDisabled(disabled);
121     _object.setPriceCurrency(priceCurrency);
122     _object.setUom(uom);
123     return _object;
124   }
125
126 // ----------------------------------------------------------------------------
127
// ClassProxy/ImplInstanceExtenderRequiredAttributes
128
// ----------------------------------------------------------------------------
129
public ProductBasePrice extendCloneable(
130       org.opencrx.kernel.base.cci.Cloneable _base
131     , short accessLevelBrowse
132     , short accessLevelDelete
133     , short accessLevelUpdate
134     , boolean disabled
135     , short priceCurrency
136     , org.opencrx.kernel.uom1.cci.Uom uom
137   ) {
138     ProductBasePriceImpl _object = (ProductBasePriceImpl)getProductBasePrice(_base);
139     _object.setAccessLevelBrowse(accessLevelBrowse);
140     _object.setAccessLevelDelete(accessLevelDelete);
141     _object.setAccessLevelUpdate(accessLevelUpdate);
142     _object.setDisabled(disabled);
143     _object.setPriceCurrency(priceCurrency);
144     _object.setUom(uom);
145     return _object;
146   }
147
148 // ----------------------------------------------------------------------------
149
// ClassProxy/ImplInstanceExtenderRequiredAttributes
150
// ----------------------------------------------------------------------------
151
public ProductBasePrice extendImporter(
152       org.opencrx.kernel.base.cci.Importer _base
153     , short accessLevelBrowse
154     , short accessLevelDelete
155     , short accessLevelUpdate
156     , boolean disabled
157     , short priceCurrency
158     , org.opencrx.kernel.uom1.cci.Uom uom
159   ) {
160     ProductBasePriceImpl _object = (ProductBasePriceImpl)getProductBasePrice(_base);
161     _object.setAccessLevelBrowse(accessLevelBrowse);
162     _object.setAccessLevelDelete(accessLevelDelete);
163     _object.setAccessLevelUpdate(accessLevelUpdate);
164     _object.setDisabled(disabled);
165     _object.setPriceCurrency(priceCurrency);
166     _object.setUom(uom);
167     return _object;
168   }
169
170 // ----------------------------------------------------------------------------
171
// ClassProxy/ImplInstanceExtenderRequiredAttributes
172
// ----------------------------------------------------------------------------
173
public ProductBasePrice extendSecureObject(
174       org.opencrx.kernel.base.cci.SecureObject _base
175     , boolean disabled
176     , short priceCurrency
177     , org.opencrx.kernel.uom1.cci.Uom uom
178   ) {
179     ProductBasePriceImpl _object = (ProductBasePriceImpl)getProductBasePrice(_base);
180     _object.setDisabled(disabled);
181     _object.setPriceCurrency(priceCurrency);
182     _object.setUom(uom);
183     return _object;
184   }
185
186 // ----------------------------------------------------------------------------
187
// ClassProxy/ImplInstanceExtenderRequiredAttributes
188
// ----------------------------------------------------------------------------
189
public ProductBasePrice extendSubscriptionTarget(
190       org.opencrx.kernel.base.cci.SubscriptionTarget _base
191     , short accessLevelBrowse
192     , short accessLevelDelete
193     , short accessLevelUpdate
194     , boolean disabled
195     , short priceCurrency
196     , org.opencrx.kernel.uom1.cci.Uom uom
197   ) {
198     ProductBasePriceImpl _object = (ProductBasePriceImpl)getProductBasePrice(_base);
199     _object.setAccessLevelBrowse(accessLevelBrowse);
200     _object.setAccessLevelDelete(accessLevelDelete);
201     _object.setAccessLevelUpdate(accessLevelUpdate);
202     _object.setDisabled(disabled);
203     _object.setPriceCurrency(priceCurrency);
204     _object.setUom(uom);
205     return _object;
206   }
207
208 // ----------------------------------------------------------------------------
209
// ClassProxy/ImplInstanceExtenderRequiredAttributes
210
// ----------------------------------------------------------------------------
211
public ProductBasePrice extendXmlExporter(
212       org.opencrx.kernel.base.cci.XmlExporter _base
213     , short accessLevelBrowse
214     , short accessLevelDelete
215     , short accessLevelUpdate
216     , boolean disabled
217     , short priceCurrency
218     , org.opencrx.kernel.uom1.cci.Uom uom
219   ) {
220     ProductBasePriceImpl _object = (ProductBasePriceImpl)getProductBasePrice(_base);
221     _object.setAccessLevelBrowse(accessLevelBrowse);
222     _object.setAccessLevelDelete(accessLevelDelete);
223     _object.setAccessLevelUpdate(accessLevelUpdate);
224     _object.setDisabled(disabled);
225     _object.setPriceCurrency(priceCurrency);
226     _object.setUom(uom);
227     return _object;
228   }
229
230 // ----------------------------------------------------------------------------
231
// ClassProxy/ImplInstanceExtenderRequiredAttributes
232
// ----------------------------------------------------------------------------
233
public ProductBasePrice extendCrxObject(
234       org.opencrx.kernel.generic.cci.CrxObject _base
235     , short priceCurrency
236     , org.opencrx.kernel.uom1.cci.Uom uom
237   ) {
238     ProductBasePriceImpl _object = (ProductBasePriceImpl)getProductBasePrice(_base);
239     _object.setPriceCurrency(priceCurrency);
240     _object.setUom(uom);
241     return _object;
242   }
243
244 // ----------------------------------------------------------------------------
245
// ClassProxy/ImplInstanceExtenderRequiredAttributes
246
// ----------------------------------------------------------------------------
247
public ProductBasePrice extendAbstractProductPrice(
248       org.opencrx.kernel.product1.cci.AbstractProductPrice _base
249     , short accessLevelBrowse
250     , short accessLevelDelete
251     , short accessLevelUpdate
252     , boolean disabled
253   ) {
254     ProductBasePriceImpl _object = (ProductBasePriceImpl)getProductBasePrice(_base);
255     _object.setAccessLevelBrowse(accessLevelBrowse);
256     _object.setAccessLevelDelete(accessLevelDelete);
257     _object.setAccessLevelUpdate(accessLevelUpdate);
258     _object.setDisabled(disabled);
259     return _object;
260   }
261
262 // ----------------------------------------------------------------------------
263
// ClassProxy/ImplInstanceExtenderRequiredAttributes
264
// ----------------------------------------------------------------------------
265
public ProductBasePrice extendBasicObject(
266       org.openmdx.base.cci.BasicObject _base
267     , short accessLevelBrowse
268     , short accessLevelDelete
269     , short accessLevelUpdate
270     , boolean disabled
271     , short priceCurrency
272     , org.opencrx.kernel.uom1.cci.Uom uom
273   ) {
274     ProductBasePriceImpl _object = (ProductBasePriceImpl)getProductBasePrice(_base);
275     _object.setAccessLevelBrowse(accessLevelBrowse);
276     _object.setAccessLevelDelete(accessLevelDelete);
277     _object.setAccessLevelUpdate(accessLevelUpdate);
278     _object.setDisabled(disabled);
279     _object.setPriceCurrency(priceCurrency);
280     _object.setUom(uom);
281     return _object;
282   }
283
284 // ----------------------------------------------------------------------------
285
// ClassProxy/ImplInstanceExtenderRequiredAttributes
286
// ----------------------------------------------------------------------------
287
public ProductBasePrice extendContextCapable(
288       org.openmdx.base.cci.ContextCapable _base
289     , short accessLevelBrowse
290     , short accessLevelDelete
291     , short accessLevelUpdate
292     , boolean disabled
293     , short priceCurrency
294     , org.opencrx.kernel.uom1.cci.Uom uom
295   ) {
296     ProductBasePriceImpl _object = (ProductBasePriceImpl)getProductBasePrice(_base);
297     _object.setAccessLevelBrowse(accessLevelBrowse);
298     _object.setAccessLevelDelete(accessLevelDelete);
299     _object.setAccessLevelUpdate(accessLevelUpdate);
300     _object.setDisabled(disabled);
301     _object.setPriceCurrency(priceCurrency);
302     _object.setUom(uom);
303     return _object;
304   }
305
306 // ----------------------------------------------------------------------------
307
// ClassProxy/ImplInstanceExtenderRequiredAttributes
308
// ----------------------------------------------------------------------------
309
public ProductBasePrice extendExtentCapable(
310       org.openmdx.base.cci.ExtentCapable _base
311     , short accessLevelBrowse
312     , short accessLevelDelete
313     , short accessLevelUpdate
314     , boolean disabled
315     , short priceCurrency
316     , org.opencrx.kernel.uom1.cci.Uom uom
317   ) {
318     ProductBasePriceImpl _object = (ProductBasePriceImpl)getProductBasePrice(_base);
319     _object.setAccessLevelBrowse(accessLevelBrowse);
320     _object.setAccessLevelDelete(accessLevelDelete);
321     _object.setAccessLevelUpdate(accessLevelUpdate);
322     _object.setDisabled(disabled);
323     _object.setPriceCurrency(priceCurrency);
324     _object.setUom(uom);
325     return _object;
326   }
327
328 // ----------------------------------------------------------------------------
329
// ClassProxy/ImplInstanceExtenderRequiredAttributes
330
// ----------------------------------------------------------------------------
331
public ProductBasePrice extendViewCapable(
332       org.openmdx.compatibility.view1.cci.ViewCapable _base
333     , short accessLevelBrowse
334     , short accessLevelDelete
335     , short accessLevelUpdate
336     , boolean disabled
337     , short priceCurrency
338     , org.opencrx.kernel.uom1.cci.Uom uom
339   ) {
340     ProductBasePriceImpl _object = (ProductBasePriceImpl)getProductBasePrice(_base);
341     _object.setAccessLevelBrowse(accessLevelBrowse);
342     _object.setAccessLevelDelete(accessLevelDelete);
343     _object.setAccessLevelUpdate(accessLevelUpdate);
344     _object.setDisabled(disabled);
345     _object.setPriceCurrency(priceCurrency);
346     _object.setUom(uom);
347     return _object;
348   }
349
350 // ----------------------------------------------------------------------------
351
// ClassProxy/ImplEnd.vm
352
// ----------------------------------------------------------------------------
353
}
354
Popular Tags