KickJava   Java API By Example, From Geeks To Geeks.

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


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