KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > uom1 > cci > SegmentImpl


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