KickJava   Java API By Example, From Geeks To Geeks.

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


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 ActivityTrackerClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements ActivityTrackerClass {
18
19   public ActivityTrackerClassImpl(
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:ActivityTracker";
28   }
29
30   public ActivityTracker getActivityTracker(
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         ActivityTracker target = (ActivityTracker)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (ActivityTracker)((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 ActivityTracker createActivityTracker(
55   ) {
56     ActivityTracker target = (ActivityTracker)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public ActivityTracker createActivityTracker(
65       String JavaDoc name
66     , int estimateEffortHours
67     , int estimateEffortMinutes
68     , int estimateMaxDeviation
69     , int sumEstimateEffortHours
70     , int sumEstimateEffortMinutes
71     , short accessLevelBrowse
72     , short accessLevelDelete
73     , short accessLevelUpdate
74     , boolean disabled
75   ) {
76     ActivityTrackerImpl _object = (ActivityTrackerImpl)createActivityTracker();
77     _object.setName(name);
78     _object.setEstimateEffortHours(estimateEffortHours);
79     _object.setEstimateEffortMinutes(estimateEffortMinutes);
80     _object.setEstimateMaxDeviation(estimateMaxDeviation);
81     _object.setSumEstimateEffortHours(sumEstimateEffortHours);
82     _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes);
83     _object.setAccessLevelBrowse(accessLevelBrowse);
84     _object.setAccessLevelDelete(accessLevelDelete);
85     _object.setAccessLevelUpdate(accessLevelUpdate);
86     _object.setDisabled(disabled);
87     return _object;
88   }
89
90 // ----------------------------------------------------------------------------
91
// ClassProxy/ImplInstanceExtenderRequiredAttributes
92
// ----------------------------------------------------------------------------
93
public ActivityTracker extendActivityGroup(
94       org.opencrx.kernel.activity1.cci.ActivityGroup _base
95     , int estimateEffortHours
96     , int estimateEffortMinutes
97     , int estimateMaxDeviation
98     , int sumEstimateEffortHours
99     , int sumEstimateEffortMinutes
100     , short accessLevelBrowse
101     , short accessLevelDelete
102     , short accessLevelUpdate
103     , boolean disabled
104   ) {
105     ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base);
106     _object.setEstimateEffortHours(estimateEffortHours);
107     _object.setEstimateEffortMinutes(estimateEffortMinutes);
108     _object.setEstimateMaxDeviation(estimateMaxDeviation);
109     _object.setSumEstimateEffortHours(sumEstimateEffortHours);
110     _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes);
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 ActivityTracker extendAuditee(
122       org.opencrx.kernel.base.cci.Auditee _base
123     , String JavaDoc name
124     , int estimateEffortHours
125     , int estimateEffortMinutes
126     , int estimateMaxDeviation
127     , int sumEstimateEffortHours
128     , int sumEstimateEffortMinutes
129     , short accessLevelBrowse
130     , short accessLevelDelete
131     , short accessLevelUpdate
132     , boolean disabled
133   ) {
134     ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base);
135     _object.setName(name);
136     _object.setEstimateEffortHours(estimateEffortHours);
137     _object.setEstimateEffortMinutes(estimateEffortMinutes);
138     _object.setEstimateMaxDeviation(estimateMaxDeviation);
139     _object.setSumEstimateEffortHours(sumEstimateEffortHours);
140     _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes);
141     _object.setAccessLevelBrowse(accessLevelBrowse);
142     _object.setAccessLevelDelete(accessLevelDelete);
143     _object.setAccessLevelUpdate(accessLevelUpdate);
144     _object.setDisabled(disabled);
145     return _object;
146   }
147
148 // ----------------------------------------------------------------------------
149
// ClassProxy/ImplInstanceExtenderRequiredAttributes
150
// ----------------------------------------------------------------------------
151
public ActivityTracker extendBookmarkable(
152       org.opencrx.kernel.base.cci.Bookmarkable _base
153     , String JavaDoc name
154     , int estimateEffortHours
155     , int estimateEffortMinutes
156     , int estimateMaxDeviation
157     , int sumEstimateEffortHours
158     , int sumEstimateEffortMinutes
159     , short accessLevelBrowse
160     , short accessLevelDelete
161     , short accessLevelUpdate
162     , boolean disabled
163   ) {
164     ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base);
165     _object.setName(name);
166     _object.setEstimateEffortHours(estimateEffortHours);
167     _object.setEstimateEffortMinutes(estimateEffortMinutes);
168     _object.setEstimateMaxDeviation(estimateMaxDeviation);
169     _object.setSumEstimateEffortHours(sumEstimateEffortHours);
170     _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes);
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 ActivityTracker extendCloneable(
182       org.opencrx.kernel.base.cci.Cloneable _base
183     , String JavaDoc name
184     , int estimateEffortHours
185     , int estimateEffortMinutes
186     , int estimateMaxDeviation
187     , int sumEstimateEffortHours
188     , int sumEstimateEffortMinutes
189     , short accessLevelBrowse
190     , short accessLevelDelete
191     , short accessLevelUpdate
192     , boolean disabled
193   ) {
194     ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base);
195     _object.setName(name);
196     _object.setEstimateEffortHours(estimateEffortHours);
197     _object.setEstimateEffortMinutes(estimateEffortMinutes);
198     _object.setEstimateMaxDeviation(estimateMaxDeviation);
199     _object.setSumEstimateEffortHours(sumEstimateEffortHours);
200     _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes);
201     _object.setAccessLevelBrowse(accessLevelBrowse);
202     _object.setAccessLevelDelete(accessLevelDelete);
203     _object.setAccessLevelUpdate(accessLevelUpdate);
204     _object.setDisabled(disabled);
205     return _object;
206   }
207
208 // ----------------------------------------------------------------------------
209
// ClassProxy/ImplInstanceExtenderRequiredAttributes
210
// ----------------------------------------------------------------------------
211
public ActivityTracker extendImporter(
212       org.opencrx.kernel.base.cci.Importer _base
213     , String JavaDoc name
214     , int estimateEffortHours
215     , int estimateEffortMinutes
216     , int estimateMaxDeviation
217     , int sumEstimateEffortHours
218     , int sumEstimateEffortMinutes
219     , short accessLevelBrowse
220     , short accessLevelDelete
221     , short accessLevelUpdate
222     , boolean disabled
223   ) {
224     ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base);
225     _object.setName(name);
226     _object.setEstimateEffortHours(estimateEffortHours);
227     _object.setEstimateEffortMinutes(estimateEffortMinutes);
228     _object.setEstimateMaxDeviation(estimateMaxDeviation);
229     _object.setSumEstimateEffortHours(sumEstimateEffortHours);
230     _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes);
231     _object.setAccessLevelBrowse(accessLevelBrowse);
232     _object.setAccessLevelDelete(accessLevelDelete);
233     _object.setAccessLevelUpdate(accessLevelUpdate);
234     _object.setDisabled(disabled);
235     return _object;
236   }
237
238 // ----------------------------------------------------------------------------
239
// ClassProxy/ImplInstanceExtenderRequiredAttributes
240
// ----------------------------------------------------------------------------
241
public ActivityTracker extendSecureObject(
242       org.opencrx.kernel.base.cci.SecureObject _base
243     , String JavaDoc name
244     , int estimateEffortHours
245     , int estimateEffortMinutes
246     , int estimateMaxDeviation
247     , int sumEstimateEffortHours
248     , int sumEstimateEffortMinutes
249     , boolean disabled
250   ) {
251     ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base);
252     _object.setName(name);
253     _object.setEstimateEffortHours(estimateEffortHours);
254     _object.setEstimateEffortMinutes(estimateEffortMinutes);
255     _object.setEstimateMaxDeviation(estimateMaxDeviation);
256     _object.setSumEstimateEffortHours(sumEstimateEffortHours);
257     _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes);
258     _object.setDisabled(disabled);
259     return _object;
260   }
261
262 // ----------------------------------------------------------------------------
263
// ClassProxy/ImplInstanceExtenderRequiredAttributes
264
// ----------------------------------------------------------------------------
265
public ActivityTracker extendSubscriptionTarget(
266       org.opencrx.kernel.base.cci.SubscriptionTarget _base
267     , String JavaDoc name
268     , int estimateEffortHours
269     , int estimateEffortMinutes
270     , int estimateMaxDeviation
271     , int sumEstimateEffortHours
272     , int sumEstimateEffortMinutes
273     , short accessLevelBrowse
274     , short accessLevelDelete
275     , short accessLevelUpdate
276     , boolean disabled
277   ) {
278     ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base);
279     _object.setName(name);
280     _object.setEstimateEffortHours(estimateEffortHours);
281     _object.setEstimateEffortMinutes(estimateEffortMinutes);
282     _object.setEstimateMaxDeviation(estimateMaxDeviation);
283     _object.setSumEstimateEffortHours(sumEstimateEffortHours);
284     _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes);
285     _object.setAccessLevelBrowse(accessLevelBrowse);
286     _object.setAccessLevelDelete(accessLevelDelete);
287     _object.setAccessLevelUpdate(accessLevelUpdate);
288     _object.setDisabled(disabled);
289     return _object;
290   }
291
292 // ----------------------------------------------------------------------------
293
// ClassProxy/ImplInstanceExtenderRequiredAttributes
294
// ----------------------------------------------------------------------------
295
public ActivityTracker extendXmlExporter(
296       org.opencrx.kernel.base.cci.XmlExporter _base
297     , String JavaDoc name
298     , int estimateEffortHours
299     , int estimateEffortMinutes
300     , int estimateMaxDeviation
301     , int sumEstimateEffortHours
302     , int sumEstimateEffortMinutes
303     , short accessLevelBrowse
304     , short accessLevelDelete
305     , short accessLevelUpdate
306     , boolean disabled
307   ) {
308     ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base);
309     _object.setName(name);
310     _object.setEstimateEffortHours(estimateEffortHours);
311     _object.setEstimateEffortMinutes(estimateEffortMinutes);
312     _object.setEstimateMaxDeviation(estimateMaxDeviation);
313     _object.setSumEstimateEffortHours(sumEstimateEffortHours);
314     _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes);
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 ActivityTracker extendCrxObject(
326       org.opencrx.kernel.generic.cci.CrxObject _base
327     , String JavaDoc name
328     , int estimateEffortHours
329     , int estimateEffortMinutes
330     , int estimateMaxDeviation
331     , int sumEstimateEffortHours
332     , int sumEstimateEffortMinutes
333   ) {
334     ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base);
335     _object.setName(name);
336     _object.setEstimateEffortHours(estimateEffortHours);
337     _object.setEstimateEffortMinutes(estimateEffortMinutes);
338     _object.setEstimateMaxDeviation(estimateMaxDeviation);
339     _object.setSumEstimateEffortHours(sumEstimateEffortHours);
340     _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes);
341     return _object;
342   }
343
344 // ----------------------------------------------------------------------------
345
// ClassProxy/ImplInstanceExtenderRequiredAttributes
346
// ----------------------------------------------------------------------------
347
public ActivityTracker extendBasicObject(
348       org.openmdx.base.cci.BasicObject _base
349     , String JavaDoc name
350     , int estimateEffortHours
351     , int estimateEffortMinutes
352     , int estimateMaxDeviation
353     , int sumEstimateEffortHours
354     , int sumEstimateEffortMinutes
355     , short accessLevelBrowse
356     , short accessLevelDelete
357     , short accessLevelUpdate
358     , boolean disabled
359   ) {
360     ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base);
361     _object.setName(name);
362     _object.setEstimateEffortHours(estimateEffortHours);
363     _object.setEstimateEffortMinutes(estimateEffortMinutes);
364     _object.setEstimateMaxDeviation(estimateMaxDeviation);
365     _object.setSumEstimateEffortHours(sumEstimateEffortHours);
366     _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes);
367     _object.setAccessLevelBrowse(accessLevelBrowse);
368     _object.setAccessLevelDelete(accessLevelDelete);
369     _object.setAccessLevelUpdate(accessLevelUpdate);
370     _object.setDisabled(disabled);
371     return _object;
372   }
373
374 // ----------------------------------------------------------------------------
375
// ClassProxy/ImplInstanceExtenderRequiredAttributes
376
// ----------------------------------------------------------------------------
377
public ActivityTracker extendContextCapable(
378       org.openmdx.base.cci.ContextCapable _base
379     , String JavaDoc name
380     , int estimateEffortHours
381     , int estimateEffortMinutes
382     , int estimateMaxDeviation
383     , int sumEstimateEffortHours
384     , int sumEstimateEffortMinutes
385     , short accessLevelBrowse
386     , short accessLevelDelete
387     , short accessLevelUpdate
388     , boolean disabled
389   ) {
390     ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base);
391     _object.setName(name);
392     _object.setEstimateEffortHours(estimateEffortHours);
393     _object.setEstimateEffortMinutes(estimateEffortMinutes);
394     _object.setEstimateMaxDeviation(estimateMaxDeviation);
395     _object.setSumEstimateEffortHours(sumEstimateEffortHours);
396     _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes);
397     _object.setAccessLevelBrowse(accessLevelBrowse);
398     _object.setAccessLevelDelete(accessLevelDelete);
399     _object.setAccessLevelUpdate(accessLevelUpdate);
400     _object.setDisabled(disabled);
401     return _object;
402   }
403
404 // ----------------------------------------------------------------------------
405
// ClassProxy/ImplInstanceExtenderRequiredAttributes
406
// ----------------------------------------------------------------------------
407
public ActivityTracker extendExtentCapable(
408       org.openmdx.base.cci.ExtentCapable _base
409     , String JavaDoc name
410     , int estimateEffortHours
411     , int estimateEffortMinutes
412     , int estimateMaxDeviation
413     , int sumEstimateEffortHours
414     , int sumEstimateEffortMinutes
415     , short accessLevelBrowse
416     , short accessLevelDelete
417     , short accessLevelUpdate
418     , boolean disabled
419   ) {
420     ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base);
421     _object.setName(name);
422     _object.setEstimateEffortHours(estimateEffortHours);
423     _object.setEstimateEffortMinutes(estimateEffortMinutes);
424     _object.setEstimateMaxDeviation(estimateMaxDeviation);
425     _object.setSumEstimateEffortHours(sumEstimateEffortHours);
426     _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes);
427     _object.setAccessLevelBrowse(accessLevelBrowse);
428     _object.setAccessLevelDelete(accessLevelDelete);
429     _object.setAccessLevelUpdate(accessLevelUpdate);
430     _object.setDisabled(disabled);
431     return _object;
432   }
433
434 // ----------------------------------------------------------------------------
435
// ClassProxy/ImplInstanceExtenderRequiredAttributes
436
// ----------------------------------------------------------------------------
437
public ActivityTracker extendViewCapable(
438       org.openmdx.compatibility.view1.cci.ViewCapable _base
439     , String JavaDoc name
440     , int estimateEffortHours
441     , int estimateEffortMinutes
442     , int estimateMaxDeviation
443     , int sumEstimateEffortHours
444     , int sumEstimateEffortMinutes
445     , short accessLevelBrowse
446     , short accessLevelDelete
447     , short accessLevelUpdate
448     , boolean disabled
449   ) {
450     ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base);
451     _object.setName(name);
452     _object.setEstimateEffortHours(estimateEffortHours);
453     _object.setEstimateEffortMinutes(estimateEffortMinutes);
454     _object.setEstimateMaxDeviation(estimateMaxDeviation);
455     _object.setSumEstimateEffortHours(sumEstimateEffortHours);
456     _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes);
457     _object.setAccessLevelBrowse(accessLevelBrowse);
458     _object.setAccessLevelDelete(accessLevelDelete);
459     _object.setAccessLevelUpdate(accessLevelUpdate);
460     _object.setDisabled(disabled);
461     return _object;
462   }
463
464 // ----------------------------------------------------------------------------
465
// ClassProxy/ImplEnd.vm
466
// ----------------------------------------------------------------------------
467
}
468
Popular Tags