KickJava   Java API By Example, From Geeks To Geeks.

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


1 // ----------------------------------------------------------------------------
2
// Instance/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:03 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.activity1.cci;
14
15 public class ActivityGroupImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements ActivityGroup {
18
19   public ActivityGroupImpl(
20     org.openmdx.base.accessor.generic.cci.Object_1_0 object,
21     javax.jmi.reflect.RefClass refClass
22   ) {
23     super(object, refClass);
24   }
25
26 // ----------------------------------------------------------------------------
27
// Instance/ImplReferenceSetWithQualifier
28
// ----------------------------------------------------------------------------
29
public void setActivityFilter(
30     java.util.List JavaDoc newValue
31   ) {
32     refSetValue("org:opencrx:kernel:activity1:ActivityGroup:activityFilter", newValue);
33   }
34
35   public void setActivityFilter(
36     org.opencrx.kernel.activity1.cci.ActivityFilterGroup[] newValue
37   ) {
38     refSetValue("org:opencrx:kernel:activity1:ActivityGroup:activityFilter", newValue);
39   }
40
41 // ----------------------------------------------------------------------------
42
// Instance/ImplReferenceGet0_1WithQualifier
43
// ----------------------------------------------------------------------------
44
public org.opencrx.kernel.activity1.cci.ActivityFilterGroup getActivityFilter(
45     String JavaDoc id
46   ) {
47     return (org.opencrx.kernel.activity1.cci.ActivityFilterGroup)refGetValue(
48       "org:opencrx:kernel:activity1:ActivityGroup:activityFilter",
49       id
50     );
51   }
52
53 // ----------------------------------------------------------------------------
54
// Instance/ImplReferenceGet0_nWithFilter
55
// ----------------------------------------------------------------------------
56
public java.util.Collection JavaDoc getActivityFilter(
57   ) {
58     return (java.util.Collection JavaDoc)refGetValue(
59       "org:opencrx:kernel:activity1:ActivityGroup:activityFilter"
60     );
61   }
62
63   public java.util.List JavaDoc getActivityFilter(
64     org.opencrx.kernel.activity1.cci.ActivityFilterGroupFilter filter
65   ) {
66     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
67       "org:opencrx:kernel:activity1:ActivityGroup:activityFilter"
68     )).toList(filter);
69   }
70
71 // ----------------------------------------------------------------------------
72
// Instance/ImplReferenceAddWithQualifier
73
// ----------------------------------------------------------------------------
74
public void addActivityFilter (
75     String JavaDoc id,
76     org.opencrx.kernel.activity1.cci.ActivityFilterGroup newValue
77   ) {
78     refAddValue(
79       "org:opencrx:kernel:activity1:ActivityGroup:activityFilter",
80       id,
81       newValue
82     );
83   }
84
85 // ----------------------------------------------------------------------------
86
// Instance/ImplReferenceAddWithoutQualifier
87
// ----------------------------------------------------------------------------
88
public void addActivityFilter (
89     org.opencrx.kernel.activity1.cci.ActivityFilterGroup newValue
90   ) {
91     refAddValue(
92       "org:opencrx:kernel:activity1:ActivityGroup:activityFilter",
93       newValue
94     );
95   }
96
97 // ----------------------------------------------------------------------------
98
// Instance/ImplReferenceRemoveWithQualifier
99
// ----------------------------------------------------------------------------
100
public void removeActivityFilter (
101     String JavaDoc id
102   ) {
103     refRemoveValue(
104       "org:opencrx:kernel:activity1:ActivityGroup:activityFilter",
105       id
106     );
107   }
108
109 // ----------------------------------------------------------------------------
110
// Instance/ImplReferenceSetWithQualifier
111
// ----------------------------------------------------------------------------
112
protected void setActivityNote(
113     java.util.List JavaDoc newValue
114   ) {
115     refSetValue("org:opencrx:kernel:activity1:ActivityGroup:activityNote", newValue);
116   }
117
118   protected void setActivityNote(
119     org.opencrx.kernel.generic.cci.Note[] newValue
120   ) {
121     refSetValue("org:opencrx:kernel:activity1:ActivityGroup:activityNote", newValue);
122   }
123
124 // ----------------------------------------------------------------------------
125
// Instance/ImplReferenceGet0_1WithQualifier
126
// ----------------------------------------------------------------------------
127
public org.opencrx.kernel.generic.cci.Note getActivityNote(
128     String JavaDoc id
129   ) {
130     return (org.opencrx.kernel.generic.cci.Note)refGetValue(
131       "org:opencrx:kernel:activity1:ActivityGroup:activityNote",
132       id
133     );
134   }
135
136 // ----------------------------------------------------------------------------
137
// Instance/ImplReferenceGet0_nWithFilter
138
// ----------------------------------------------------------------------------
139
public java.util.Collection JavaDoc getActivityNote(
140   ) {
141     return (java.util.Collection JavaDoc)refGetValue(
142       "org:opencrx:kernel:activity1:ActivityGroup:activityNote"
143     );
144   }
145
146   public java.util.List JavaDoc getActivityNote(
147     org.opencrx.kernel.generic.cci.NoteFilter filter
148   ) {
149     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
150       "org:opencrx:kernel:activity1:ActivityGroup:activityNote"
151     )).toList(filter);
152   }
153
154 // ----------------------------------------------------------------------------
155
// Instance/ImplReferenceAddWithQualifier
156
// ----------------------------------------------------------------------------
157
protected void addActivityNote (
158     String JavaDoc id,
159     org.opencrx.kernel.generic.cci.Note newValue
160   ) {
161     refAddValue(
162       "org:opencrx:kernel:activity1:ActivityGroup:activityNote",
163       id,
164       newValue
165     );
166   }
167
168 // ----------------------------------------------------------------------------
169
// Instance/ImplReferenceAddWithoutQualifier
170
// ----------------------------------------------------------------------------
171
protected void addActivityNote (
172     org.opencrx.kernel.generic.cci.Note newValue
173   ) {
174     refAddValue(
175       "org:opencrx:kernel:activity1:ActivityGroup:activityNote",
176       newValue
177     );
178   }
179
180 // ----------------------------------------------------------------------------
181
// Instance/ImplReferenceRemoveWithQualifier
182
// ----------------------------------------------------------------------------
183
protected void removeActivityNote (
184     String JavaDoc id
185   ) {
186     refRemoveValue(
187       "org:opencrx:kernel:activity1:ActivityGroup:activityNote",
188       id
189     );
190   }
191
192 // ----------------------------------------------------------------------------
193
// Instance/ImplAttributeGet0_1
194
// ----------------------------------------------------------------------------
195
public Integer JavaDoc getActualEffortHours (
196   ) {
197     return (Integer JavaDoc)this.refGetValue("actualEffortHours", 0);
198   }
199 // ----------------------------------------------------------------------------
200
// Instance/ImplAttributeSet0_1
201
// ----------------------------------------------------------------------------
202
protected void setActualEffortHours(
203     Integer JavaDoc newValue
204   ) {
205     refSetValue("org:opencrx:kernel:activity1:ActivityGroup:actualEffortHours", 0, newValue);
206   }
207
208 // ----------------------------------------------------------------------------
209
// Instance/ImplAttributeGet0_1
210
// ----------------------------------------------------------------------------
211
public Integer JavaDoc getActualEffortMinutes (
212   ) {
213     return (Integer JavaDoc)this.refGetValue("actualEffortMinutes", 0);
214   }
215 // ----------------------------------------------------------------------------
216
// Instance/ImplAttributeSet0_1
217
// ----------------------------------------------------------------------------
218
protected void setActualEffortMinutes(
219     Integer JavaDoc newValue
220   ) {
221     refSetValue("org:opencrx:kernel:activity1:ActivityGroup:actualEffortMinutes", 0, newValue);
222   }
223
224 // ----------------------------------------------------------------------------
225
// Instance/ImplAttributeGet0_1
226
// ----------------------------------------------------------------------------
227
public String JavaDoc getDescription (
228   ) {
229     return (String JavaDoc)this.refGetValue("description", 0);
230   }
231 // ----------------------------------------------------------------------------
232
// Instance/ImplAttributeSet0_1
233
// ----------------------------------------------------------------------------
234
public void setDescription(
235     String JavaDoc newValue
236   ) {
237     refSetValue("org:opencrx:kernel:activity1:ActivityGroup:description", 0, newValue);
238   }
239
240 // ----------------------------------------------------------------------------
241
// Instance/ImplReferenceSetWithQualifier
242
// ----------------------------------------------------------------------------
243
protected void setFilteredActivity(
244     java.util.List JavaDoc newValue
245   ) {
246     refSetValue("org:opencrx:kernel:activity1:ActivityGroup:filteredActivity", newValue);
247   }
248
249   protected void setFilteredActivity(
250     org.opencrx.kernel.activity1.cci.Activity[] newValue
251   ) {
252     refSetValue("org:opencrx:kernel:activity1:ActivityGroup:filteredActivity", newValue);
253   }
254
255 // ----------------------------------------------------------------------------
256
// Instance/ImplReferenceGet0_1WithQualifier
257
// ----------------------------------------------------------------------------
258
public org.opencrx.kernel.activity1.cci.Activity getFilteredActivity(
259     String JavaDoc id
260   ) {
261     return (org.opencrx.kernel.activity1.cci.Activity)refGetValue(
262       "org:opencrx:kernel:activity1:ActivityGroup:filteredActivity",
263       id
264     );
265   }
266
267 // ----------------------------------------------------------------------------
268
// Instance/ImplReferenceGet0_nWithFilter
269
// ----------------------------------------------------------------------------
270
public java.util.Collection JavaDoc getFilteredActivity(
271   ) {
272     return (java.util.Collection JavaDoc)refGetValue(
273       "org:opencrx:kernel:activity1:ActivityGroup:filteredActivity"
274     );
275   }
276
277   public java.util.List JavaDoc getFilteredActivity(
278     org.opencrx.kernel.activity1.cci.ActivityFilter filter
279   ) {
280     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
281       "org:opencrx:kernel:activity1:ActivityGroup:filteredActivity"
282     )).toList(filter);
283   }
284
285 // ----------------------------------------------------------------------------
286
// Instance/ImplReferenceAddWithQualifier
287
// ----------------------------------------------------------------------------
288
protected void addFilteredActivity (
289     String JavaDoc id,
290     org.opencrx.kernel.activity1.cci.Activity newValue
291   ) {
292     refAddValue(
293       "org:opencrx:kernel:activity1:ActivityGroup:filteredActivity",
294       id,
295       newValue
296     );
297   }
298
299 // ----------------------------------------------------------------------------
300
// Instance/ImplReferenceAddWithoutQualifier
301
// ----------------------------------------------------------------------------
302
protected void addFilteredActivity (
303     org.opencrx.kernel.activity1.cci.Activity newValue
304   ) {
305     refAddValue(
306       "org:opencrx:kernel:activity1:ActivityGroup:filteredActivity",
307       newValue
308     );
309   }
310
311 // ----------------------------------------------------------------------------
312
// Instance/ImplReferenceRemoveWithQualifier
313
// ----------------------------------------------------------------------------
314
protected void removeFilteredActivity (
315     String JavaDoc id
316   ) {
317     refRemoveValue(
318       "org:opencrx:kernel:activity1:ActivityGroup:filteredActivity",
319       id
320     );
321   }
322
323 // ----------------------------------------------------------------------------
324
// Instance/ImplReferenceSetWithQualifier
325
// ----------------------------------------------------------------------------
326
protected void setFollowUp(
327     java.util.List JavaDoc newValue
328   ) {
329     refSetValue("org:opencrx:kernel:activity1:ActivityGroup:followUp", newValue);
330   }
331
332   protected void setFollowUp(
333     org.opencrx.kernel.activity1.cci.ActivityFollowUp[] newValue
334   ) {
335     refSetValue("org:opencrx:kernel:activity1:ActivityGroup:followUp", newValue);
336   }
337
338 // ----------------------------------------------------------------------------
339
// Instance/ImplReferenceGet0_1WithQualifier
340
// ----------------------------------------------------------------------------
341
public org.opencrx.kernel.activity1.cci.ActivityFollowUp getFollowUp(
342     String JavaDoc id
343   ) {
344     return (org.opencrx.kernel.activity1.cci.ActivityFollowUp)refGetValue(
345       "org:opencrx:kernel:activity1:ActivityGroup:followUp",
346       id
347     );
348   }
349
350 // ----------------------------------------------------------------------------
351
// Instance/ImplReferenceGet0_nWithFilter
352
// ----------------------------------------------------------------------------
353
public java.util.Collection JavaDoc getFollowUp(
354   ) {
355     return (java.util.Collection JavaDoc)refGetValue(
356       "org:opencrx:kernel:activity1:ActivityGroup:followUp"
357     );
358   }
359
360   public java.util.List JavaDoc getFollowUp(
361     org.opencrx.kernel.activity1.cci.ActivityFollowUpFilter filter
362   ) {
363     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
364       "org:opencrx:kernel:activity1:ActivityGroup:followUp"
365     )).toList(filter);
366   }
367
368 // ----------------------------------------------------------------------------
369
// Instance/ImplReferenceAddWithQualifier
370
// ----------------------------------------------------------------------------
371
protected void addFollowUp (
372     String JavaDoc id,
373     org.opencrx.kernel.activity1.cci.ActivityFollowUp newValue
374   ) {
375     refAddValue(
376       "org:opencrx:kernel:activity1:ActivityGroup:followUp",
377       id,
378       newValue
379     );
380   }
381
382 // ----------------------------------------------------------------------------
383
// Instance/ImplReferenceAddWithoutQualifier
384
// ----------------------------------------------------------------------------
385
protected void addFollowUp (
386     org.opencrx.kernel.activity1.cci.ActivityFollowUp newValue
387   ) {
388     refAddValue(
389       "org:opencrx:kernel:activity1:ActivityGroup:followUp",
390       newValue
391     );
392   }
393
394 // ----------------------------------------------------------------------------
395
// Instance/ImplReferenceRemoveWithQualifier
396
// ----------------------------------------------------------------------------
397
protected void removeFollowUp (
398     String JavaDoc id
399   ) {
400     refRemoveValue(
401       "org:opencrx:kernel:activity1:ActivityGroup:followUp",
402       id
403     );
404   }
405
406 // ----------------------------------------------------------------------------
407
// Instance/ImplAttributeGet1_1
408
// ----------------------------------------------------------------------------
409
public String JavaDoc getName(
410   ) {
411     return getName(0);
412   }
413
414   protected String JavaDoc getName(
415     int index
416   ) {
417     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:activity1:ActivityGroup:name", index);
418   }
419
420 // ----------------------------------------------------------------------------
421
// Instance/ImplAttributeSet1_1
422
// ----------------------------------------------------------------------------
423
public void setName(
424     String JavaDoc newValue
425   ) {
426     setName(0, newValue);
427   }
428
429   protected void setName(
430     int index,
431     String JavaDoc newValue
432   ) {
433     refSetValue("org:opencrx:kernel:activity1:ActivityGroup:name", index, newValue);
434   }
435 // ----------------------------------------------------------------------------
436
// Instance/ImplReferenceSetWithQualifier
437
// ----------------------------------------------------------------------------
438
protected void setWorkReportEntry(
439     java.util.List JavaDoc newValue
440   ) {
441     refSetValue("org:opencrx:kernel:activity1:ActivityGroup:workReportEntry", newValue);
442   }
443
444   protected void setWorkReportEntry(
445     org.opencrx.kernel.activity1.cci.WorkReportEntry[] newValue
446   ) {
447     refSetValue("org:opencrx:kernel:activity1:ActivityGroup:workReportEntry", newValue);
448   }
449
450 // ----------------------------------------------------------------------------
451
// Instance/ImplReferenceGet0_1WithQualifier
452
// ----------------------------------------------------------------------------
453
public org.opencrx.kernel.activity1.cci.WorkReportEntry getWorkReportEntry(
454     String JavaDoc id
455   ) {
456     return (org.opencrx.kernel.activity1.cci.WorkReportEntry)refGetValue(
457       "org:opencrx:kernel:activity1:ActivityGroup:workReportEntry",
458       id
459     );
460   }
461
462 // ----------------------------------------------------------------------------
463
// Instance/ImplReferenceGet0_nWithFilter
464
// ----------------------------------------------------------------------------
465
public java.util.Collection JavaDoc getWorkReportEntry(
466   ) {
467     return (java.util.Collection JavaDoc)refGetValue(
468       "org:opencrx:kernel:activity1:ActivityGroup:workReportEntry"
469     );
470   }
471
472   public java.util.List JavaDoc getWorkReportEntry(
473     org.opencrx.kernel.activity1.cci.WorkReportEntryFilter filter
474   ) {
475     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
476       "org:opencrx:kernel:activity1:ActivityGroup:workReportEntry"
477     )).toList(filter);
478   }
479
480 // ----------------------------------------------------------------------------
481
// Instance/ImplReferenceAddWithQualifier
482
// ----------------------------------------------------------------------------
483
protected void addWorkReportEntry (
484     String JavaDoc id,
485     org.opencrx.kernel.activity1.cci.WorkReportEntry newValue
486   ) {
487     refAddValue(
488       "org:opencrx:kernel:activity1:ActivityGroup:workReportEntry",
489       id,
490       newValue
491     );
492   }
493
494 // ----------------------------------------------------------------------------
495
// Instance/ImplReferenceAddWithoutQualifier
496
// ----------------------------------------------------------------------------
497
protected void addWorkReportEntry (
498     org.opencrx.kernel.activity1.cci.WorkReportEntry newValue
499   ) {
500     refAddValue(
501       "org:opencrx:kernel:activity1:ActivityGroup:workReportEntry",
502       newValue
503     );
504   }
505
506 // ----------------------------------------------------------------------------
507
// Instance/ImplReferenceRemoveWithQualifier
508
// ----------------------------------------------------------------------------
509
protected void removeWorkReportEntry (
510     String JavaDoc id
511   ) {
512     refRemoveValue(
513       "org:opencrx:kernel:activity1:ActivityGroup:workReportEntry",
514       id
515     );
516   }
517
518 // ----------------------------------------------------------------------------
519
// Instance/ImplEnd
520
// ----------------------------------------------------------------------------
521
}
522
Popular Tags