KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > workflow1 > cci > ExternalTaskClassImpl


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