KickJava   Java API By Example, From Geeks To Geeks.

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


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