KickJava   Java API By Example, From Geeks To Geeks.

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


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