KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > document1 > cci > MediaContentImpl


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:57 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.document1.cci;
14
15 public class MediaContentImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements MediaContent {
18
19   public MediaContentImpl(
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/ImplReferenceSetWithQualifier
28
// ----------------------------------------------------------------------------
29
protected void setAudit(
30     java.util.List JavaDoc newValue
31   ) {
32     refSetValue("org:opencrx:kernel:base:Auditee:audit", newValue);
33   }
34
35   protected void setAudit(
36     org.opencrx.kernel.base.cci.AuditEntry[] newValue
37   ) {
38     refSetValue("org:opencrx:kernel:base:Auditee:audit", newValue);
39   }
40
41 // ----------------------------------------------------------------------------
42
// Instance/ImplReferenceGet0_1WithQualifier
43
// ----------------------------------------------------------------------------
44
public org.opencrx.kernel.base.cci.AuditEntry getAudit(
45     String JavaDoc id
46   ) {
47     return (org.opencrx.kernel.base.cci.AuditEntry)refGetValue(
48       "org:opencrx:kernel:base:Auditee:audit",
49       id
50     );
51   }
52
53 // ----------------------------------------------------------------------------
54
// Instance/ImplReferenceGet0_nWithFilter
55
// ----------------------------------------------------------------------------
56
public java.util.Collection JavaDoc getAudit(
57   ) {
58     return (java.util.Collection JavaDoc)refGetValue(
59       "org:opencrx:kernel:base:Auditee:audit"
60     );
61   }
62
63   public java.util.List JavaDoc getAudit(
64     org.opencrx.kernel.base.cci.AuditEntryFilter filter
65   ) {
66     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
67       "org:opencrx:kernel:base:Auditee:audit"
68     )).toList(filter);
69   }
70
71 // ----------------------------------------------------------------------------
72
// Instance/ImplReferenceAddWithQualifier
73
// ----------------------------------------------------------------------------
74
protected void addAudit (
75     String JavaDoc id,
76     org.opencrx.kernel.base.cci.AuditEntry newValue
77   ) {
78     refAddValue(
79       "org:opencrx:kernel:base:Auditee:audit",
80       id,
81       newValue
82     );
83   }
84
85 // ----------------------------------------------------------------------------
86
// Instance/ImplReferenceAddWithoutQualifier
87
// ----------------------------------------------------------------------------
88
protected void addAudit (
89     org.opencrx.kernel.base.cci.AuditEntry newValue
90   ) {
91     refAddValue(
92       "org:opencrx:kernel:base:Auditee:audit",
93       newValue
94     );
95   }
96
97 // ----------------------------------------------------------------------------
98
// Instance/ImplReferenceRemoveWithQualifier
99
// ----------------------------------------------------------------------------
100
protected void removeAudit (
101     String JavaDoc id
102   ) {
103     refRemoveValue(
104       "org:opencrx:kernel:base:Auditee:audit",
105       id
106     );
107   }
108
109 // ----------------------------------------------------------------------------
110
// Instance/ImplAttributeGet1_1
111
// ----------------------------------------------------------------------------
112
public short getAccessLevelBrowse(
113   ) {
114     return getAccessLevelBrowse(0);
115   }
116
117   protected short getAccessLevelBrowse(
118     int index
119   ) {
120     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue();
121   }
122
123 // ----------------------------------------------------------------------------
124
// Instance/ImplAttributeSet1_1
125
// ----------------------------------------------------------------------------
126
public void setAccessLevelBrowse(
127     short newValue
128   ) {
129     setAccessLevelBrowse(0, newValue);
130   }
131
132   protected void setAccessLevelBrowse(
133     int index,
134     short newValue
135   ) {
136     refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short JavaDoc(newValue));
137   }
138 // ----------------------------------------------------------------------------
139
// Instance/ImplAttributeGet1_1
140
// ----------------------------------------------------------------------------
141
public short getAccessLevelDelete(
142   ) {
143     return getAccessLevelDelete(0);
144   }
145
146   protected short getAccessLevelDelete(
147     int index
148   ) {
149     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue();
150   }
151
152 // ----------------------------------------------------------------------------
153
// Instance/ImplAttributeSet1_1
154
// ----------------------------------------------------------------------------
155
public void setAccessLevelDelete(
156     short newValue
157   ) {
158     setAccessLevelDelete(0, newValue);
159   }
160
161   protected void setAccessLevelDelete(
162     int index,
163     short newValue
164   ) {
165     refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short JavaDoc(newValue));
166   }
167 // ----------------------------------------------------------------------------
168
// Instance/ImplAttributeGet1_1
169
// ----------------------------------------------------------------------------
170
public short getAccessLevelUpdate(
171   ) {
172     return getAccessLevelUpdate(0);
173   }
174
175   protected short getAccessLevelUpdate(
176     int index
177   ) {
178     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue();
179   }
180
181 // ----------------------------------------------------------------------------
182
// Instance/ImplAttributeSet1_1
183
// ----------------------------------------------------------------------------
184
public void setAccessLevelUpdate(
185     short newValue
186   ) {
187     setAccessLevelUpdate(0, newValue);
188   }
189
190   protected void setAccessLevelUpdate(
191     int index,
192     short newValue
193   ) {
194     refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short JavaDoc(newValue));
195   }
196 // ----------------------------------------------------------------------------
197
// Instance/ImplOperation
198
// ----------------------------------------------------------------------------
199
public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup(
200       org.opencrx.kernel.base.cci.ModifyOwningGroupParams params
201   ) throws javax.jmi.reflect.RefException {
202     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
203     args.add(params);
204     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
205       "org:opencrx:kernel:base:SecureObject:addOwningGroup",
206       args
207     );
208   }
209
210   public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup(
211       org.opencrx.security.realm1.cci.PrincipalGroup group
212     , short mode
213   ) throws javax.jmi.reflect.RefException {
214     return addOwningGroup(
215       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams(
216         group
217     , mode
218       )
219     );
220   }
221
222 // ----------------------------------------------------------------------------
223
// Instance/ImplAttributeGetList
224
// ----------------------------------------------------------------------------
225
public java.util.List JavaDoc getOwner (
226   ) {
227     return (java.util.List JavaDoc)this.refGetValue("owner");
228   }
229   public String JavaDoc getOwner(
230     int index
231   ) {
232     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index);
233   }
234
235 // ----------------------------------------------------------------------------
236
// Instance/ImplAttributeSetList
237
// ----------------------------------------------------------------------------
238
protected void setOwner(
239     java.util.List JavaDoc newValue
240   ) {
241     refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue);
242   }
243
244   protected void setOwner(
245     String JavaDoc[] newValue
246   ) {
247     refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue);
248   }
249
250 // ----------------------------------------------------------------------------
251
// Instance/ImplReferenceSetWithQualifier
252
// ----------------------------------------------------------------------------
253
public void setOwningGroup(
254     java.util.List JavaDoc newValue
255   ) {
256     refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue);
257   }
258
259   public void setOwningGroup(
260     org.opencrx.security.realm1.cci.PrincipalGroup[] newValue
261   ) {
262     refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue);
263   }
264
265 // ----------------------------------------------------------------------------
266
// Instance/ImplReferenceGet0_1WithQualifier
267
// ----------------------------------------------------------------------------
268
public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup(
269     int index
270   ) {
271     return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue(
272       "org:opencrx:kernel:base:SecureObject:owningGroup",
273       new Integer JavaDoc(index)
274     );
275   }
276
277 // ----------------------------------------------------------------------------
278
// Instance/ImplReferenceGet0_nNoFilter
279
// ----------------------------------------------------------------------------
280
public java.util.Collection JavaDoc getOwningGroup(
281   ) {
282     return (java.util.Collection JavaDoc)refGetValue(
283       "org:opencrx:kernel:base:SecureObject:owningGroup"
284     );
285   }
286
287 // ----------------------------------------------------------------------------
288
// Instance/ImplReferenceAddWithQualifier
289
// ----------------------------------------------------------------------------
290
public void addOwningGroup (
291     int index,
292     org.opencrx.security.realm1.cci.PrincipalGroup newValue
293   ) {
294     refAddValue(
295       "org:opencrx:kernel:base:SecureObject:owningGroup",
296       new Integer JavaDoc(index),
297       newValue
298     );
299   }
300
301 // ----------------------------------------------------------------------------
302
// Instance/ImplReferenceAddWithoutQualifier
303
// ----------------------------------------------------------------------------
304
public void addOwningGroup (
305     org.opencrx.security.realm1.cci.PrincipalGroup newValue
306   ) {
307     refAddValue(
308       "org:opencrx:kernel:base:SecureObject:owningGroup",
309       newValue
310     );
311   }
312
313 // ----------------------------------------------------------------------------
314
// Instance/ImplReferenceRemoveWithQualifier
315
// ----------------------------------------------------------------------------
316
public void removeOwningGroup (
317     int index
318   ) {
319     refRemoveValue(
320       "org:opencrx:kernel:base:SecureObject:owningGroup",
321       new Integer JavaDoc(index)
322     );
323   }
324
325 // ----------------------------------------------------------------------------
326
// Instance/ImplReferenceGet0_1NoQualifier
327
// ----------------------------------------------------------------------------
328
public org.opencrx.security.realm1.cci.User getOwningUser(
329   ) {
330     return (org.opencrx.security.realm1.cci.User)refGetValue(
331       "org:opencrx:kernel:base:SecureObject:owningUser"
332     );
333   }
334
335 // ----------------------------------------------------------------------------
336
// Instance/ImplReferenceSetNoQualifier
337
// ----------------------------------------------------------------------------
338
public void setOwningUser(
339     org.opencrx.security.realm1.cci.User newValue
340   ) {
341     refSetValue(
342       "org:opencrx:kernel:base:SecureObject:owningUser",
343       newValue
344     );
345   }
346
347 // ----------------------------------------------------------------------------
348
// Instance/ImplReferenceRemoveOptional
349
// ----------------------------------------------------------------------------
350
public void removeOwningUser (
351   ) {
352     refRemoveValue(
353       "org:opencrx:kernel:base:SecureObject:owningUser"
354     );
355   }
356 // ----------------------------------------------------------------------------
357
// Instance/ImplOperation
358
// ----------------------------------------------------------------------------
359
public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup(
360       org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params
361   ) throws javax.jmi.reflect.RefException {
362     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
363     args.add(params);
364     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
365       "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup",
366       args
367     );
368   }
369
370   public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup(
371       short mode
372   ) throws javax.jmi.reflect.RefException {
373     return removeAllOwningGroup(
374       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams(
375         mode
376       )
377     );
378   }
379
380 // ----------------------------------------------------------------------------
381
// Instance/ImplOperation
382
// ----------------------------------------------------------------------------
383
public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup(
384       org.opencrx.kernel.base.cci.ModifyOwningGroupParams params
385   ) throws javax.jmi.reflect.RefException {
386     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
387     args.add(params);
388     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
389       "org:opencrx:kernel:base:SecureObject:removeOwningGroup",
390       args
391     );
392   }
393
394   public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup(
395       org.opencrx.security.realm1.cci.PrincipalGroup group
396     , short mode
397   ) throws javax.jmi.reflect.RefException {
398     return removeOwningGroup(
399       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams(
400         group
401     , mode
402       )
403     );
404   }
405
406 // ----------------------------------------------------------------------------
407
// Instance/ImplOperation
408
// ----------------------------------------------------------------------------
409
public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel(
410       org.opencrx.kernel.base.cci.SetAccessLevelParams params
411   ) throws javax.jmi.reflect.RefException {
412     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
413     args.add(params);
414     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
415       "org:opencrx:kernel:base:SecureObject:setAccessLevel",
416       args
417     );
418   }
419
420   public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel(
421       short accessLevelBrowse
422     , short accessLevelDelete
423     , short accessLevelUpdate
424     , short mode
425   ) throws javax.jmi.reflect.RefException {
426     return setAccessLevel(
427       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams(
428         accessLevelBrowse
429     , accessLevelDelete
430     , accessLevelUpdate
431     , mode
432       )
433     );
434   }
435
436 // ----------------------------------------------------------------------------
437
// Instance/ImplOperation
438
// ----------------------------------------------------------------------------
439
public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser(
440       org.opencrx.kernel.base.cci.SetOwningUserParams params
441   ) throws javax.jmi.reflect.RefException {
442     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
443     args.add(params);
444     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
445       "org:opencrx:kernel:base:SecureObject:setOwningUser",
446       args
447     );
448   }
449
450   public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser(
451       short mode
452     , org.opencrx.security.realm1.cci.User user
453   ) throws javax.jmi.reflect.RefException {
454     return setOwningUser(
455       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams(
456         mode
457     , user
458       )
459     );
460   }
461
462 // ----------------------------------------------------------------------------
463
// Instance/ImplAttributeGetStream
464
// ----------------------------------------------------------------------------
465

466   public java.io.InputStream JavaDoc getContent(
467   ) {
468     return (java.io.InputStream JavaDoc)this.refGetValue("org:opencrx:kernel:document1:Media:content");
469   }
470
471   public long getContent(
472     java.io.OutputStream JavaDoc stream,
473     long position
474   ) {
475     return this.refGetValue("org:opencrx:kernel:document1:Media:content", stream, position);
476   }
477
478 // ----------------------------------------------------------------------------
479
// Instance/ImplAttributeSetStream
480
// ----------------------------------------------------------------------------
481

482   public void setContent(
483     java.io.InputStream JavaDoc newValue
484   ) {
485     this.refSetValue("org:opencrx:kernel:document1:Media:content", newValue);
486   }
487
488   public void setContent(
489     java.io.InputStream JavaDoc newValue,
490     long length
491   ) {
492     this.refSetValue("org:opencrx:kernel:document1:Media:content", newValue, length);
493   }
494
495 // ----------------------------------------------------------------------------
496
// Instance/ImplAttributeGet0_1
497
// ----------------------------------------------------------------------------
498
public Long JavaDoc getContentLength (
499   ) {
500     return (Long JavaDoc)this.refGetValue("contentLength", 0);
501   }
502 // ----------------------------------------------------------------------------
503
// Instance/ImplAttributeSet0_1
504
// ----------------------------------------------------------------------------
505
protected void setContentLength(
506     Long JavaDoc newValue
507   ) {
508     refSetValue("org:opencrx:kernel:document1:Media:contentLength", 0, newValue);
509   }
510
511 // ----------------------------------------------------------------------------
512
// Instance/ImplAttributeGet0_1
513
// ----------------------------------------------------------------------------
514
public String JavaDoc getContentMimeType (
515   ) {
516     return (String JavaDoc)this.refGetValue("contentMimeType", 0);
517   }
518 // ----------------------------------------------------------------------------
519
// Instance/ImplAttributeSet0_1
520
// ----------------------------------------------------------------------------
521
public void setContentMimeType(
522     String JavaDoc newValue
523   ) {
524     refSetValue("org:opencrx:kernel:document1:Media:contentMimeType", 0, newValue);
525   }
526
527 // ----------------------------------------------------------------------------
528
// Instance/ImplAttributeGet0_1
529
// ----------------------------------------------------------------------------
530
public String JavaDoc getContentName (
531   ) {
532     return (String JavaDoc)this.refGetValue("contentName", 0);
533   }
534 // ----------------------------------------------------------------------------
535
// Instance/ImplAttributeSet0_1
536
// ----------------------------------------------------------------------------
537
public void setContentName(
538     String JavaDoc newValue
539   ) {
540     refSetValue("org:opencrx:kernel:document1:Media:contentName", 0, newValue);
541   }
542
543 // ----------------------------------------------------------------------------
544
// Instance/ImplAttributeGet0_1
545
// ----------------------------------------------------------------------------
546
public String JavaDoc getDescription (
547   ) {
548     return (String JavaDoc)this.refGetValue("description", 0);
549   }
550 // ----------------------------------------------------------------------------
551
// Instance/ImplAttributeSet0_1
552
// ----------------------------------------------------------------------------
553
public void setDescription(
554     String JavaDoc newValue
555   ) {
556     refSetValue("org:opencrx:kernel:document1:Media:description", 0, newValue);
557   }
558
559 // ----------------------------------------------------------------------------
560
// Instance/ImplAttributeGet1_1
561
// ----------------------------------------------------------------------------
562
public java.util.Date JavaDoc getCreatedAt(
563   ) {
564     return getCreatedAt(0);
565   }
566
567   protected java.util.Date JavaDoc getCreatedAt(
568     int index
569   ) {
570     return (java.util.Date JavaDoc)this.refGetValue("org:openmdx:base:BasicObject:createdAt", index);
571   }
572
573 // ----------------------------------------------------------------------------
574
// Instance/ImplAttributeSet1_1
575
// ----------------------------------------------------------------------------
576
protected void setCreatedAt(
577     java.util.Date JavaDoc newValue
578   ) {
579     setCreatedAt(0, newValue);
580   }
581
582   protected void setCreatedAt(
583     int index,
584     java.util.Date JavaDoc newValue
585   ) {
586     refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue);
587   }
588 // ----------------------------------------------------------------------------
589
// Instance/ImplAttributeGetSet
590
// ----------------------------------------------------------------------------
591
public java.util.Set JavaDoc getCreatedBy (
592   ) {
593     return (java.util.Set JavaDoc)this.refGetValue("createdBy");
594   }
595 // ----------------------------------------------------------------------------
596
// Instance/ImplAttributeSetSet
597
// ----------------------------------------------------------------------------
598
protected void setCreatedBy(
599     java.util.Set JavaDoc newValue
600   ) {
601     refSetValue("org:openmdx:base:BasicObject:createdBy", newValue);
602   }
603
604   protected void setCreatedBy(
605     String JavaDoc[] newValue
606   ) {
607     refSetValue("org:openmdx:base:BasicObject:createdBy", newValue);
608   }
609
610 // ----------------------------------------------------------------------------
611
// Instance/ImplAttributeGet1_1
612
// ----------------------------------------------------------------------------
613
public java.util.Date JavaDoc getModifiedAt(
614   ) {
615     return getModifiedAt(0);
616   }
617
618   protected java.util.Date JavaDoc getModifiedAt(
619     int index
620   ) {
621     return (java.util.Date JavaDoc)this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index);
622   }
623
624 // ----------------------------------------------------------------------------
625
// Instance/ImplAttributeSet1_1
626
// ----------------------------------------------------------------------------
627
protected void setModifiedAt(
628     java.util.Date JavaDoc newValue
629   ) {
630     setModifiedAt(0, newValue);
631   }
632
633   protected void setModifiedAt(
634     int index,
635     java.util.Date JavaDoc newValue
636   ) {
637     refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue);
638   }
639 // ----------------------------------------------------------------------------
640
// Instance/ImplAttributeGetSet
641
// ----------------------------------------------------------------------------
642
public java.util.Set JavaDoc getModifiedBy (
643   ) {
644     return (java.util.Set JavaDoc)this.refGetValue("modifiedBy");
645   }
646 // ----------------------------------------------------------------------------
647
// Instance/ImplAttributeSetSet
648
// ----------------------------------------------------------------------------
649
protected void setModifiedBy(
650     java.util.Set JavaDoc newValue
651   ) {
652     refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue);
653   }
654
655   protected void setModifiedBy(
656     String JavaDoc[] newValue
657   ) {
658     refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue);
659   }
660
661 // ----------------------------------------------------------------------------
662
// Instance/ImplReferenceSetWithQualifier
663
// ----------------------------------------------------------------------------
664
protected void setContext(
665     java.util.List JavaDoc newValue
666   ) {
667     refSetValue("org:openmdx:base:ContextCapable:context", newValue);
668   }
669
670   protected void setContext(
671     org.openmdx.base.cci.Context[] newValue
672   ) {
673     refSetValue("org:openmdx:base:ContextCapable:context", newValue);
674   }
675
676 // ----------------------------------------------------------------------------
677
// Instance/ImplReferenceGet0_1WithQualifier
678
// ----------------------------------------------------------------------------
679
public org.openmdx.base.cci.Context getContext(
680     String JavaDoc id
681   ) {
682     return (org.openmdx.base.cci.Context)refGetValue(
683       "org:openmdx:base:ContextCapable:context",
684       id
685     );
686   }
687
688 // ----------------------------------------------------------------------------
689
// Instance/ImplReferenceGet0_nNoFilter
690
// ----------------------------------------------------------------------------
691
public java.util.Collection JavaDoc getContext(
692   ) {
693     return (java.util.Collection JavaDoc)refGetValue(
694       "org:openmdx:base:ContextCapable:context"
695     );
696   }
697
698 // ----------------------------------------------------------------------------
699
// Instance/ImplReferenceAddWithQualifier
700
// ----------------------------------------------------------------------------
701
protected void addContext (
702     String JavaDoc id,
703     org.openmdx.base.cci.Context newValue
704   ) {
705     refAddValue(
706       "org:openmdx:base:ContextCapable:context",
707       id,
708       newValue
709     );
710   }
711
712 // ----------------------------------------------------------------------------
713
// Instance/ImplReferenceAddWithoutQualifier
714
// ----------------------------------------------------------------------------
715
protected void addContext (
716     org.openmdx.base.cci.Context newValue
717   ) {
718     refAddValue(
719       "org:openmdx:base:ContextCapable:context",
720       newValue
721     );
722   }
723
724 // ----------------------------------------------------------------------------
725
// Instance/ImplReferenceRemoveWithQualifier
726
// ----------------------------------------------------------------------------
727
protected void removeContext (
728     String JavaDoc id
729   ) {
730     refRemoveValue(
731       "org:openmdx:base:ContextCapable:context",
732       id
733     );
734   }
735
736 // ----------------------------------------------------------------------------
737
// Instance/ImplAttributeGet1_1
738
// ----------------------------------------------------------------------------
739
public String JavaDoc getIdentity(
740   ) {
741     return getIdentity(0);
742   }
743
744   protected String JavaDoc getIdentity(
745     int index
746   ) {
747     return (String JavaDoc)this.refGetValue("org:openmdx:base:ExtentCapable:identity", index);
748   }
749
750 // ----------------------------------------------------------------------------
751
// Instance/ImplAttributeSet1_1
752
// ----------------------------------------------------------------------------
753
protected void setIdentity(
754     String JavaDoc newValue
755   ) {
756     setIdentity(0, newValue);
757   }
758
759   protected void setIdentity(
760     int index,
761     String JavaDoc newValue
762   ) {
763     refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue);
764   }
765 // ----------------------------------------------------------------------------
766
// Instance/ImplReferenceSetWithQualifier
767
// ----------------------------------------------------------------------------
768
protected void setView(
769     java.util.List JavaDoc newValue
770   ) {
771     refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue);
772   }
773
774   protected void setView(
775     org.openmdx.compatibility.view1.cci.View[] newValue
776   ) {
777     refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue);
778   }
779
780 // ----------------------------------------------------------------------------
781
// Instance/ImplReferenceGet0_1WithQualifier
782
// ----------------------------------------------------------------------------
783
public org.openmdx.compatibility.view1.cci.View getView(
784     String JavaDoc namespace
785   ) {
786     return (org.openmdx.compatibility.view1.cci.View)refGetValue(
787       "org:openmdx:compatibility:view1:ViewCapable:view",
788       namespace
789     );
790   }
791
792 // ----------------------------------------------------------------------------
793
// Instance/ImplReferenceGet0_nWithFilter
794
// ----------------------------------------------------------------------------
795
public java.util.Collection JavaDoc getView(
796   ) {
797     return (java.util.Collection JavaDoc)refGetValue(
798       "org:openmdx:compatibility:view1:ViewCapable:view"
799     );
800   }
801
802   public java.util.List JavaDoc getView(
803     org.openmdx.compatibility.view1.cci.ViewFilter filter
804   ) {
805     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
806       "org:openmdx:compatibility:view1:ViewCapable:view"
807     )).toList(filter);
808   }
809
810 // ----------------------------------------------------------------------------
811
// Instance/ImplReferenceAddWithQualifier
812
// ----------------------------------------------------------------------------
813
protected void addView (
814     String JavaDoc namespace,
815     org.openmdx.compatibility.view1.cci.View newValue
816   ) {
817     refAddValue(
818       "org:openmdx:compatibility:view1:ViewCapable:view",
819       namespace,
820       newValue
821     );
822   }
823
824 // ----------------------------------------------------------------------------
825
// Instance/ImplReferenceAddWithoutQualifier
826
// ----------------------------------------------------------------------------
827
protected void addView (
828     org.openmdx.compatibility.view1.cci.View newValue
829   ) {
830     refAddValue(
831       "org:openmdx:compatibility:view1:ViewCapable:view",
832       newValue
833     );
834   }
835
836 // ----------------------------------------------------------------------------
837
// Instance/ImplReferenceRemoveWithQualifier
838
// ----------------------------------------------------------------------------
839
protected void removeView (
840     String JavaDoc namespace
841   ) {
842     refRemoveValue(
843       "org:openmdx:compatibility:view1:ViewCapable:view",
844       namespace
845     );
846   }
847
848 // ----------------------------------------------------------------------------
849
// Instance/ImplEnd
850
// ----------------------------------------------------------------------------
851
}
852
Popular Tags