KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > activity1 > cci > ActivityCreatorClassImpl


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