KickJava   Java API By Example, From Geeks To Geeks.

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