KickJava   Java API By Example, From Geeks To Geeks.

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


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