KickJava   Java API By Example, From Geeks To Geeks.

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


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