KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > depot1 > cci > WarehouseClassImpl


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:56 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.depot1.cci;
14
15 public class WarehouseClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements WarehouseClass {
18
19   public WarehouseClassImpl(
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:depot1:Warehouse";
28   }
29
30   public Warehouse getWarehouse(
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         Warehouse target = (Warehouse)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (Warehouse)((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 Warehouse createWarehouse(
55   ) {
56     Warehouse target = (Warehouse)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public Warehouse createWarehouse(
65       short accessLevelBrowse
66     , short accessLevelDelete
67     , short accessLevelUpdate
68     , String JavaDoc templateReferenceFilter
69     , String JavaDoc depotHolderNumber
70     , String JavaDoc name
71     , boolean disabled
72   ) {
73     WarehouseImpl _object = (WarehouseImpl)createWarehouse();
74     _object.setAccessLevelBrowse(accessLevelBrowse);
75     _object.setAccessLevelDelete(accessLevelDelete);
76     _object.setAccessLevelUpdate(accessLevelUpdate);
77     _object.setTemplateReferenceFilter(templateReferenceFilter);
78     _object.setDepotHolderNumber(depotHolderNumber);
79     _object.setName(name);
80     _object.setDisabled(disabled);
81     return _object;
82   }
83
84 // ----------------------------------------------------------------------------
85
// ClassProxy/ImplInstanceExtenderRequiredAttributes
86
// ----------------------------------------------------------------------------
87
public Warehouse extendAuditee(
88       org.opencrx.kernel.base.cci.Auditee _base
89     , short accessLevelBrowse
90     , short accessLevelDelete
91     , short accessLevelUpdate
92     , String JavaDoc templateReferenceFilter
93     , String JavaDoc depotHolderNumber
94     , String JavaDoc name
95     , boolean disabled
96   ) {
97     WarehouseImpl _object = (WarehouseImpl)getWarehouse(_base);
98     _object.setAccessLevelBrowse(accessLevelBrowse);
99     _object.setAccessLevelDelete(accessLevelDelete);
100     _object.setAccessLevelUpdate(accessLevelUpdate);
101     _object.setTemplateReferenceFilter(templateReferenceFilter);
102     _object.setDepotHolderNumber(depotHolderNumber);
103     _object.setName(name);
104     _object.setDisabled(disabled);
105     return _object;
106   }
107
108 // ----------------------------------------------------------------------------
109
// ClassProxy/ImplInstanceExtenderRequiredAttributes
110
// ----------------------------------------------------------------------------
111
public Warehouse extendBookmarkable(
112       org.opencrx.kernel.base.cci.Bookmarkable _base
113     , short accessLevelBrowse
114     , short accessLevelDelete
115     , short accessLevelUpdate
116     , String JavaDoc templateReferenceFilter
117     , String JavaDoc depotHolderNumber
118     , String JavaDoc name
119     , boolean disabled
120   ) {
121     WarehouseImpl _object = (WarehouseImpl)getWarehouse(_base);
122     _object.setAccessLevelBrowse(accessLevelBrowse);
123     _object.setAccessLevelDelete(accessLevelDelete);
124     _object.setAccessLevelUpdate(accessLevelUpdate);
125     _object.setTemplateReferenceFilter(templateReferenceFilter);
126     _object.setDepotHolderNumber(depotHolderNumber);
127     _object.setName(name);
128     _object.setDisabled(disabled);
129     return _object;
130   }
131
132 // ----------------------------------------------------------------------------
133
// ClassProxy/ImplInstanceExtenderRequiredAttributes
134
// ----------------------------------------------------------------------------
135
public Warehouse extendCloneable(
136       org.opencrx.kernel.base.cci.Cloneable _base
137     , short accessLevelBrowse
138     , short accessLevelDelete
139     , short accessLevelUpdate
140     , String JavaDoc templateReferenceFilter
141     , String JavaDoc depotHolderNumber
142     , String JavaDoc name
143     , boolean disabled
144   ) {
145     WarehouseImpl _object = (WarehouseImpl)getWarehouse(_base);
146     _object.setAccessLevelBrowse(accessLevelBrowse);
147     _object.setAccessLevelDelete(accessLevelDelete);
148     _object.setAccessLevelUpdate(accessLevelUpdate);
149     _object.setTemplateReferenceFilter(templateReferenceFilter);
150     _object.setDepotHolderNumber(depotHolderNumber);
151     _object.setName(name);
152     _object.setDisabled(disabled);
153     return _object;
154   }
155
156 // ----------------------------------------------------------------------------
157
// ClassProxy/ImplInstanceExtenderRequiredAttributes
158
// ----------------------------------------------------------------------------
159
public Warehouse extendImporter(
160       org.opencrx.kernel.base.cci.Importer _base
161     , short accessLevelBrowse
162     , short accessLevelDelete
163     , short accessLevelUpdate
164     , String JavaDoc templateReferenceFilter
165     , String JavaDoc depotHolderNumber
166     , String JavaDoc name
167     , boolean disabled
168   ) {
169     WarehouseImpl _object = (WarehouseImpl)getWarehouse(_base);
170     _object.setAccessLevelBrowse(accessLevelBrowse);
171     _object.setAccessLevelDelete(accessLevelDelete);
172     _object.setAccessLevelUpdate(accessLevelUpdate);
173     _object.setTemplateReferenceFilter(templateReferenceFilter);
174     _object.setDepotHolderNumber(depotHolderNumber);
175     _object.setName(name);
176     _object.setDisabled(disabled);
177     return _object;
178   }
179
180 // ----------------------------------------------------------------------------
181
// ClassProxy/ImplInstanceExtenderRequiredAttributes
182
// ----------------------------------------------------------------------------
183
public Warehouse extendSecureObject(
184       org.opencrx.kernel.base.cci.SecureObject _base
185     , String JavaDoc templateReferenceFilter
186     , String JavaDoc depotHolderNumber
187     , String JavaDoc name
188     , boolean disabled
189   ) {
190     WarehouseImpl _object = (WarehouseImpl)getWarehouse(_base);
191     _object.setTemplateReferenceFilter(templateReferenceFilter);
192     _object.setDepotHolderNumber(depotHolderNumber);
193     _object.setName(name);
194     _object.setDisabled(disabled);
195     return _object;
196   }
197
198 // ----------------------------------------------------------------------------
199
// ClassProxy/ImplInstanceExtenderRequiredAttributes
200
// ----------------------------------------------------------------------------
201
public Warehouse extendSubscriptionTarget(
202       org.opencrx.kernel.base.cci.SubscriptionTarget _base
203     , short accessLevelBrowse
204     , short accessLevelDelete
205     , short accessLevelUpdate
206     , String JavaDoc templateReferenceFilter
207     , String JavaDoc depotHolderNumber
208     , String JavaDoc name
209     , boolean disabled
210   ) {
211     WarehouseImpl _object = (WarehouseImpl)getWarehouse(_base);
212     _object.setAccessLevelBrowse(accessLevelBrowse);
213     _object.setAccessLevelDelete(accessLevelDelete);
214     _object.setAccessLevelUpdate(accessLevelUpdate);
215     _object.setTemplateReferenceFilter(templateReferenceFilter);
216     _object.setDepotHolderNumber(depotHolderNumber);
217     _object.setName(name);
218     _object.setDisabled(disabled);
219     return _object;
220   }
221
222 // ----------------------------------------------------------------------------
223
// ClassProxy/ImplInstanceExtenderRequiredAttributes
224
// ----------------------------------------------------------------------------
225
public Warehouse extendTemplateEnabled(
226       org.opencrx.kernel.base.cci.TemplateEnabled _base
227     , short accessLevelBrowse
228     , short accessLevelDelete
229     , short accessLevelUpdate
230     , String JavaDoc depotHolderNumber
231     , String JavaDoc name
232     , boolean disabled
233   ) {
234     WarehouseImpl _object = (WarehouseImpl)getWarehouse(_base);
235     _object.setAccessLevelBrowse(accessLevelBrowse);
236     _object.setAccessLevelDelete(accessLevelDelete);
237     _object.setAccessLevelUpdate(accessLevelUpdate);
238     _object.setDepotHolderNumber(depotHolderNumber);
239     _object.setName(name);
240     _object.setDisabled(disabled);
241     return _object;
242   }
243
244 // ----------------------------------------------------------------------------
245
// ClassProxy/ImplInstanceExtenderRequiredAttributes
246
// ----------------------------------------------------------------------------
247
public Warehouse extendXmlExporter(
248       org.opencrx.kernel.base.cci.XmlExporter _base
249     , short accessLevelBrowse
250     , short accessLevelDelete
251     , short accessLevelUpdate
252     , String JavaDoc templateReferenceFilter
253     , String JavaDoc depotHolderNumber
254     , String JavaDoc name
255     , boolean disabled
256   ) {
257     WarehouseImpl _object = (WarehouseImpl)getWarehouse(_base);
258     _object.setAccessLevelBrowse(accessLevelBrowse);
259     _object.setAccessLevelDelete(accessLevelDelete);
260     _object.setAccessLevelUpdate(accessLevelUpdate);
261     _object.setTemplateReferenceFilter(templateReferenceFilter);
262     _object.setDepotHolderNumber(depotHolderNumber);
263     _object.setName(name);
264     _object.setDisabled(disabled);
265     return _object;
266   }
267
268 // ----------------------------------------------------------------------------
269
// ClassProxy/ImplInstanceExtenderRequiredAttributes
270
// ----------------------------------------------------------------------------
271
public Warehouse extendContractReferenceHolder(
272       org.opencrx.kernel.contract1.cci.ContractReferenceHolder _base
273     , short accessLevelBrowse
274     , short accessLevelDelete
275     , short accessLevelUpdate
276     , String JavaDoc templateReferenceFilter
277     , String JavaDoc depotHolderNumber
278     , String JavaDoc name
279     , boolean disabled
280   ) {
281     WarehouseImpl _object = (WarehouseImpl)getWarehouse(_base);
282     _object.setAccessLevelBrowse(accessLevelBrowse);
283     _object.setAccessLevelDelete(accessLevelDelete);
284     _object.setAccessLevelUpdate(accessLevelUpdate);
285     _object.setTemplateReferenceFilter(templateReferenceFilter);
286     _object.setDepotHolderNumber(depotHolderNumber);
287     _object.setName(name);
288     _object.setDisabled(disabled);
289     return _object;
290   }
291
292 // ----------------------------------------------------------------------------
293
// ClassProxy/ImplInstanceExtenderRequiredAttributes
294
// ----------------------------------------------------------------------------
295
public Warehouse extendCrxObject(
296       org.opencrx.kernel.generic.cci.CrxObject _base
297     , String JavaDoc templateReferenceFilter
298     , String JavaDoc depotHolderNumber
299     , String JavaDoc name
300   ) {
301     WarehouseImpl _object = (WarehouseImpl)getWarehouse(_base);
302     _object.setTemplateReferenceFilter(templateReferenceFilter);
303     _object.setDepotHolderNumber(depotHolderNumber);
304     _object.setName(name);
305     return _object;
306   }
307
308 // ----------------------------------------------------------------------------
309
// ClassProxy/ImplInstanceExtenderRequiredAttributes
310
// ----------------------------------------------------------------------------
311
public Warehouse extendBasicObject(
312       org.openmdx.base.cci.BasicObject _base
313     , short accessLevelBrowse
314     , short accessLevelDelete
315     , short accessLevelUpdate
316     , String JavaDoc templateReferenceFilter
317     , String JavaDoc depotHolderNumber
318     , String JavaDoc name
319     , boolean disabled
320   ) {
321     WarehouseImpl _object = (WarehouseImpl)getWarehouse(_base);
322     _object.setAccessLevelBrowse(accessLevelBrowse);
323     _object.setAccessLevelDelete(accessLevelDelete);
324     _object.setAccessLevelUpdate(accessLevelUpdate);
325     _object.setTemplateReferenceFilter(templateReferenceFilter);
326     _object.setDepotHolderNumber(depotHolderNumber);
327     _object.setName(name);
328     _object.setDisabled(disabled);
329     return _object;
330   }
331
332 // ----------------------------------------------------------------------------
333
// ClassProxy/ImplInstanceExtenderRequiredAttributes
334
// ----------------------------------------------------------------------------
335
public Warehouse extendContextCapable(
336       org.openmdx.base.cci.ContextCapable _base
337     , short accessLevelBrowse
338     , short accessLevelDelete
339     , short accessLevelUpdate
340     , String JavaDoc templateReferenceFilter
341     , String JavaDoc depotHolderNumber
342     , String JavaDoc name
343     , boolean disabled
344   ) {
345     WarehouseImpl _object = (WarehouseImpl)getWarehouse(_base);
346     _object.setAccessLevelBrowse(accessLevelBrowse);
347     _object.setAccessLevelDelete(accessLevelDelete);
348     _object.setAccessLevelUpdate(accessLevelUpdate);
349     _object.setTemplateReferenceFilter(templateReferenceFilter);
350     _object.setDepotHolderNumber(depotHolderNumber);
351     _object.setName(name);
352     _object.setDisabled(disabled);
353     return _object;
354   }
355
356 // ----------------------------------------------------------------------------
357
// ClassProxy/ImplInstanceExtenderRequiredAttributes
358
// ----------------------------------------------------------------------------
359
public Warehouse extendExtentCapable(
360       org.openmdx.base.cci.ExtentCapable _base
361     , short accessLevelBrowse
362     , short accessLevelDelete
363     , short accessLevelUpdate
364     , String JavaDoc templateReferenceFilter
365     , String JavaDoc depotHolderNumber
366     , String JavaDoc name
367     , boolean disabled
368   ) {
369     WarehouseImpl _object = (WarehouseImpl)getWarehouse(_base);
370     _object.setAccessLevelBrowse(accessLevelBrowse);
371     _object.setAccessLevelDelete(accessLevelDelete);
372     _object.setAccessLevelUpdate(accessLevelUpdate);
373     _object.setTemplateReferenceFilter(templateReferenceFilter);
374     _object.setDepotHolderNumber(depotHolderNumber);
375     _object.setName(name);
376     _object.setDisabled(disabled);
377     return _object;
378   }
379
380 // ----------------------------------------------------------------------------
381
// ClassProxy/ImplInstanceExtenderRequiredAttributes
382
// ----------------------------------------------------------------------------
383
public Warehouse extendViewCapable(
384       org.openmdx.compatibility.view1.cci.ViewCapable _base
385     , short accessLevelBrowse
386     , short accessLevelDelete
387     , short accessLevelUpdate
388     , String JavaDoc templateReferenceFilter
389     , String JavaDoc depotHolderNumber
390     , String JavaDoc name
391     , boolean disabled
392   ) {
393     WarehouseImpl _object = (WarehouseImpl)getWarehouse(_base);
394     _object.setAccessLevelBrowse(accessLevelBrowse);
395     _object.setAccessLevelDelete(accessLevelDelete);
396     _object.setAccessLevelUpdate(accessLevelUpdate);
397     _object.setTemplateReferenceFilter(templateReferenceFilter);
398     _object.setDepotHolderNumber(depotHolderNumber);
399     _object.setName(name);
400     _object.setDisabled(disabled);
401     return _object;
402   }
403
404 // ----------------------------------------------------------------------------
405
// ClassProxy/ImplEnd.vm
406
// ----------------------------------------------------------------------------
407
}
408
Popular Tags