KickJava   Java API By Example, From Geeks To Geeks.

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


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:02 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.activity1.cci;
14
15 public class WorkReportEntryImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements WorkReportEntry {
18
19   public WorkReportEntryImpl(
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/ImplReferenceGet0_1NoQualifier
28
// ----------------------------------------------------------------------------
29
public org.opencrx.kernel.activity1.cci.Activity getActivity(
30   ) {
31     return (org.opencrx.kernel.activity1.cci.Activity)refGetValue(
32       "org:opencrx:kernel:activity1:WorkReportEntry:activity"
33     );
34   }
35
36 // ----------------------------------------------------------------------------
37
// Instance/ImplReferenceSetNoQualifier
38
// ----------------------------------------------------------------------------
39
protected void setActivity(
40     org.opencrx.kernel.activity1.cci.Activity newValue
41   ) {
42     refSetValue(
43       "org:opencrx:kernel:activity1:WorkReportEntry:activity",
44       newValue
45     );
46   }
47
48 // ----------------------------------------------------------------------------
49
// Instance/ImplReferenceRemoveOptional
50
// ----------------------------------------------------------------------------
51
protected void removeActivity (
52   ) {
53     refRemoveValue(
54       "org:opencrx:kernel:activity1:WorkReportEntry:activity"
55     );
56   }
57 // ----------------------------------------------------------------------------
58
// Instance/ImplAttributeGet1_1
59
// ----------------------------------------------------------------------------
60
public String JavaDoc getActivityNumber(
61   ) {
62     return getActivityNumber(0);
63   }
64
65   protected String JavaDoc getActivityNumber(
66     int index
67   ) {
68     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:activity1:WorkReportEntry:activityNumber", index);
69   }
70
71 // ----------------------------------------------------------------------------
72
// Instance/ImplAttributeSet1_1
73
// ----------------------------------------------------------------------------
74
protected void setActivityNumber(
75     String JavaDoc newValue
76   ) {
77     setActivityNumber(0, newValue);
78   }
79
80   protected void setActivityNumber(
81     int index,
82     String JavaDoc newValue
83   ) {
84     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:activityNumber", index, newValue);
85   }
86 // ----------------------------------------------------------------------------
87
// Instance/ImplReferenceGet0_1NoQualifier
88
// ----------------------------------------------------------------------------
89
public org.opencrx.kernel.activity1.cci.ResourceAssignment getAssignment(
90   ) {
91     return (org.opencrx.kernel.activity1.cci.ResourceAssignment)refGetValue(
92       "org:opencrx:kernel:activity1:WorkReportEntry:assignment"
93     );
94   }
95
96 // ----------------------------------------------------------------------------
97
// Instance/ImplReferenceSetNoQualifier
98
// ----------------------------------------------------------------------------
99
protected void setAssignment(
100     org.opencrx.kernel.activity1.cci.ResourceAssignment newValue
101   ) {
102     refSetValue(
103       "org:opencrx:kernel:activity1:WorkReportEntry:assignment",
104       newValue
105     );
106   }
107
108 // ----------------------------------------------------------------------------
109
// Instance/ImplReferenceRemoveOptional
110
// ----------------------------------------------------------------------------
111
protected void removeAssignment (
112   ) {
113     refRemoveValue(
114       "org:opencrx:kernel:activity1:WorkReportEntry:assignment"
115     );
116   }
117 // ----------------------------------------------------------------------------
118
// Instance/ImplAttributeGet0_1
119
// ----------------------------------------------------------------------------
120
public java.math.BigDecimal JavaDoc getBillableAmount (
121   ) {
122     return (java.math.BigDecimal JavaDoc)this.refGetValue("billableAmount", 0);
123   }
124 // ----------------------------------------------------------------------------
125
// Instance/ImplAttributeSet0_1
126
// ----------------------------------------------------------------------------
127
protected void setBillableAmount(
128     java.math.BigDecimal JavaDoc newValue
129   ) {
130     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:billableAmount", 0, newValue);
131   }
132
133 // ----------------------------------------------------------------------------
134
// Instance/ImplAttributeGet1_1
135
// ----------------------------------------------------------------------------
136
public short getBillingCurrency(
137   ) {
138     return getBillingCurrency(0);
139   }
140
141   protected short getBillingCurrency(
142     int index
143   ) {
144     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:activity1:WorkReportEntry:billingCurrency", index)).shortValue();
145   }
146
147 // ----------------------------------------------------------------------------
148
// Instance/ImplAttributeSet1_1
149
// ----------------------------------------------------------------------------
150
protected void setBillingCurrency(
151     short newValue
152   ) {
153     setBillingCurrency(0, newValue);
154   }
155
156   protected void setBillingCurrency(
157     int index,
158     short newValue
159   ) {
160     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:billingCurrency", index, new Short JavaDoc(newValue));
161   }
162 // ----------------------------------------------------------------------------
163
// Instance/ImplAttributeGet0_1
164
// ----------------------------------------------------------------------------
165
public String JavaDoc getDescription (
166   ) {
167     return (String JavaDoc)this.refGetValue("description", 0);
168   }
169 // ----------------------------------------------------------------------------
170
// Instance/ImplAttributeSet0_1
171
// ----------------------------------------------------------------------------
172
protected void setDescription(
173     String JavaDoc newValue
174   ) {
175     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:description", 0, newValue);
176   }
177
178 // ----------------------------------------------------------------------------
179
// Instance/ImplAttributeGet0_1
180
// ----------------------------------------------------------------------------
181
public java.math.BigDecimal JavaDoc getDurationDecimal (
182   ) {
183     return (java.math.BigDecimal JavaDoc)this.refGetValue("durationDecimal", 0);
184   }
185 // ----------------------------------------------------------------------------
186
// Instance/ImplAttributeSet0_1
187
// ----------------------------------------------------------------------------
188
protected void setDurationDecimal(
189     java.math.BigDecimal JavaDoc newValue
190   ) {
191     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:durationDecimal", 0, newValue);
192   }
193
194 // ----------------------------------------------------------------------------
195
// Instance/ImplAttributeGet0_1
196
// ----------------------------------------------------------------------------
197
public String JavaDoc getDurationHhMm (
198   ) {
199     return (String JavaDoc)this.refGetValue("durationHhMm", 0);
200   }
201 // ----------------------------------------------------------------------------
202
// Instance/ImplAttributeSet0_1
203
// ----------------------------------------------------------------------------
204
protected void setDurationHhMm(
205     String JavaDoc newValue
206   ) {
207     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:durationHhMm", 0, newValue);
208   }
209
210 // ----------------------------------------------------------------------------
211
// Instance/ImplAttributeGet1_1
212
// ----------------------------------------------------------------------------
213
public short getDurationHours(
214   ) {
215     return getDurationHours(0);
216   }
217
218   protected short getDurationHours(
219     int index
220   ) {
221     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:activity1:WorkReportEntry:durationHours", index)).shortValue();
222   }
223
224 // ----------------------------------------------------------------------------
225
// Instance/ImplAttributeSet1_1
226
// ----------------------------------------------------------------------------
227
protected void setDurationHours(
228     short newValue
229   ) {
230     setDurationHours(0, newValue);
231   }
232
233   protected void setDurationHours(
234     int index,
235     short newValue
236   ) {
237     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:durationHours", index, new Short JavaDoc(newValue));
238   }
239 // ----------------------------------------------------------------------------
240
// Instance/ImplAttributeGet1_1
241
// ----------------------------------------------------------------------------
242
public short getDurationMinutes(
243   ) {
244     return getDurationMinutes(0);
245   }
246
247   protected short getDurationMinutes(
248     int index
249   ) {
250     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:activity1:WorkReportEntry:durationMinutes", index)).shortValue();
251   }
252
253 // ----------------------------------------------------------------------------
254
// Instance/ImplAttributeSet1_1
255
// ----------------------------------------------------------------------------
256
protected void setDurationMinutes(
257     short newValue
258   ) {
259     setDurationMinutes(0, newValue);
260   }
261
262   protected void setDurationMinutes(
263     int index,
264     short newValue
265   ) {
266     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:durationMinutes", index, new Short JavaDoc(newValue));
267   }
268 // ----------------------------------------------------------------------------
269
// Instance/ImplAttributeGet1_1
270
// ----------------------------------------------------------------------------
271
public java.util.Date JavaDoc getEndedAt(
272   ) {
273     return getEndedAt(0);
274   }
275
276   protected java.util.Date JavaDoc getEndedAt(
277     int index
278   ) {
279     return (java.util.Date JavaDoc)this.refGetValue("org:opencrx:kernel:activity1:WorkReportEntry:endedAt", index);
280   }
281
282 // ----------------------------------------------------------------------------
283
// Instance/ImplAttributeSet1_1
284
// ----------------------------------------------------------------------------
285
protected void setEndedAt(
286     java.util.Date JavaDoc newValue
287   ) {
288     setEndedAt(0, newValue);
289   }
290
291   protected void setEndedAt(
292     int index,
293     java.util.Date JavaDoc newValue
294   ) {
295     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:endedAt", index, newValue);
296   }
297 // ----------------------------------------------------------------------------
298
// Instance/ImplAttributeGet1_1
299
// ----------------------------------------------------------------------------
300
public String JavaDoc getName(
301   ) {
302     return getName(0);
303   }
304
305   protected String JavaDoc getName(
306     int index
307   ) {
308     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:activity1:WorkReportEntry:name", index);
309   }
310
311 // ----------------------------------------------------------------------------
312
// Instance/ImplAttributeSet1_1
313
// ----------------------------------------------------------------------------
314
protected void setName(
315     String JavaDoc newValue
316   ) {
317     setName(0, newValue);
318   }
319
320   protected void setName(
321     int index,
322     String JavaDoc newValue
323   ) {
324     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:name", index, newValue);
325   }
326 // ----------------------------------------------------------------------------
327
// Instance/ImplAttributeGet0_1
328
// ----------------------------------------------------------------------------
329
public java.math.BigDecimal JavaDoc getPauseDurationDecimal (
330   ) {
331     return (java.math.BigDecimal JavaDoc)this.refGetValue("pauseDurationDecimal", 0);
332   }
333 // ----------------------------------------------------------------------------
334
// Instance/ImplAttributeSet0_1
335
// ----------------------------------------------------------------------------
336
protected void setPauseDurationDecimal(
337     java.math.BigDecimal JavaDoc newValue
338   ) {
339     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:pauseDurationDecimal", 0, newValue);
340   }
341
342 // ----------------------------------------------------------------------------
343
// Instance/ImplAttributeGet0_1
344
// ----------------------------------------------------------------------------
345
public String JavaDoc getPauseDurationHhMm (
346   ) {
347     return (String JavaDoc)this.refGetValue("pauseDurationHhMm", 0);
348   }
349 // ----------------------------------------------------------------------------
350
// Instance/ImplAttributeSet0_1
351
// ----------------------------------------------------------------------------
352
protected void setPauseDurationHhMm(
353     String JavaDoc newValue
354   ) {
355     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:pauseDurationHhMm", 0, newValue);
356   }
357
358 // ----------------------------------------------------------------------------
359
// Instance/ImplAttributeGet0_1
360
// ----------------------------------------------------------------------------
361
public Short JavaDoc getPauseDurationHours (
362   ) {
363     return (Short JavaDoc)this.refGetValue("pauseDurationHours", 0);
364   }
365 // ----------------------------------------------------------------------------
366
// Instance/ImplAttributeSet0_1
367
// ----------------------------------------------------------------------------
368
protected void setPauseDurationHours(
369     Short JavaDoc newValue
370   ) {
371     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:pauseDurationHours", 0, newValue);
372   }
373
374 // ----------------------------------------------------------------------------
375
// Instance/ImplAttributeGet0_1
376
// ----------------------------------------------------------------------------
377
public Short JavaDoc getPauseDurationMinutes (
378   ) {
379     return (Short JavaDoc)this.refGetValue("pauseDurationMinutes", 0);
380   }
381 // ----------------------------------------------------------------------------
382
// Instance/ImplAttributeSet0_1
383
// ----------------------------------------------------------------------------
384
protected void setPauseDurationMinutes(
385     Short JavaDoc newValue
386   ) {
387     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:pauseDurationMinutes", 0, newValue);
388   }
389
390 // ----------------------------------------------------------------------------
391
// Instance/ImplReferenceGet0_1NoQualifier
392
// ----------------------------------------------------------------------------
393
public org.opencrx.kernel.activity1.cci.Resource getResource(
394   ) {
395     return (org.opencrx.kernel.activity1.cci.Resource)refGetValue(
396       "org:opencrx:kernel:activity1:WorkReportEntry:resource"
397     );
398   }
399
400 // ----------------------------------------------------------------------------
401
// Instance/ImplReferenceSetNoQualifier
402
// ----------------------------------------------------------------------------
403
public void setResource(
404     org.opencrx.kernel.activity1.cci.Resource newValue
405   ) {
406     refSetValue(
407       "org:opencrx:kernel:activity1:WorkReportEntry:resource",
408       newValue
409     );
410   }
411
412 // ----------------------------------------------------------------------------
413
// Instance/ImplReferenceRemoveOptional
414
// ----------------------------------------------------------------------------
415
public void removeResource (
416   ) {
417     refRemoveValue(
418       "org:opencrx:kernel:activity1:WorkReportEntry:resource"
419     );
420   }
421 // ----------------------------------------------------------------------------
422
// Instance/ImplAttributeGet1_1
423
// ----------------------------------------------------------------------------
424
public java.util.Date JavaDoc getStartedAt(
425   ) {
426     return getStartedAt(0);
427   }
428
429   protected java.util.Date JavaDoc getStartedAt(
430     int index
431   ) {
432     return (java.util.Date JavaDoc)this.refGetValue("org:opencrx:kernel:activity1:WorkReportEntry:startedAt", index);
433   }
434
435 // ----------------------------------------------------------------------------
436
// Instance/ImplAttributeSet1_1
437
// ----------------------------------------------------------------------------
438
protected void setStartedAt(
439     java.util.Date JavaDoc newValue
440   ) {
441     setStartedAt(0, newValue);
442   }
443
444   protected void setStartedAt(
445     int index,
446     java.util.Date JavaDoc newValue
447   ) {
448     refSetValue("org:opencrx:kernel:activity1:WorkReportEntry:startedAt", index, newValue);
449   }
450 // ----------------------------------------------------------------------------
451
// Instance/ImplReferenceGet0_1NoQualifier
452
// ----------------------------------------------------------------------------
453
public org.opencrx.kernel.activity1.cci.ActivityWorkRecord getWorkRecord(
454   ) {
455     return (org.opencrx.kernel.activity1.cci.ActivityWorkRecord)refGetValue(
456       "org:opencrx:kernel:activity1:WorkReportEntry:workRecord"
457     );
458   }
459
460 // ----------------------------------------------------------------------------
461
// Instance/ImplReferenceSetNoQualifier
462
// ----------------------------------------------------------------------------
463
protected void setWorkRecord(
464     org.opencrx.kernel.activity1.cci.ActivityWorkRecord newValue
465   ) {
466     refSetValue(
467       "org:opencrx:kernel:activity1:WorkReportEntry:workRecord",
468       newValue
469     );
470   }
471
472 // ----------------------------------------------------------------------------
473
// Instance/ImplReferenceRemoveOptional
474
// ----------------------------------------------------------------------------
475
protected void removeWorkRecord (
476   ) {
477     refRemoveValue(
478       "org:opencrx:kernel:activity1:WorkReportEntry:workRecord"
479     );
480   }
481 // ----------------------------------------------------------------------------
482
// Instance/ImplAttributeGet1_1
483
// ----------------------------------------------------------------------------
484
public short getAccessLevelBrowse(
485   ) {
486     return getAccessLevelBrowse(0);
487   }
488
489   protected short getAccessLevelBrowse(
490     int index
491   ) {
492     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue();
493   }
494
495 // ----------------------------------------------------------------------------
496
// Instance/ImplAttributeSet1_1
497
// ----------------------------------------------------------------------------
498
public void setAccessLevelBrowse(
499     short newValue
500   ) {
501     setAccessLevelBrowse(0, newValue);
502   }
503
504   protected void setAccessLevelBrowse(
505     int index,
506     short newValue
507   ) {
508     refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short JavaDoc(newValue));
509   }
510 // ----------------------------------------------------------------------------
511
// Instance/ImplAttributeGet1_1
512
// ----------------------------------------------------------------------------
513
public short getAccessLevelDelete(
514   ) {
515     return getAccessLevelDelete(0);
516   }
517
518   protected short getAccessLevelDelete(
519     int index
520   ) {
521     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue();
522   }
523
524 // ----------------------------------------------------------------------------
525
// Instance/ImplAttributeSet1_1
526
// ----------------------------------------------------------------------------
527
public void setAccessLevelDelete(
528     short newValue
529   ) {
530     setAccessLevelDelete(0, newValue);
531   }
532
533   protected void setAccessLevelDelete(
534     int index,
535     short newValue
536   ) {
537     refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short JavaDoc(newValue));
538   }
539 // ----------------------------------------------------------------------------
540
// Instance/ImplAttributeGet1_1
541
// ----------------------------------------------------------------------------
542
public short getAccessLevelUpdate(
543   ) {
544     return getAccessLevelUpdate(0);
545   }
546
547   protected short getAccessLevelUpdate(
548     int index
549   ) {
550     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue();
551   }
552
553 // ----------------------------------------------------------------------------
554
// Instance/ImplAttributeSet1_1
555
// ----------------------------------------------------------------------------
556
public void setAccessLevelUpdate(
557     short newValue
558   ) {
559     setAccessLevelUpdate(0, newValue);
560   }
561
562   protected void setAccessLevelUpdate(
563     int index,
564     short newValue
565   ) {
566     refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short JavaDoc(newValue));
567   }
568 // ----------------------------------------------------------------------------
569
// Instance/ImplOperation
570
// ----------------------------------------------------------------------------
571
public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup(
572       org.opencrx.kernel.base.cci.ModifyOwningGroupParams params
573   ) throws javax.jmi.reflect.RefException {
574     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
575     args.add(params);
576     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
577       "org:opencrx:kernel:base:SecureObject:addOwningGroup",
578       args
579     );
580   }
581
582   public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup(
583       org.opencrx.security.realm1.cci.PrincipalGroup group
584     , short mode
585   ) throws javax.jmi.reflect.RefException {
586     return addOwningGroup(
587       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams(
588         group
589     , mode
590       )
591     );
592   }
593
594 // ----------------------------------------------------------------------------
595
// Instance/ImplAttributeGetList
596
// ----------------------------------------------------------------------------
597
public java.util.List JavaDoc getOwner (
598   ) {
599     return (java.util.List JavaDoc)this.refGetValue("owner");
600   }
601   public String JavaDoc getOwner(
602     int index
603   ) {
604     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index);
605   }
606
607 // ----------------------------------------------------------------------------
608
// Instance/ImplAttributeSetList
609
// ----------------------------------------------------------------------------
610
protected void setOwner(
611     java.util.List JavaDoc newValue
612   ) {
613     refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue);
614   }
615
616   protected void setOwner(
617     String JavaDoc[] newValue
618   ) {
619     refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue);
620   }
621
622 // ----------------------------------------------------------------------------
623
// Instance/ImplReferenceSetWithQualifier
624
// ----------------------------------------------------------------------------
625
public void setOwningGroup(
626     java.util.List JavaDoc newValue
627   ) {
628     refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue);
629   }
630
631   public void setOwningGroup(
632     org.opencrx.security.realm1.cci.PrincipalGroup[] newValue
633   ) {
634     refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue);
635   }
636
637 // ----------------------------------------------------------------------------
638
// Instance/ImplReferenceGet0_1WithQualifier
639
// ----------------------------------------------------------------------------
640
public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup(
641     int index
642   ) {
643     return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue(
644       "org:opencrx:kernel:base:SecureObject:owningGroup",
645       new Integer JavaDoc(index)
646     );
647   }
648
649 // ----------------------------------------------------------------------------
650
// Instance/ImplReferenceGet0_nNoFilter
651
// ----------------------------------------------------------------------------
652
public java.util.Collection JavaDoc getOwningGroup(
653   ) {
654     return (java.util.Collection JavaDoc)refGetValue(
655       "org:opencrx:kernel:base:SecureObject:owningGroup"
656     );
657   }
658
659 // ----------------------------------------------------------------------------
660
// Instance/ImplReferenceAddWithQualifier
661
// ----------------------------------------------------------------------------
662
public void addOwningGroup (
663     int index,
664     org.opencrx.security.realm1.cci.PrincipalGroup newValue
665   ) {
666     refAddValue(
667       "org:opencrx:kernel:base:SecureObject:owningGroup",
668       new Integer JavaDoc(index),
669       newValue
670     );
671   }
672
673 // ----------------------------------------------------------------------------
674
// Instance/ImplReferenceAddWithoutQualifier
675
// ----------------------------------------------------------------------------
676
public void addOwningGroup (
677     org.opencrx.security.realm1.cci.PrincipalGroup newValue
678   ) {
679     refAddValue(
680       "org:opencrx:kernel:base:SecureObject:owningGroup",
681       newValue
682     );
683   }
684
685 // ----------------------------------------------------------------------------
686
// Instance/ImplReferenceRemoveWithQualifier
687
// ----------------------------------------------------------------------------
688
public void removeOwningGroup (
689     int index
690   ) {
691     refRemoveValue(
692       "org:opencrx:kernel:base:SecureObject:owningGroup",
693       new Integer JavaDoc(index)
694     );
695   }
696
697 // ----------------------------------------------------------------------------
698
// Instance/ImplReferenceGet0_1NoQualifier
699
// ----------------------------------------------------------------------------
700
public org.opencrx.security.realm1.cci.User getOwningUser(
701   ) {
702     return (org.opencrx.security.realm1.cci.User)refGetValue(
703       "org:opencrx:kernel:base:SecureObject:owningUser"
704     );
705   }
706
707 // ----------------------------------------------------------------------------
708
// Instance/ImplReferenceSetNoQualifier
709
// ----------------------------------------------------------------------------
710
public void setOwningUser(
711     org.opencrx.security.realm1.cci.User newValue
712   ) {
713     refSetValue(
714       "org:opencrx:kernel:base:SecureObject:owningUser",
715       newValue
716     );
717   }
718
719 // ----------------------------------------------------------------------------
720
// Instance/ImplReferenceRemoveOptional
721
// ----------------------------------------------------------------------------
722
public void removeOwningUser (
723   ) {
724     refRemoveValue(
725       "org:opencrx:kernel:base:SecureObject:owningUser"
726     );
727   }
728 // ----------------------------------------------------------------------------
729
// Instance/ImplOperation
730
// ----------------------------------------------------------------------------
731
public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup(
732       org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params
733   ) throws javax.jmi.reflect.RefException {
734     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
735     args.add(params);
736     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
737       "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup",
738       args
739     );
740   }
741
742   public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup(
743       short mode
744   ) throws javax.jmi.reflect.RefException {
745     return removeAllOwningGroup(
746       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams(
747         mode
748       )
749     );
750   }
751
752 // ----------------------------------------------------------------------------
753
// Instance/ImplOperation
754
// ----------------------------------------------------------------------------
755
public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup(
756       org.opencrx.kernel.base.cci.ModifyOwningGroupParams params
757   ) throws javax.jmi.reflect.RefException {
758     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
759     args.add(params);
760     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
761       "org:opencrx:kernel:base:SecureObject:removeOwningGroup",
762       args
763     );
764   }
765
766   public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup(
767       org.opencrx.security.realm1.cci.PrincipalGroup group
768     , short mode
769   ) throws javax.jmi.reflect.RefException {
770     return removeOwningGroup(
771       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams(
772         group
773     , mode
774       )
775     );
776   }
777
778 // ----------------------------------------------------------------------------
779
// Instance/ImplOperation
780
// ----------------------------------------------------------------------------
781
public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel(
782       org.opencrx.kernel.base.cci.SetAccessLevelParams params
783   ) throws javax.jmi.reflect.RefException {
784     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
785     args.add(params);
786     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
787       "org:opencrx:kernel:base:SecureObject:setAccessLevel",
788       args
789     );
790   }
791
792   public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel(
793       short accessLevelBrowse
794     , short accessLevelDelete
795     , short accessLevelUpdate
796     , short mode
797   ) throws javax.jmi.reflect.RefException {
798     return setAccessLevel(
799       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams(
800         accessLevelBrowse
801     , accessLevelDelete
802     , accessLevelUpdate
803     , mode
804       )
805     );
806   }
807
808 // ----------------------------------------------------------------------------
809
// Instance/ImplOperation
810
// ----------------------------------------------------------------------------
811
public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser(
812       org.opencrx.kernel.base.cci.SetOwningUserParams params
813   ) throws javax.jmi.reflect.RefException {
814     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
815     args.add(params);
816     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
817       "org:opencrx:kernel:base:SecureObject:setOwningUser",
818       args
819     );
820   }
821
822   public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser(
823       short mode
824     , org.opencrx.security.realm1.cci.User user
825   ) throws javax.jmi.reflect.RefException {
826     return setOwningUser(
827       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams(
828         mode
829     , user
830       )
831     );
832   }
833
834 // ----------------------------------------------------------------------------
835
// Instance/ImplAttributeGet1_1
836
// ----------------------------------------------------------------------------
837
public java.util.Date JavaDoc getCreatedAt(
838   ) {
839     return getCreatedAt(0);
840   }
841
842   protected java.util.Date JavaDoc getCreatedAt(
843     int index
844   ) {
845     return (java.util.Date JavaDoc)this.refGetValue("org:openmdx:base:BasicObject:createdAt", index);
846   }
847
848 // ----------------------------------------------------------------------------
849
// Instance/ImplAttributeSet1_1
850
// ----------------------------------------------------------------------------
851
protected void setCreatedAt(
852     java.util.Date JavaDoc newValue
853   ) {
854     setCreatedAt(0, newValue);
855   }
856
857   protected void setCreatedAt(
858     int index,
859     java.util.Date JavaDoc newValue
860   ) {
861     refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue);
862   }
863 // ----------------------------------------------------------------------------
864
// Instance/ImplAttributeGetSet
865
// ----------------------------------------------------------------------------
866
public java.util.Set JavaDoc getCreatedBy (
867   ) {
868     return (java.util.Set JavaDoc)this.refGetValue("createdBy");
869   }
870 // ----------------------------------------------------------------------------
871
// Instance/ImplAttributeSetSet
872
// ----------------------------------------------------------------------------
873
protected void setCreatedBy(
874     java.util.Set JavaDoc newValue
875   ) {
876     refSetValue("org:openmdx:base:BasicObject:createdBy", newValue);
877   }
878
879   protected void setCreatedBy(
880     String JavaDoc[] newValue
881   ) {
882     refSetValue("org:openmdx:base:BasicObject:createdBy", newValue);
883   }
884
885 // ----------------------------------------------------------------------------
886
// Instance/ImplAttributeGet1_1
887
// ----------------------------------------------------------------------------
888
public java.util.Date JavaDoc getModifiedAt(
889   ) {
890     return getModifiedAt(0);
891   }
892
893   protected java.util.Date JavaDoc getModifiedAt(
894     int index
895   ) {
896     return (java.util.Date JavaDoc)this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index);
897   }
898
899 // ----------------------------------------------------------------------------
900
// Instance/ImplAttributeSet1_1
901
// ----------------------------------------------------------------------------
902
protected void setModifiedAt(
903     java.util.Date JavaDoc newValue
904   ) {
905     setModifiedAt(0, newValue);
906   }
907
908   protected void setModifiedAt(
909     int index,
910     java.util.Date JavaDoc newValue
911   ) {
912     refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue);
913   }
914 // ----------------------------------------------------------------------------
915
// Instance/ImplAttributeGetSet
916
// ----------------------------------------------------------------------------
917
public java.util.Set JavaDoc getModifiedBy (
918   ) {
919     return (java.util.Set JavaDoc)this.refGetValue("modifiedBy");
920   }
921 // ----------------------------------------------------------------------------
922
// Instance/ImplAttributeSetSet
923
// ----------------------------------------------------------------------------
924
protected void setModifiedBy(
925     java.util.Set JavaDoc newValue
926   ) {
927     refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue);
928   }
929
930   protected void setModifiedBy(
931     String JavaDoc[] newValue
932   ) {
933     refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue);
934   }
935
936 // ----------------------------------------------------------------------------
937
// Instance/ImplReferenceSetWithQualifier
938
// ----------------------------------------------------------------------------
939
protected void setContext(
940     java.util.List JavaDoc newValue
941   ) {
942     refSetValue("org:openmdx:base:ContextCapable:context", newValue);
943   }
944
945   protected void setContext(
946     org.openmdx.base.cci.Context[] newValue
947   ) {
948     refSetValue("org:openmdx:base:ContextCapable:context", newValue);
949   }
950
951 // ----------------------------------------------------------------------------
952
// Instance/ImplReferenceGet0_1WithQualifier
953
// ----------------------------------------------------------------------------
954
public org.openmdx.base.cci.Context getContext(
955     String JavaDoc id
956   ) {
957     return (org.openmdx.base.cci.Context)refGetValue(
958       "org:openmdx:base:ContextCapable:context",
959       id
960     );
961   }
962
963 // ----------------------------------------------------------------------------
964
// Instance/ImplReferenceGet0_nNoFilter
965
// ----------------------------------------------------------------------------
966
public java.util.Collection JavaDoc getContext(
967   ) {
968     return (java.util.Collection JavaDoc)refGetValue(
969       "org:openmdx:base:ContextCapable:context"
970     );
971   }
972
973 // ----------------------------------------------------------------------------
974
// Instance/ImplReferenceAddWithQualifier
975
// ----------------------------------------------------------------------------
976
protected void addContext (
977     String JavaDoc id,
978     org.openmdx.base.cci.Context newValue
979   ) {
980     refAddValue(
981       "org:openmdx:base:ContextCapable:context",
982       id,
983       newValue
984     );
985   }
986
987 // ----------------------------------------------------------------------------
988
// Instance/ImplReferenceAddWithoutQualifier
989
// ----------------------------------------------------------------------------
990
protected void addContext (
991     org.openmdx.base.cci.Context newValue
992   ) {
993     refAddValue(
994       "org:openmdx:base:ContextCapable:context",
995       newValue
996     );
997   }
998
999 // ----------------------------------------------------------------------------
1000
// Instance/ImplReferenceRemoveWithQualifier
1001
// ----------------------------------------------------------------------------
1002
protected void removeContext (
1003    String JavaDoc id
1004  ) {
1005    refRemoveValue(
1006      "org:openmdx:base:ContextCapable:context",
1007      id
1008    );
1009  }
1010
1011// ----------------------------------------------------------------------------
1012
// Instance/ImplAttributeGet1_1
1013
// ----------------------------------------------------------------------------
1014
public String JavaDoc getIdentity(
1015  ) {
1016    return getIdentity(0);
1017  }
1018
1019  protected String JavaDoc getIdentity(
1020    int index
1021  ) {
1022    return (String JavaDoc)this.refGetValue("org:openmdx:base:ExtentCapable:identity", index);
1023  }
1024
1025// ----------------------------------------------------------------------------
1026
// Instance/ImplAttributeSet1_1
1027
// ----------------------------------------------------------------------------
1028
protected void setIdentity(
1029    String JavaDoc newValue
1030  ) {
1031    setIdentity(0, newValue);
1032  }
1033
1034  protected void setIdentity(
1035    int index,
1036    String JavaDoc newValue
1037  ) {
1038    refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue);
1039  }
1040// ----------------------------------------------------------------------------
1041
// Instance/ImplReferenceSetWithQualifier
1042
// ----------------------------------------------------------------------------
1043
protected void setView(
1044    java.util.List JavaDoc newValue
1045  ) {
1046    refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue);
1047  }
1048
1049  protected void setView(
1050    org.openmdx.compatibility.view1.cci.View[] newValue
1051  ) {
1052    refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue);
1053  }
1054
1055// ----------------------------------------------------------------------------
1056
// Instance/ImplReferenceGet0_1WithQualifier
1057
// ----------------------------------------------------------------------------
1058
public org.openmdx.compatibility.view1.cci.View getView(
1059    String JavaDoc namespace
1060  ) {
1061    return (org.openmdx.compatibility.view1.cci.View)refGetValue(
1062      "org:openmdx:compatibility:view1:ViewCapable:view",
1063      namespace
1064    );
1065  }
1066
1067// ----------------------------------------------------------------------------
1068
// Instance/ImplReferenceGet0_nWithFilter
1069
// ----------------------------------------------------------------------------
1070
public java.util.Collection JavaDoc getView(
1071  ) {
1072    return (java.util.Collection JavaDoc)refGetValue(
1073      "org:openmdx:compatibility:view1:ViewCapable:view"
1074    );
1075  }
1076
1077  public java.util.List JavaDoc getView(
1078    org.openmdx.compatibility.view1.cci.ViewFilter filter
1079  ) {
1080    return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
1081      "org:openmdx:compatibility:view1:ViewCapable:view"
1082    )).toList(filter);
1083  }
1084
1085// ----------------------------------------------------------------------------
1086
// Instance/ImplReferenceAddWithQualifier
1087
// ----------------------------------------------------------------------------
1088
protected void addView (
1089    String JavaDoc namespace,
1090    org.openmdx.compatibility.view1.cci.View newValue
1091  ) {
1092    refAddValue(
1093      "org:openmdx:compatibility:view1:ViewCapable:view",
1094      namespace,
1095      newValue
1096    );
1097  }
1098
1099// ----------------------------------------------------------------------------
1100
// Instance/ImplReferenceAddWithoutQualifier
1101
// ----------------------------------------------------------------------------
1102
protected void addView (
1103    org.openmdx.compatibility.view1.cci.View newValue
1104  ) {
1105    refAddValue(
1106      "org:openmdx:compatibility:view1:ViewCapable:view",
1107      newValue
1108    );
1109  }
1110
1111// ----------------------------------------------------------------------------
1112
// Instance/ImplReferenceRemoveWithQualifier
1113
// ----------------------------------------------------------------------------
1114
protected void removeView (
1115    String JavaDoc namespace
1116  ) {
1117    refRemoveValue(
1118      "org:openmdx:compatibility:view1:ViewCapable:view",
1119      namespace
1120    );
1121  }
1122
1123// ----------------------------------------------------------------------------
1124
// Instance/ImplEnd
1125
// ----------------------------------------------------------------------------
1126
}
1127
Popular Tags