KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > product1 > cci > SelectableItemWithQuantityImpl


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