KickJava   Java API By Example, From Geeks To Geeks.

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


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