KickJava   Java API By Example, From Geeks To Geeks.

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


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