KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > account1 > cci > GroupClassImpl


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:38:54 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.account1.cci;
14
15 public class GroupClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements GroupClass {
18
19   public GroupClassImpl(
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:account1:Group";
28   }
29
30   public Group getGroup(
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         Group target = (Group)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (Group)((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 Group createGroup(
55   ) {
56     Group target = (Group)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public Group createGroup(
65       short accountRating
66     , short accountState
67     , short accountType
68     , String JavaDoc name
69     , short accessLevelBrowse
70     , short accessLevelDelete
71     , short accessLevelUpdate
72     , boolean disabled
73   ) {
74     GroupImpl _object = (GroupImpl)createGroup();
75     _object.setAccountRating(accountRating);
76     _object.setAccountState(accountState);
77     _object.setAccountType(accountType);
78     _object.setName(name);
79     _object.setAccessLevelBrowse(accessLevelBrowse);
80     _object.setAccessLevelDelete(accessLevelDelete);
81     _object.setAccessLevelUpdate(accessLevelUpdate);
82     _object.setDisabled(disabled);
83     return _object;
84   }
85
86 // ----------------------------------------------------------------------------
87
// ClassProxy/ImplInstanceExtenderRequiredAttributes
88
// ----------------------------------------------------------------------------
89
public Group extendAbstractAccount(
90       org.opencrx.kernel.account1.cci.AbstractAccount _base
91     , String JavaDoc name
92     , short accessLevelBrowse
93     , short accessLevelDelete
94     , short accessLevelUpdate
95     , boolean disabled
96   ) {
97     GroupImpl _object = (GroupImpl)getGroup(_base);
98     _object.setName(name);
99     _object.setAccessLevelBrowse(accessLevelBrowse);
100     _object.setAccessLevelDelete(accessLevelDelete);
101     _object.setAccessLevelUpdate(accessLevelUpdate);
102     _object.setDisabled(disabled);
103     return _object;
104   }
105
106 // ----------------------------------------------------------------------------
107
// ClassProxy/ImplInstanceExtenderRequiredAttributes
108
// ----------------------------------------------------------------------------
109
public Group extendAccount(
110       org.opencrx.kernel.account1.cci.Account _base
111     , String JavaDoc name
112   ) {
113     GroupImpl _object = (GroupImpl)getGroup(_base);
114     _object.setName(name);
115     return _object;
116   }
117
118 // ----------------------------------------------------------------------------
119
// ClassProxy/ImplInstanceExtenderRequiredAttributes
120
// ----------------------------------------------------------------------------
121
public Group extendAuditee(
122       org.opencrx.kernel.base.cci.Auditee _base
123     , short accountRating
124     , short accountState
125     , short accountType
126     , String JavaDoc name
127     , short accessLevelBrowse
128     , short accessLevelDelete
129     , short accessLevelUpdate
130     , boolean disabled
131   ) {
132     GroupImpl _object = (GroupImpl)getGroup(_base);
133     _object.setAccountRating(accountRating);
134     _object.setAccountState(accountState);
135     _object.setAccountType(accountType);
136     _object.setName(name);
137     _object.setAccessLevelBrowse(accessLevelBrowse);
138     _object.setAccessLevelDelete(accessLevelDelete);
139     _object.setAccessLevelUpdate(accessLevelUpdate);
140     _object.setDisabled(disabled);
141     return _object;
142   }
143
144 // ----------------------------------------------------------------------------
145
// ClassProxy/ImplInstanceExtenderRequiredAttributes
146
// ----------------------------------------------------------------------------
147
public Group extendBookmarkable(
148       org.opencrx.kernel.base.cci.Bookmarkable _base
149     , short accountRating
150     , short accountState
151     , short accountType
152     , String JavaDoc name
153     , short accessLevelBrowse
154     , short accessLevelDelete
155     , short accessLevelUpdate
156     , boolean disabled
157   ) {
158     GroupImpl _object = (GroupImpl)getGroup(_base);
159     _object.setAccountRating(accountRating);
160     _object.setAccountState(accountState);
161     _object.setAccountType(accountType);
162     _object.setName(name);
163     _object.setAccessLevelBrowse(accessLevelBrowse);
164     _object.setAccessLevelDelete(accessLevelDelete);
165     _object.setAccessLevelUpdate(accessLevelUpdate);
166     _object.setDisabled(disabled);
167     return _object;
168   }
169
170 // ----------------------------------------------------------------------------
171
// ClassProxy/ImplInstanceExtenderRequiredAttributes
172
// ----------------------------------------------------------------------------
173
public Group extendCloneable(
174       org.opencrx.kernel.base.cci.Cloneable _base
175     , short accountRating
176     , short accountState
177     , short accountType
178     , String JavaDoc name
179     , short accessLevelBrowse
180     , short accessLevelDelete
181     , short accessLevelUpdate
182     , boolean disabled
183   ) {
184     GroupImpl _object = (GroupImpl)getGroup(_base);
185     _object.setAccountRating(accountRating);
186     _object.setAccountState(accountState);
187     _object.setAccountType(accountType);
188     _object.setName(name);
189     _object.setAccessLevelBrowse(accessLevelBrowse);
190     _object.setAccessLevelDelete(accessLevelDelete);
191     _object.setAccessLevelUpdate(accessLevelUpdate);
192     _object.setDisabled(disabled);
193     return _object;
194   }
195
196 // ----------------------------------------------------------------------------
197
// ClassProxy/ImplInstanceExtenderRequiredAttributes
198
// ----------------------------------------------------------------------------
199
public Group extendImporter(
200       org.opencrx.kernel.base.cci.Importer _base
201     , short accountRating
202     , short accountState
203     , short accountType
204     , String JavaDoc name
205     , short accessLevelBrowse
206     , short accessLevelDelete
207     , short accessLevelUpdate
208     , boolean disabled
209   ) {
210     GroupImpl _object = (GroupImpl)getGroup(_base);
211     _object.setAccountRating(accountRating);
212     _object.setAccountState(accountState);
213     _object.setAccountType(accountType);
214     _object.setName(name);
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 Group extendSecureObject(
226       org.opencrx.kernel.base.cci.SecureObject _base
227     , short accountRating
228     , short accountState
229     , short accountType
230     , String JavaDoc name
231     , boolean disabled
232   ) {
233     GroupImpl _object = (GroupImpl)getGroup(_base);
234     _object.setAccountRating(accountRating);
235     _object.setAccountState(accountState);
236     _object.setAccountType(accountType);
237     _object.setName(name);
238     _object.setDisabled(disabled);
239     return _object;
240   }
241
242 // ----------------------------------------------------------------------------
243
// ClassProxy/ImplInstanceExtenderRequiredAttributes
244
// ----------------------------------------------------------------------------
245
public Group extendSubscriptionTarget(
246       org.opencrx.kernel.base.cci.SubscriptionTarget _base
247     , short accountRating
248     , short accountState
249     , short accountType
250     , String JavaDoc name
251     , short accessLevelBrowse
252     , short accessLevelDelete
253     , short accessLevelUpdate
254     , boolean disabled
255   ) {
256     GroupImpl _object = (GroupImpl)getGroup(_base);
257     _object.setAccountRating(accountRating);
258     _object.setAccountState(accountState);
259     _object.setAccountType(accountType);
260     _object.setName(name);
261     _object.setAccessLevelBrowse(accessLevelBrowse);
262     _object.setAccessLevelDelete(accessLevelDelete);
263     _object.setAccessLevelUpdate(accessLevelUpdate);
264     _object.setDisabled(disabled);
265     return _object;
266   }
267
268 // ----------------------------------------------------------------------------
269
// ClassProxy/ImplInstanceExtenderRequiredAttributes
270
// ----------------------------------------------------------------------------
271
public Group extendXmlExporter(
272       org.opencrx.kernel.base.cci.XmlExporter _base
273     , short accountRating
274     , short accountState
275     , short accountType
276     , String JavaDoc name
277     , short accessLevelBrowse
278     , short accessLevelDelete
279     , short accessLevelUpdate
280     , boolean disabled
281   ) {
282     GroupImpl _object = (GroupImpl)getGroup(_base);
283     _object.setAccountRating(accountRating);
284     _object.setAccountState(accountState);
285     _object.setAccountType(accountType);
286     _object.setName(name);
287     _object.setAccessLevelBrowse(accessLevelBrowse);
288     _object.setAccessLevelDelete(accessLevelDelete);
289     _object.setAccessLevelUpdate(accessLevelUpdate);
290     _object.setDisabled(disabled);
291     return _object;
292   }
293
294 // ----------------------------------------------------------------------------
295
// ClassProxy/ImplInstanceExtenderRequiredAttributes
296
// ----------------------------------------------------------------------------
297
public Group extendCrxObject(
298       org.opencrx.kernel.generic.cci.CrxObject _base
299     , short accountRating
300     , short accountState
301     , short accountType
302     , String JavaDoc name
303   ) {
304     GroupImpl _object = (GroupImpl)getGroup(_base);
305     _object.setAccountRating(accountRating);
306     _object.setAccountState(accountState);
307     _object.setAccountType(accountType);
308     _object.setName(name);
309     return _object;
310   }
311
312 // ----------------------------------------------------------------------------
313
// ClassProxy/ImplInstanceExtenderRequiredAttributes
314
// ----------------------------------------------------------------------------
315
public Group extendGenericAccount(
316       org.opencrx.kernel.generic.cci.GenericAccount _base
317     , short accountRating
318     , short accountState
319     , short accountType
320     , String JavaDoc name
321     , short accessLevelBrowse
322     , short accessLevelDelete
323     , short accessLevelUpdate
324     , boolean disabled
325   ) {
326     GroupImpl _object = (GroupImpl)getGroup(_base);
327     _object.setAccountRating(accountRating);
328     _object.setAccountState(accountState);
329     _object.setAccountType(accountType);
330     _object.setName(name);
331     _object.setAccessLevelBrowse(accessLevelBrowse);
332     _object.setAccessLevelDelete(accessLevelDelete);
333     _object.setAccessLevelUpdate(accessLevelUpdate);
334     _object.setDisabled(disabled);
335     return _object;
336   }
337
338 // ----------------------------------------------------------------------------
339
// ClassProxy/ImplInstanceExtenderRequiredAttributes
340
// ----------------------------------------------------------------------------
341
public Group extendBasicObject(
342       org.openmdx.base.cci.BasicObject _base
343     , short accountRating
344     , short accountState
345     , short accountType
346     , String JavaDoc name
347     , short accessLevelBrowse
348     , short accessLevelDelete
349     , short accessLevelUpdate
350     , boolean disabled
351   ) {
352     GroupImpl _object = (GroupImpl)getGroup(_base);
353     _object.setAccountRating(accountRating);
354     _object.setAccountState(accountState);
355     _object.setAccountType(accountType);
356     _object.setName(name);
357     _object.setAccessLevelBrowse(accessLevelBrowse);
358     _object.setAccessLevelDelete(accessLevelDelete);
359     _object.setAccessLevelUpdate(accessLevelUpdate);
360     _object.setDisabled(disabled);
361     return _object;
362   }
363
364 // ----------------------------------------------------------------------------
365
// ClassProxy/ImplInstanceExtenderRequiredAttributes
366
// ----------------------------------------------------------------------------
367
public Group extendContextCapable(
368       org.openmdx.base.cci.ContextCapable _base
369     , short accountRating
370     , short accountState
371     , short accountType
372     , String JavaDoc name
373     , short accessLevelBrowse
374     , short accessLevelDelete
375     , short accessLevelUpdate
376     , boolean disabled
377   ) {
378     GroupImpl _object = (GroupImpl)getGroup(_base);
379     _object.setAccountRating(accountRating);
380     _object.setAccountState(accountState);
381     _object.setAccountType(accountType);
382     _object.setName(name);
383     _object.setAccessLevelBrowse(accessLevelBrowse);
384     _object.setAccessLevelDelete(accessLevelDelete);
385     _object.setAccessLevelUpdate(accessLevelUpdate);
386     _object.setDisabled(disabled);
387     return _object;
388   }
389
390 // ----------------------------------------------------------------------------
391
// ClassProxy/ImplInstanceExtenderRequiredAttributes
392
// ----------------------------------------------------------------------------
393
public Group extendExtentCapable(
394       org.openmdx.base.cci.ExtentCapable _base
395     , short accountRating
396     , short accountState
397     , short accountType
398     , String JavaDoc name
399     , short accessLevelBrowse
400     , short accessLevelDelete
401     , short accessLevelUpdate
402     , boolean disabled
403   ) {
404     GroupImpl _object = (GroupImpl)getGroup(_base);
405     _object.setAccountRating(accountRating);
406     _object.setAccountState(accountState);
407     _object.setAccountType(accountType);
408     _object.setName(name);
409     _object.setAccessLevelBrowse(accessLevelBrowse);
410     _object.setAccessLevelDelete(accessLevelDelete);
411     _object.setAccessLevelUpdate(accessLevelUpdate);
412     _object.setDisabled(disabled);
413     return _object;
414   }
415
416 // ----------------------------------------------------------------------------
417
// ClassProxy/ImplInstanceExtenderRequiredAttributes
418
// ----------------------------------------------------------------------------
419
public Group extendViewCapable(
420       org.openmdx.compatibility.view1.cci.ViewCapable _base
421     , short accountRating
422     , short accountState
423     , short accountType
424     , String JavaDoc name
425     , short accessLevelBrowse
426     , short accessLevelDelete
427     , short accessLevelUpdate
428     , boolean disabled
429   ) {
430     GroupImpl _object = (GroupImpl)getGroup(_base);
431     _object.setAccountRating(accountRating);
432     _object.setAccountState(accountState);
433     _object.setAccountType(accountType);
434     _object.setName(name);
435     _object.setAccessLevelBrowse(accessLevelBrowse);
436     _object.setAccessLevelDelete(accessLevelDelete);
437     _object.setAccessLevelUpdate(accessLevelUpdate);
438     _object.setDisabled(disabled);
439     return _object;
440   }
441
442 // ----------------------------------------------------------------------------
443
// ClassProxy/ImplEnd.vm
444
// ----------------------------------------------------------------------------
445
}
446
Popular Tags