KickJava   Java API By Example, From Geeks To Geeks.

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


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