KickJava   Java API By Example, From Geeks To Geeks.

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