KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > contract1 > cci > AbstractContractImpl


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:59 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.contract1.cci;
14
15 public class AbstractContractImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements AbstractContract {
18
19   public AbstractContractImpl(
20     org.openmdx.base.accessor.generic.cci.Object_1_0 object,
21     javax.jmi.reflect.RefClass refClass
22   ) {
23     super(object, refClass);
24   }
25
26 // ----------------------------------------------------------------------------
27
// Instance/ImplOperation
28
// ----------------------------------------------------------------------------
29
public org.openmdx.base.cci.Void assignToMe(
30       org.openmdx.base.cci.Void params
31   ) throws javax.jmi.reflect.RefException {
32     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
33     args.add(params);
34     return (org.openmdx.base.cci.Void)refInvokeOperation(
35       "org:opencrx:kernel:base:Assignable:assignToMe",
36       args
37     );
38   }
39
40   public org.openmdx.base.cci.Void assignToMe(
41   ) throws javax.jmi.reflect.RefException {
42     return assignToMe(
43       ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid(
44               )
45     );
46   }
47
48 // ----------------------------------------------------------------------------
49
// Instance/ImplOperation
50
// ----------------------------------------------------------------------------
51
public org.opencrx.kernel.base.cci.TemplateApplyReplacementsResult applyReplacements(
52       org.openmdx.base.cci.Void params
53   ) throws javax.jmi.reflect.RefException {
54     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
55     args.add(params);
56     return (org.opencrx.kernel.base.cci.TemplateApplyReplacementsResult)refInvokeOperation(
57       "org:opencrx:kernel:base:TemplateEnabled:applyReplacements",
58       args
59     );
60   }
61
62   public org.opencrx.kernel.base.cci.TemplateApplyReplacementsResult applyReplacements(
63   ) throws javax.jmi.reflect.RefException {
64     return applyReplacements(
65       ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid(
66               )
67     );
68   }
69
70 // ----------------------------------------------------------------------------
71
// Instance/ImplOperation
72
// ----------------------------------------------------------------------------
73
public org.opencrx.kernel.base.cci.TemplateCreateObjectResult createObject(
74       org.opencrx.kernel.base.cci.TemplateCreateObjectParams params
75   ) throws javax.jmi.reflect.RefException {
76     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
77     args.add(params);
78     return (org.opencrx.kernel.base.cci.TemplateCreateObjectResult)refInvokeOperation(
79       "org:opencrx:kernel:base:TemplateEnabled:createObject",
80       args
81     );
82   }
83
84   public org.opencrx.kernel.base.cci.TemplateCreateObjectResult createObject(
85       String JavaDoc name
86   ) throws javax.jmi.reflect.RefException {
87     return createObject(
88       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createTemplateCreateObjectParams(
89         name
90       )
91     );
92   }
93
94 // ----------------------------------------------------------------------------
95
// Instance/ImplOperation
96
// ----------------------------------------------------------------------------
97
public org.openmdx.base.cci.Void deleteObject(
98       org.openmdx.base.cci.Void params
99   ) throws javax.jmi.reflect.RefException {
100     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
101     args.add(params);
102     return (org.openmdx.base.cci.Void)refInvokeOperation(
103       "org:opencrx:kernel:base:TemplateEnabled:deleteObject",
104       args
105     );
106   }
107
108   public org.openmdx.base.cci.Void deleteObject(
109   ) throws javax.jmi.reflect.RefException {
110     return deleteObject(
111       ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid(
112               )
113     );
114   }
115
116 // ----------------------------------------------------------------------------
117
// Instance/ImplAttributeGet0_1
118
// ----------------------------------------------------------------------------
119
public Boolean JavaDoc isTemplate (
120   ) {
121     return (Boolean JavaDoc)this.refGetValue("isTemplate", 0);
122   }
123 // ----------------------------------------------------------------------------
124
// Instance/ImplAttributeSet0_1
125
// ----------------------------------------------------------------------------
126
public void setTemplate(
127     Boolean JavaDoc newValue
128   ) {
129     refSetValue("org:opencrx:kernel:base:TemplateEnabled:isTemplate", 0, newValue);
130   }
131
132 // ----------------------------------------------------------------------------
133
// Instance/ImplReferenceSetWithQualifier
134
// ----------------------------------------------------------------------------
135
public void setReplacement(
136     java.util.List JavaDoc newValue
137   ) {
138     refSetValue("org:opencrx:kernel:base:TemplateEnabled:replacement", newValue);
139   }
140
141   public void setReplacement(
142     org.opencrx.kernel.base.cci.TemplateReplacement[] newValue
143   ) {
144     refSetValue("org:opencrx:kernel:base:TemplateEnabled:replacement", newValue);
145   }
146
147 // ----------------------------------------------------------------------------
148
// Instance/ImplReferenceGet0_1WithQualifier
149
// ----------------------------------------------------------------------------
150
public org.opencrx.kernel.base.cci.TemplateReplacement getReplacement(
151     String JavaDoc id
152   ) {
153     return (org.opencrx.kernel.base.cci.TemplateReplacement)refGetValue(
154       "org:opencrx:kernel:base:TemplateEnabled:replacement",
155       id
156     );
157   }
158
159 // ----------------------------------------------------------------------------
160
// Instance/ImplReferenceGet0_nWithFilter
161
// ----------------------------------------------------------------------------
162
public java.util.Collection JavaDoc getReplacement(
163   ) {
164     return (java.util.Collection JavaDoc)refGetValue(
165       "org:opencrx:kernel:base:TemplateEnabled:replacement"
166     );
167   }
168
169   public java.util.List JavaDoc getReplacement(
170     org.opencrx.kernel.base.cci.TemplateReplacementFilter filter
171   ) {
172     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
173       "org:opencrx:kernel:base:TemplateEnabled:replacement"
174     )).toList(filter);
175   }
176
177 // ----------------------------------------------------------------------------
178
// Instance/ImplReferenceAddWithQualifier
179
// ----------------------------------------------------------------------------
180
public void addReplacement (
181     String JavaDoc id,
182     org.opencrx.kernel.base.cci.TemplateReplacement newValue
183   ) {
184     refAddValue(
185       "org:opencrx:kernel:base:TemplateEnabled:replacement",
186       id,
187       newValue
188     );
189   }
190
191 // ----------------------------------------------------------------------------
192
// Instance/ImplReferenceAddWithoutQualifier
193
// ----------------------------------------------------------------------------
194
public void addReplacement (
195     org.opencrx.kernel.base.cci.TemplateReplacement newValue
196   ) {
197     refAddValue(
198       "org:opencrx:kernel:base:TemplateEnabled:replacement",
199       newValue
200     );
201   }
202
203 // ----------------------------------------------------------------------------
204
// Instance/ImplReferenceRemoveWithQualifier
205
// ----------------------------------------------------------------------------
206
public void removeReplacement (
207     String JavaDoc id
208   ) {
209     refRemoveValue(
210       "org:opencrx:kernel:base:TemplateEnabled:replacement",
211       id
212     );
213   }
214
215 // ----------------------------------------------------------------------------
216
// Instance/ImplAttributeGet1_1
217
// ----------------------------------------------------------------------------
218
public String JavaDoc getTemplateReferenceFilter(
219   ) {
220     return getTemplateReferenceFilter(0);
221   }
222
223   protected String JavaDoc getTemplateReferenceFilter(
224     int index
225   ) {
226     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:base:TemplateEnabled:templateReferenceFilter", index);
227   }
228
229 // ----------------------------------------------------------------------------
230
// Instance/ImplAttributeSet1_1
231
// ----------------------------------------------------------------------------
232
public void setTemplateReferenceFilter(
233     String JavaDoc newValue
234   ) {
235     setTemplateReferenceFilter(0, newValue);
236   }
237
238   protected void setTemplateReferenceFilter(
239     int index,
240     String JavaDoc newValue
241   ) {
242     refSetValue("org:opencrx:kernel:base:TemplateEnabled:templateReferenceFilter", index, newValue);
243   }
244 // ----------------------------------------------------------------------------
245
// Instance/ImplAttributeGet0_1
246
// ----------------------------------------------------------------------------
247
public java.util.Date JavaDoc getActiveOn (
248   ) {
249     return (java.util.Date JavaDoc)this.refGetValue("activeOn", 0);
250   }
251 // ----------------------------------------------------------------------------
252
// Instance/ImplAttributeSet0_1
253
// ----------------------------------------------------------------------------
254
public void setActiveOn(
255     java.util.Date JavaDoc newValue
256   ) {
257     refSetValue("org:opencrx:kernel:contract1:AbstractContract:activeOn", 0, newValue);
258   }
259
260 // ----------------------------------------------------------------------------
261
// Instance/ImplReferenceSetWithQualifier
262
// ----------------------------------------------------------------------------
263
public void setActivity(
264     java.util.List JavaDoc newValue
265   ) {
266     refSetValue("org:opencrx:kernel:contract1:AbstractContract:activity", newValue);
267   }
268
269   public void setActivity(
270     org.opencrx.kernel.activity1.cci.Activity[] newValue
271   ) {
272     refSetValue("org:opencrx:kernel:contract1:AbstractContract:activity", newValue);
273   }
274
275 // ----------------------------------------------------------------------------
276
// Instance/ImplReferenceGet0_1WithQualifier
277
// ----------------------------------------------------------------------------
278
public org.opencrx.kernel.activity1.cci.Activity getActivity(
279     int index
280   ) {
281     return (org.opencrx.kernel.activity1.cci.Activity)refGetValue(
282       "org:opencrx:kernel:contract1:AbstractContract:activity",
283       new Integer JavaDoc(index)
284     );
285   }
286
287 // ----------------------------------------------------------------------------
288
// Instance/ImplReferenceGet0_nNoFilter
289
// ----------------------------------------------------------------------------
290
public java.util.Collection JavaDoc getActivity(
291   ) {
292     return (java.util.Collection JavaDoc)refGetValue(
293       "org:opencrx:kernel:contract1:AbstractContract:activity"
294     );
295   }
296
297 // ----------------------------------------------------------------------------
298
// Instance/ImplReferenceAddWithQualifier
299
// ----------------------------------------------------------------------------
300
public void addActivity (
301     int index,
302     org.opencrx.kernel.activity1.cci.Activity newValue
303   ) {
304     refAddValue(
305       "org:opencrx:kernel:contract1:AbstractContract:activity",
306       new Integer JavaDoc(index),
307       newValue
308     );
309   }
310
311 // ----------------------------------------------------------------------------
312
// Instance/ImplReferenceAddWithoutQualifier
313
// ----------------------------------------------------------------------------
314
public void addActivity (
315     org.opencrx.kernel.activity1.cci.Activity newValue
316   ) {
317     refAddValue(
318       "org:opencrx:kernel:contract1:AbstractContract:activity",
319       newValue
320     );
321   }
322
323 // ----------------------------------------------------------------------------
324
// Instance/ImplReferenceRemoveWithQualifier
325
// ----------------------------------------------------------------------------
326
public void removeActivity (
327     int index
328   ) {
329     refRemoveValue(
330       "org:opencrx:kernel:contract1:AbstractContract:activity",
331       new Integer JavaDoc(index)
332     );
333   }
334
335 // ----------------------------------------------------------------------------
336
// Instance/ImplReferenceGet0_1NoQualifier
337
// ----------------------------------------------------------------------------
338
public org.opencrx.kernel.account1.cci.Account getBroker(
339   ) {
340     return (org.opencrx.kernel.account1.cci.Account)refGetValue(
341       "org:opencrx:kernel:contract1:AbstractContract:broker"
342     );
343   }
344
345 // ----------------------------------------------------------------------------
346
// Instance/ImplReferenceSetNoQualifier
347
// ----------------------------------------------------------------------------
348
public void setBroker(
349     org.opencrx.kernel.account1.cci.Account newValue
350   ) {
351     refSetValue(
352       "org:opencrx:kernel:contract1:AbstractContract:broker",
353       newValue
354     );
355   }
356
357 // ----------------------------------------------------------------------------
358
// Instance/ImplReferenceRemoveOptional
359
// ----------------------------------------------------------------------------
360
public void removeBroker (
361   ) {
362     refRemoveValue(
363       "org:opencrx:kernel:contract1:AbstractContract:broker"
364     );
365   }
366 // ----------------------------------------------------------------------------
367
// Instance/ImplOperation
368
// ----------------------------------------------------------------------------
369
public org.openmdx.base.cci.Void cancelInventoryUpdate(
370       org.openmdx.base.cci.Void params
371   ) throws javax.jmi.reflect.RefException {
372     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
373     args.add(params);
374     return (org.openmdx.base.cci.Void)refInvokeOperation(
375       "org:opencrx:kernel:contract1:AbstractContract:cancelInventoryUpdate",
376       args
377     );
378   }
379
380   public org.openmdx.base.cci.Void cancelInventoryUpdate(
381   ) throws javax.jmi.reflect.RefException {
382     return cancelInventoryUpdate(
383       ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid(
384               )
385     );
386   }
387
388 // ----------------------------------------------------------------------------
389
// Instance/ImplAttributeGet0_1
390
// ----------------------------------------------------------------------------
391
public java.util.Date JavaDoc getCancelOn (
392   ) {
393     return (java.util.Date JavaDoc)this.refGetValue("cancelOn", 0);
394   }
395 // ----------------------------------------------------------------------------
396
// Instance/ImplAttributeSet0_1
397
// ----------------------------------------------------------------------------
398
public void setCancelOn(
399     java.util.Date JavaDoc newValue
400   ) {
401     refSetValue("org:opencrx:kernel:contract1:AbstractContract:cancelOn", 0, newValue);
402   }
403
404 // ----------------------------------------------------------------------------
405
// Instance/ImplAttributeGet0_1
406
// ----------------------------------------------------------------------------
407
public java.util.Date JavaDoc getClosedOn (
408   ) {
409     return (java.util.Date JavaDoc)this.refGetValue("closedOn", 0);
410   }
411 // ----------------------------------------------------------------------------
412
// Instance/ImplAttributeSet0_1
413
// ----------------------------------------------------------------------------
414
public void setClosedOn(
415     java.util.Date JavaDoc newValue
416   ) {
417     refSetValue("org:opencrx:kernel:contract1:AbstractContract:closedOn", 0, newValue);
418   }
419
420 // ----------------------------------------------------------------------------
421
// Instance/ImplReferenceSetWithQualifier
422
// ----------------------------------------------------------------------------
423
public void setCompetitor(
424     java.util.List JavaDoc newValue
425   ) {
426     refSetValue("org:opencrx:kernel:contract1:AbstractContract:competitor", newValue);
427   }
428
429   public void setCompetitor(
430     org.opencrx.kernel.account1.cci.Competitor[] newValue
431   ) {
432     refSetValue("org:opencrx:kernel:contract1:AbstractContract:competitor", newValue);
433   }
434
435 // ----------------------------------------------------------------------------
436
// Instance/ImplReferenceGet0_1WithQualifier
437
// ----------------------------------------------------------------------------
438
public org.opencrx.kernel.account1.cci.Competitor getCompetitor(
439     int index
440   ) {
441     return (org.opencrx.kernel.account1.cci.Competitor)refGetValue(
442       "org:opencrx:kernel:contract1:AbstractContract:competitor",
443       new Integer JavaDoc(index)
444     );
445   }
446
447 // ----------------------------------------------------------------------------
448
// Instance/ImplReferenceGet0_nNoFilter
449
// ----------------------------------------------------------------------------
450
public java.util.Collection JavaDoc getCompetitor(
451   ) {
452     return (java.util.Collection JavaDoc)refGetValue(
453       "org:opencrx:kernel:contract1:AbstractContract:competitor"
454     );
455   }
456
457 // ----------------------------------------------------------------------------
458
// Instance/ImplReferenceAddWithQualifier
459
// ----------------------------------------------------------------------------
460
public void addCompetitor (
461     int index,
462     org.opencrx.kernel.account1.cci.Competitor newValue
463   ) {
464     refAddValue(
465       "org:opencrx:kernel:contract1:AbstractContract:competitor",
466       new Integer JavaDoc(index),
467       newValue
468     );
469   }
470
471 // ----------------------------------------------------------------------------
472
// Instance/ImplReferenceAddWithoutQualifier
473
// ----------------------------------------------------------------------------
474
public void addCompetitor (
475     org.opencrx.kernel.account1.cci.Competitor newValue
476   ) {
477     refAddValue(
478       "org:opencrx:kernel:contract1:AbstractContract:competitor",
479       newValue
480     );
481   }
482
483 // ----------------------------------------------------------------------------
484
// Instance/ImplReferenceRemoveWithQualifier
485
// ----------------------------------------------------------------------------
486
public void removeCompetitor (
487     int index
488   ) {
489     refRemoveValue(
490       "org:opencrx:kernel:contract1:AbstractContract:competitor",
491       new Integer JavaDoc(index)
492     );
493   }
494
495 // ----------------------------------------------------------------------------
496
// Instance/ImplReferenceSetWithQualifier
497
// ----------------------------------------------------------------------------
498
public void setContact(
499     java.util.List JavaDoc newValue
500   ) {
501     refSetValue("org:opencrx:kernel:contract1:AbstractContract:contact", newValue);
502   }
503
504   public void setContact(
505     org.opencrx.kernel.account1.cci.Contact[] newValue
506   ) {
507     refSetValue("org:opencrx:kernel:contract1:AbstractContract:contact", newValue);
508   }
509
510 // ----------------------------------------------------------------------------
511
// Instance/ImplReferenceGet0_1WithQualifier
512
// ----------------------------------------------------------------------------
513
public org.opencrx.kernel.account1.cci.Contact getContact(
514     int index
515   ) {
516     return (org.opencrx.kernel.account1.cci.Contact)refGetValue(
517       "org:opencrx:kernel:contract1:AbstractContract:contact",
518       new Integer JavaDoc(index)
519     );
520   }
521
522 // ----------------------------------------------------------------------------
523
// Instance/ImplReferenceGet0_nNoFilter
524
// ----------------------------------------------------------------------------
525
public java.util.Collection JavaDoc getContact(
526   ) {
527     return (java.util.Collection JavaDoc)refGetValue(
528       "org:opencrx:kernel:contract1:AbstractContract:contact"
529     );
530   }
531
532 // ----------------------------------------------------------------------------
533
// Instance/ImplReferenceAddWithQualifier
534
// ----------------------------------------------------------------------------
535
public void addContact (
536     int index,
537     org.opencrx.kernel.account1.cci.Contact newValue
538   ) {
539     refAddValue(
540       "org:opencrx:kernel:contract1:AbstractContract:contact",
541       new Integer JavaDoc(index),
542       newValue
543     );
544   }
545
546 // ----------------------------------------------------------------------------
547
// Instance/ImplReferenceAddWithoutQualifier
548
// ----------------------------------------------------------------------------
549
public void addContact (
550     org.opencrx.kernel.account1.cci.Contact newValue
551   ) {
552     refAddValue(
553       "org:opencrx:kernel:contract1:AbstractContract:contact",
554       newValue
555     );
556   }
557
558 // ----------------------------------------------------------------------------
559
// Instance/ImplReferenceRemoveWithQualifier
560
// ----------------------------------------------------------------------------
561
public void removeContact (
562     int index
563   ) {
564     refRemoveValue(
565       "org:opencrx:kernel:contract1:AbstractContract:contact",
566       new Integer JavaDoc(index)
567     );
568   }
569
570 // ----------------------------------------------------------------------------
571
// Instance/ImplAttributeGet1_1
572
// ----------------------------------------------------------------------------
573
public short getContractCurrency(
574   ) {
575     return getContractCurrency(0);
576   }
577
578   protected short getContractCurrency(
579     int index
580   ) {
581     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:contractCurrency", index)).shortValue();
582   }
583
584 // ----------------------------------------------------------------------------
585
// Instance/ImplAttributeSet1_1
586
// ----------------------------------------------------------------------------
587
public void setContractCurrency(
588     short newValue
589   ) {
590     setContractCurrency(0, newValue);
591   }
592
593   protected void setContractCurrency(
594     int index,
595     short newValue
596   ) {
597     refSetValue("org:opencrx:kernel:contract1:AbstractContract:contractCurrency", index, new Short JavaDoc(newValue));
598   }
599 // ----------------------------------------------------------------------------
600
// Instance/ImplAttributeGet1_1
601
// ----------------------------------------------------------------------------
602
public short getContractLanguage(
603   ) {
604     return getContractLanguage(0);
605   }
606
607   protected short getContractLanguage(
608     int index
609   ) {
610     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:contractLanguage", index)).shortValue();
611   }
612
613 // ----------------------------------------------------------------------------
614
// Instance/ImplAttributeSet1_1
615
// ----------------------------------------------------------------------------
616
public void setContractLanguage(
617     short newValue
618   ) {
619     setContractLanguage(0, newValue);
620   }
621
622   protected void setContractLanguage(
623     int index,
624     short newValue
625   ) {
626     refSetValue("org:opencrx:kernel:contract1:AbstractContract:contractLanguage", index, new Short JavaDoc(newValue));
627   }
628 // ----------------------------------------------------------------------------
629
// Instance/ImplAttributeGet0_1
630
// ----------------------------------------------------------------------------
631
public String JavaDoc getContractNumber (
632   ) {
633     return (String JavaDoc)this.refGetValue("contractNumber", 0);
634   }
635 // ----------------------------------------------------------------------------
636
// Instance/ImplAttributeSet0_1
637
// ----------------------------------------------------------------------------
638
public void setContractNumber(
639     String JavaDoc newValue
640   ) {
641     refSetValue("org:opencrx:kernel:contract1:AbstractContract:contractNumber", 0, newValue);
642   }
643
644 // ----------------------------------------------------------------------------
645
// Instance/ImplAttributeGet1_1
646
// ----------------------------------------------------------------------------
647
public short getContractState(
648   ) {
649     return getContractState(0);
650   }
651
652   protected short getContractState(
653     int index
654   ) {
655     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:contractState", index)).shortValue();
656   }
657
658 // ----------------------------------------------------------------------------
659
// Instance/ImplAttributeSet1_1
660
// ----------------------------------------------------------------------------
661
public void setContractState(
662     short newValue
663   ) {
664     setContractState(0, newValue);
665   }
666
667   protected void setContractState(
668     int index,
669     short newValue
670   ) {
671     refSetValue("org:opencrx:kernel:contract1:AbstractContract:contractState", index, new Short JavaDoc(newValue));
672   }
673 // ----------------------------------------------------------------------------
674
// Instance/ImplOperation
675
// ----------------------------------------------------------------------------
676
public org.opencrx.kernel.contract1.cci.CreatePositionResult createPosition(
677       org.opencrx.kernel.contract1.cci.CreatePositionParams params
678   ) throws javax.jmi.reflect.RefException {
679     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
680     args.add(params);
681     return (org.opencrx.kernel.contract1.cci.CreatePositionResult)refInvokeOperation(
682       "org:opencrx:kernel:contract1:AbstractContract:createPosition",
683       args
684     );
685   }
686
687   public org.opencrx.kernel.contract1.cci.CreatePositionResult createPosition(
688       String JavaDoc name
689     , org.opencrx.kernel.uom1.cci.Uom priceUom
690     , java.util.Date JavaDoc pricingDate
691     , org.opencrx.kernel.product1.cci.PricingRule pricingRule
692     , org.opencrx.kernel.product1.cci.Product product
693     , java.math.BigDecimal JavaDoc quantity
694     , org.opencrx.kernel.uom1.cci.Uom uom
695   ) throws javax.jmi.reflect.RefException {
696     return createPosition(
697       ((org.opencrx.kernel.contract1.cci.contract1Package)refOutermostPackage().refPackage("org:opencrx:kernel:contract1")).createCreatePositionParams(
698         name
699     , priceUom
700     , pricingDate
701     , pricingRule
702     , product
703     , quantity
704     , uom
705       )
706     );
707   }
708
709 // ----------------------------------------------------------------------------
710
// Instance/ImplOperation
711
// ----------------------------------------------------------------------------
712
public org.opencrx.kernel.contract1.cci.CreateProductOfferingPositionResult createProductOfferingPosition(
713       org.opencrx.kernel.contract1.cci.CreateProductOfferingPositionParams params
714   ) throws javax.jmi.reflect.RefException {
715     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
716     args.add(params);
717     return (org.opencrx.kernel.contract1.cci.CreateProductOfferingPositionResult)refInvokeOperation(
718       "org:opencrx:kernel:contract1:AbstractContract:createProductOfferingPosition",
719       args
720     );
721   }
722
723   public org.opencrx.kernel.contract1.cci.CreateProductOfferingPositionResult createProductOfferingPosition(
724       org.opencrx.kernel.product1.cci.ProductOffering offering
725     , java.math.BigDecimal JavaDoc quantity
726   ) throws javax.jmi.reflect.RefException {
727     return createProductOfferingPosition(
728       ((org.opencrx.kernel.contract1.cci.contract1Package)refOutermostPackage().refPackage("org:opencrx:kernel:contract1")).createCreateProductOfferingPositionParams(
729         offering
730     , quantity
731       )
732     );
733   }
734
735 // ----------------------------------------------------------------------------
736
// Instance/ImplReferenceGet0_1NoQualifier
737
// ----------------------------------------------------------------------------
738
public org.opencrx.kernel.account1.cci.Account getCustomer(
739   ) {
740     return (org.opencrx.kernel.account1.cci.Account)refGetValue(
741       "org:opencrx:kernel:contract1:AbstractContract:customer"
742     );
743   }
744
745 // ----------------------------------------------------------------------------
746
// Instance/ImplReferenceSetNoQualifier
747
// ----------------------------------------------------------------------------
748
public void setCustomer(
749     org.opencrx.kernel.account1.cci.Account newValue
750   ) {
751     refSetValue(
752       "org:opencrx:kernel:contract1:AbstractContract:customer",
753       newValue
754     );
755   }
756
757 // ----------------------------------------------------------------------------
758
// Instance/ImplReferenceRemoveOptional
759
// ----------------------------------------------------------------------------
760
public void removeCustomer (
761   ) {
762     refRemoveValue(
763       "org:opencrx:kernel:contract1:AbstractContract:customer"
764     );
765   }
766 // ----------------------------------------------------------------------------
767
// Instance/ImplAttributeGet0_1
768
// ----------------------------------------------------------------------------
769
public String JavaDoc getDescription (
770   ) {
771     return (String JavaDoc)this.refGetValue("description", 0);
772   }
773 // ----------------------------------------------------------------------------
774
// Instance/ImplAttributeSet0_1
775
// ----------------------------------------------------------------------------
776
public void setDescription(
777     String JavaDoc newValue
778   ) {
779     refSetValue("org:opencrx:kernel:contract1:AbstractContract:description", 0, newValue);
780   }
781
782 // ----------------------------------------------------------------------------
783
// Instance/ImplAttributeGet0_1
784
// ----------------------------------------------------------------------------
785
public java.util.Date JavaDoc getExpiresOn (
786   ) {
787     return (java.util.Date JavaDoc)this.refGetValue("expiresOn", 0);
788   }
789 // ----------------------------------------------------------------------------
790
// Instance/ImplAttributeSet0_1
791
// ----------------------------------------------------------------------------
792
public void setExpiresOn(
793     java.util.Date JavaDoc newValue
794   ) {
795     refSetValue("org:opencrx:kernel:contract1:AbstractContract:expiresOn", 0, newValue);
796   }
797
798 // ----------------------------------------------------------------------------
799
// Instance/ImplReferenceGet0_1NoQualifier
800
// ----------------------------------------------------------------------------
801
public org.opencrx.kernel.depot1.cci.CompoundBooking getInventoryCb(
802   ) {
803     return (org.opencrx.kernel.depot1.cci.CompoundBooking)refGetValue(
804       "org:opencrx:kernel:contract1:AbstractContract:inventoryCb"
805     );
806   }
807
808 // ----------------------------------------------------------------------------
809
// Instance/ImplReferenceSetNoQualifier
810
// ----------------------------------------------------------------------------
811
protected void setInventoryCb(
812     org.opencrx.kernel.depot1.cci.CompoundBooking newValue
813   ) {
814     refSetValue(
815       "org:opencrx:kernel:contract1:AbstractContract:inventoryCb",
816       newValue
817     );
818   }
819
820 // ----------------------------------------------------------------------------
821
// Instance/ImplReferenceRemoveOptional
822
// ----------------------------------------------------------------------------
823
protected void removeInventoryCb (
824   ) {
825     refRemoveValue(
826       "org:opencrx:kernel:contract1:AbstractContract:inventoryCb"
827     );
828   }
829 // ----------------------------------------------------------------------------
830
// Instance/ImplAttributeGet1_1
831
// ----------------------------------------------------------------------------
832
public String JavaDoc getName(
833   ) {
834     return getName(0);
835   }
836
837   protected String JavaDoc getName(
838     int index
839   ) {
840     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:name", index);
841   }
842
843 // ----------------------------------------------------------------------------
844
// Instance/ImplAttributeSet1_1
845
// ----------------------------------------------------------------------------
846
public void setName(
847     String JavaDoc newValue
848   ) {
849     setName(0, newValue);
850   }
851
852   protected void setName(
853     int index,
854     String JavaDoc newValue
855   ) {
856     refSetValue("org:opencrx:kernel:contract1:AbstractContract:name", index, newValue);
857   }
858 // ----------------------------------------------------------------------------
859
// Instance/ImplReferenceGet0_1NoQualifier
860
// ----------------------------------------------------------------------------
861
public org.opencrx.kernel.contract1.cci.AbstractContract getOrigin(
862   ) {
863     return (org.opencrx.kernel.contract1.cci.AbstractContract)refGetValue(
864       "org:opencrx:kernel:contract1:AbstractContract:origin"
865     );
866   }
867
868 // ----------------------------------------------------------------------------
869
// Instance/ImplReferenceSetNoQualifier
870
// ----------------------------------------------------------------------------
871
public void setOrigin(
872     org.opencrx.kernel.contract1.cci.AbstractContract newValue
873   ) {
874     refSetValue(
875       "org:opencrx:kernel:contract1:AbstractContract:origin",
876       newValue
877     );
878   }
879
880 // ----------------------------------------------------------------------------
881
// Instance/ImplReferenceRemoveOptional
882
// ----------------------------------------------------------------------------
883
public void removeOrigin (
884   ) {
885     refRemoveValue(
886       "org:opencrx:kernel:contract1:AbstractContract:origin"
887     );
888   }
889 // ----------------------------------------------------------------------------
890
// Instance/ImplAttributeGet1_1
891
// ----------------------------------------------------------------------------
892
public short getPaymentTerms(
893   ) {
894     return getPaymentTerms(0);
895   }
896
897   protected short getPaymentTerms(
898     int index
899   ) {
900     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:paymentTerms", index)).shortValue();
901   }
902
903 // ----------------------------------------------------------------------------
904
// Instance/ImplAttributeSet1_1
905
// ----------------------------------------------------------------------------
906
public void setPaymentTerms(
907     short newValue
908   ) {
909     setPaymentTerms(0, newValue);
910   }
911
912   protected void setPaymentTerms(
913     int index,
914     short newValue
915   ) {
916     refSetValue("org:opencrx:kernel:contract1:AbstractContract:paymentTerms", index, new Short JavaDoc(newValue));
917   }
918 // ----------------------------------------------------------------------------
919
// Instance/ImplAttributeGet0_1
920
// ----------------------------------------------------------------------------
921
public java.util.Date JavaDoc getPricingDate (
922   ) {
923     return (java.util.Date JavaDoc)this.refGetValue("pricingDate", 0);
924   }
925 // ----------------------------------------------------------------------------
926
// Instance/ImplAttributeSet0_1
927
// ----------------------------------------------------------------------------
928
public void setPricingDate(
929     java.util.Date JavaDoc newValue
930   ) {
931     refSetValue("org:opencrx:kernel:contract1:AbstractContract:pricingDate", 0, newValue);
932   }
933
934 // ----------------------------------------------------------------------------
935
// Instance/ImplReferenceGet0_1NoQualifier
936
// ----------------------------------------------------------------------------
937
public org.opencrx.kernel.product1.cci.PricingRule getPricingRule(
938   ) {
939     return (org.opencrx.kernel.product1.cci.PricingRule)refGetValue(
940       "org:opencrx:kernel:contract1:AbstractContract:pricingRule"
941     );
942   }
943
944 // ----------------------------------------------------------------------------
945
// Instance/ImplReferenceSetNoQualifier
946
// ----------------------------------------------------------------------------
947
public void setPricingRule(
948     org.opencrx.kernel.product1.cci.PricingRule newValue
949   ) {
950     refSetValue(
951       "org:opencrx:kernel:contract1:AbstractContract:pricingRule",
952       newValue
953     );
954   }
955
956 // ----------------------------------------------------------------------------
957
// Instance/ImplReferenceRemoveOptional
958
// ----------------------------------------------------------------------------
959
public void removePricingRule (
960   ) {
961     refRemoveValue(
962       "org:opencrx:kernel:contract1:AbstractContract:pricingRule"
963     );
964   }
965 // ----------------------------------------------------------------------------
966
// Instance/ImplAttributeGet1_1
967
// ----------------------------------------------------------------------------
968
public short getPricingState(
969   ) {
970     return getPricingState(0);
971   }
972
973   protected short getPricingState(
974     int index
975   ) {
976     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:pricingState", index)).shortValue();
977   }
978
979 // ----------------------------------------------------------------------------
980
// Instance/ImplAttributeSet1_1
981
// ----------------------------------------------------------------------------
982
protected void setPricingState(
983     short newValue
984   ) {
985     setPricingState(0, newValue);
986   }
987
988   protected void setPricingState(
989     int index,
990     short newValue
991   ) {
992     refSetValue("org:opencrx:kernel:contract1:AbstractContract:pricingState", index, new Short JavaDoc(newValue));
993   }
994 // ----------------------------------------------------------------------------
995
// Instance/ImplAttributeGet1_1
996
// ----------------------------------------------------------------------------
997
public short getPriority(
998   ) {
999     return getPriority(0);
1000  }
1001
1002  protected short getPriority(
1003    int index
1004  ) {
1005    return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:priority", index)).shortValue();
1006  }
1007
1008// ----------------------------------------------------------------------------
1009
// Instance/ImplAttributeSet1_1
1010
// ----------------------------------------------------------------------------
1011
public void setPriority(
1012    short newValue
1013  ) {
1014    setPriority(0, newValue);
1015  }
1016
1017  protected void setPriority(
1018    int index,
1019    short newValue
1020  ) {
1021    refSetValue("org:opencrx:kernel:contract1:AbstractContract:priority", index, new Short JavaDoc(newValue));
1022  }
1023// ----------------------------------------------------------------------------
1024
// Instance/ImplOperation
1025
// ----------------------------------------------------------------------------
1026
public org.openmdx.base.cci.Void reprice(
1027      org.openmdx.base.cci.Void params
1028  ) throws javax.jmi.reflect.RefException {
1029    java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
1030    args.add(params);
1031    return (org.openmdx.base.cci.Void)refInvokeOperation(
1032      "org:opencrx:kernel:contract1:AbstractContract:reprice",
1033      args
1034    );
1035  }
1036
1037  public org.openmdx.base.cci.Void reprice(
1038  ) throws javax.jmi.reflect.RefException {
1039    return reprice(
1040      ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid(
1041              )
1042    );
1043  }
1044
1045// ----------------------------------------------------------------------------
1046
// Instance/ImplReferenceGet0_1NoQualifier
1047
// ----------------------------------------------------------------------------
1048
public org.opencrx.kernel.account1.cci.Account getSalesRep(
1049  ) {
1050    return (org.opencrx.kernel.account1.cci.Account)refGetValue(
1051      "org:opencrx:kernel:contract1:AbstractContract:salesRep"
1052    );
1053  }
1054
1055// ----------------------------------------------------------------------------
1056
// Instance/ImplReferenceSetNoQualifier
1057
// ----------------------------------------------------------------------------
1058
public void setSalesRep(
1059    org.opencrx.kernel.account1.cci.Account newValue
1060  ) {
1061    refSetValue(
1062      "org:opencrx:kernel:contract1:AbstractContract:salesRep",
1063      newValue
1064    );
1065  }
1066
1067// ----------------------------------------------------------------------------
1068
// Instance/ImplReferenceRemoveOptional
1069
// ----------------------------------------------------------------------------
1070
public void removeSalesRep (
1071  ) {
1072    refRemoveValue(
1073      "org:opencrx:kernel:contract1:AbstractContract:salesRep"
1074    );
1075  }
1076// ----------------------------------------------------------------------------
1077
// Instance/ImplAttributeGet1_1
1078
// ----------------------------------------------------------------------------
1079
public java.math.BigDecimal JavaDoc getTotalAmount(
1080  ) {
1081    return getTotalAmount(0);
1082  }
1083
1084  protected java.math.BigDecimal JavaDoc getTotalAmount(
1085    int index
1086  ) {
1087    return (java.math.BigDecimal JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:totalAmount", index);
1088  }
1089
1090// ----------------------------------------------------------------------------
1091
// Instance/ImplAttributeSet1_1
1092
// ----------------------------------------------------------------------------
1093
protected void setTotalAmount(
1094    java.math.BigDecimal JavaDoc newValue
1095  ) {
1096    setTotalAmount(0, newValue);
1097  }
1098
1099  protected void setTotalAmount(
1100    int index,
1101    java.math.BigDecimal JavaDoc newValue
1102  ) {
1103    refSetValue("org:opencrx:kernel:contract1:AbstractContract:totalAmount", index, newValue);
1104  }
1105// ----------------------------------------------------------------------------
1106
// Instance/ImplAttributeGet1_1
1107
// ----------------------------------------------------------------------------
1108
public java.math.BigDecimal JavaDoc getTotalAmountIncludingTax(
1109  ) {
1110    return getTotalAmountIncludingTax(0);
1111  }
1112
1113  protected java.math.BigDecimal JavaDoc getTotalAmountIncludingTax(
1114    int index
1115  ) {
1116    return (java.math.BigDecimal JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:totalAmountIncludingTax", index);
1117  }
1118
1119// ----------------------------------------------------------------------------
1120
// Instance/ImplAttributeSet1_1
1121
// ----------------------------------------------------------------------------
1122
protected void setTotalAmountIncludingTax(
1123    java.math.BigDecimal JavaDoc newValue
1124  ) {
1125    setTotalAmountIncludingTax(0, newValue);
1126  }
1127
1128  protected void setTotalAmountIncludingTax(
1129    int index,
1130    java.math.BigDecimal JavaDoc newValue
1131  ) {
1132    refSetValue("org:opencrx:kernel:contract1:AbstractContract:totalAmountIncludingTax", index, newValue);
1133  }
1134// ----------------------------------------------------------------------------
1135
// Instance/ImplAttributeGet1_1
1136
// ----------------------------------------------------------------------------
1137
public java.math.BigDecimal JavaDoc getTotalBaseAmount(
1138  ) {
1139    return getTotalBaseAmount(0);
1140  }
1141
1142  protected java.math.BigDecimal JavaDoc getTotalBaseAmount(
1143    int index
1144  ) {
1145    return (java.math.BigDecimal JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:totalBaseAmount", index);
1146  }
1147
1148// ----------------------------------------------------------------------------
1149
// Instance/ImplAttributeSet1_1
1150
// ----------------------------------------------------------------------------
1151
protected void setTotalBaseAmount(
1152    java.math.BigDecimal JavaDoc newValue
1153  ) {
1154    setTotalBaseAmount(0, newValue);
1155  }
1156
1157  protected void setTotalBaseAmount(
1158    int index,
1159    java.math.BigDecimal JavaDoc newValue
1160  ) {
1161    refSetValue("org:opencrx:kernel:contract1:AbstractContract:totalBaseAmount", index, newValue);
1162  }
1163// ----------------------------------------------------------------------------
1164
// Instance/ImplAttributeGet1_1
1165
// ----------------------------------------------------------------------------
1166
public java.math.BigDecimal JavaDoc getTotalDiscountAmount(
1167  ) {
1168    return getTotalDiscountAmount(0);
1169  }
1170
1171  protected java.math.BigDecimal JavaDoc getTotalDiscountAmount(
1172    int index
1173  ) {
1174    return (java.math.BigDecimal JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:totalDiscountAmount", index);
1175  }
1176
1177// ----------------------------------------------------------------------------
1178
// Instance/ImplAttributeSet1_1
1179
// ----------------------------------------------------------------------------
1180
protected void setTotalDiscountAmount(
1181    java.math.BigDecimal JavaDoc newValue
1182  ) {
1183    setTotalDiscountAmount(0, newValue);
1184  }
1185
1186  protected void setTotalDiscountAmount(
1187    int index,
1188    java.math.BigDecimal JavaDoc newValue
1189  ) {
1190    refSetValue("org:opencrx:kernel:contract1:AbstractContract:totalDiscountAmount", index, newValue);
1191  }
1192// ----------------------------------------------------------------------------
1193
// Instance/ImplAttributeGet1_1
1194
// ----------------------------------------------------------------------------
1195
public java.math.BigDecimal JavaDoc getTotalSalesCommission(
1196  ) {
1197    return getTotalSalesCommission(0);
1198  }
1199
1200  protected java.math.BigDecimal JavaDoc getTotalSalesCommission(
1201    int index
1202  ) {
1203    return (java.math.BigDecimal JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:totalSalesCommission", index);
1204  }
1205
1206// ----------------------------------------------------------------------------
1207
// Instance/ImplAttributeSet1_1
1208
// ----------------------------------------------------------------------------
1209
protected void setTotalSalesCommission(
1210    java.math.BigDecimal JavaDoc newValue
1211  ) {
1212    setTotalSalesCommission(0, newValue);
1213  }
1214
1215  protected void setTotalSalesCommission(
1216    int index,
1217    java.math.BigDecimal JavaDoc newValue
1218  ) {
1219    refSetValue("org:opencrx:kernel:contract1:AbstractContract:totalSalesCommission", index, newValue);
1220  }
1221// ----------------------------------------------------------------------------
1222
// Instance/ImplAttributeGet1_1
1223
// ----------------------------------------------------------------------------
1224
public java.math.BigDecimal JavaDoc getTotalTaxAmount(
1225  ) {
1226    return getTotalTaxAmount(0);
1227  }
1228
1229  protected java.math.BigDecimal JavaDoc getTotalTaxAmount(
1230    int index
1231  ) {
1232    return (java.math.BigDecimal JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:totalTaxAmount", index);
1233  }
1234
1235// ----------------------------------------------------------------------------
1236
// Instance/ImplAttributeSet1_1
1237
// ----------------------------------------------------------------------------
1238
protected void setTotalTaxAmount(
1239    java.math.BigDecimal JavaDoc newValue
1240  ) {
1241    setTotalTaxAmount(0, newValue);
1242  }
1243
1244  protected void setTotalTaxAmount(
1245    int index,
1246    java.math.BigDecimal JavaDoc newValue
1247  ) {
1248    refSetValue("org:opencrx:kernel:contract1:AbstractContract:totalTaxAmount", index, newValue);
1249  }
1250// ----------------------------------------------------------------------------
1251
// Instance/ImplOperation
1252
// ----------------------------------------------------------------------------
1253
public org.opencrx.kernel.contract1.cci.UpdateInventoryResult updateInventory(
1254      org.opencrx.kernel.contract1.cci.UpdateInventoryParams params
1255  ) throws javax.jmi.reflect.RefException {
1256    java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
1257    args.add(params);
1258    return (org.opencrx.kernel.contract1.cci.UpdateInventoryResult)refInvokeOperation(
1259      "org:opencrx:kernel:contract1:AbstractContract:updateInventory",
1260      args
1261    );
1262  }
1263
1264  public org.opencrx.kernel.contract1.cci.UpdateInventoryResult updateInventory(
1265      Boolean JavaDoc cancelPreviousInventoryUpdate
1266  ) throws javax.jmi.reflect.RefException {
1267    return updateInventory(
1268      ((org.opencrx.kernel.contract1.cci.contract1Package)refOutermostPackage().refPackage("org:opencrx:kernel:contract1")).createUpdateInventoryParams(
1269        cancelPreviousInventoryUpdate
1270      )
1271    );
1272  }
1273
1274// ----------------------------------------------------------------------------
1275
// Instance/ImplReferenceSetWithQualifier
1276
// ----------------------------------------------------------------------------
1277
public void setAddress(
1278    java.util.List JavaDoc newValue
1279  ) {
1280    refSetValue("org:opencrx:kernel:contract1:AddressContainer:address", newValue);
1281  }
1282
1283  public void setAddress(
1284    org.opencrx.kernel.contract1.cci.ContractAddress[] newValue
1285  ) {
1286    refSetValue("org:opencrx:kernel:contract1:AddressContainer:address", newValue);
1287  }
1288
1289// ----------------------------------------------------------------------------
1290
// Instance/ImplReferenceGet0_1WithQualifier
1291
// ----------------------------------------------------------------------------
1292
public org.opencrx.kernel.contract1.cci.ContractAddress getAddress(
1293    String JavaDoc id
1294  ) {
1295    return (org.opencrx.kernel.contract1.cci.ContractAddress)refGetValue(
1296      "org:opencrx:kernel:contract1:AddressContainer:address",
1297      id
1298    );
1299  }
1300
1301// ----------------------------------------------------------------------------
1302
// Instance/ImplReferenceGet0_nWithFilter
1303
// ----------------------------------------------------------------------------
1304
public java.util.Collection JavaDoc getAddress(
1305  ) {
1306    return (java.util.Collection JavaDoc)refGetValue(
1307      "org:opencrx:kernel:contract1:AddressContainer:address"
1308    );
1309  }
1310
1311  public java.util.List JavaDoc getAddress(
1312    org.opencrx.kernel.contract1.cci.ContractAddressFilter filter
1313  ) {
1314    return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
1315      "org:opencrx:kernel:contract1:AddressContainer:address"
1316    )).toList(filter);
1317  }
1318
1319// ----------------------------------------------------------------------------
1320
// Instance/ImplReferenceAddWithQualifier
1321
// ----------------------------------------------------------------------------
1322
public void addAddress (
1323    String JavaDoc id,
1324    org.opencrx.kernel.contract1.cci.ContractAddress newValue
1325  ) {
1326    refAddValue(
1327      "org:opencrx:kernel:contract1:AddressContainer:address",
1328      id,
1329      newValue
1330    );
1331  }
1332
1333// ----------------------------------------------------------------------------
1334
// Instance/ImplReferenceAddWithoutQualifier
1335
// ----------------------------------------------------------------------------
1336
public void addAddress (
1337    org.opencrx.kernel.contract1.cci.ContractAddress newValue
1338  ) {
1339    refAddValue(
1340      "org:opencrx:kernel:contract1:AddressContainer:address",
1341      newValue
1342    );
1343  }
1344
1345// ----------------------------------------------------------------------------
1346
// Instance/ImplReferenceRemoveWithQualifier
1347
// ----------------------------------------------------------------------------
1348
public void removeAddress (
1349    String JavaDoc id
1350  ) {
1351    refRemoveValue(
1352      "org:opencrx:kernel:contract1:AddressContainer:address",
1353      id
1354    );
1355  }
1356
1357// ----------------------------------------------------------------------------
1358
// Instance/ImplReferenceSetWithQualifier
1359
// ----------------------------------------------------------------------------
1360
public void setDeliveryRequest(
1361    java.util.List JavaDoc newValue
1362  ) {
1363    refSetValue("org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", newValue);
1364  }
1365
1366  public void setDeliveryRequest(
1367    org.opencrx.kernel.contract1.cci.DeliveryRequest[] newValue
1368  ) {
1369    refSetValue("org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", newValue);
1370  }
1371
1372// ----------------------------------------------------------------------------
1373
// Instance/ImplReferenceGet0_1WithQualifier
1374
// ----------------------------------------------------------------------------
1375
public org.opencrx.kernel.contract1.cci.DeliveryRequest getDeliveryRequest(
1376    String JavaDoc id
1377  ) {
1378    return (org.opencrx.kernel.contract1.cci.DeliveryRequest)refGetValue(
1379      "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest",
1380      id
1381    );
1382  }
1383
1384// ----------------------------------------------------------------------------
1385
// Instance/ImplReferenceGet0_nWithFilter
1386
// ----------------------------------------------------------------------------
1387
public java.util.Collection JavaDoc getDeliveryRequest(
1388  ) {
1389    return (java.util.Collection JavaDoc)refGetValue(
1390      "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest"
1391    );
1392  }
1393
1394  public java.util.List JavaDoc getDeliveryRequest(
1395    org.opencrx.kernel.contract1.cci.DeliveryRequestFilter filter
1396  ) {
1397    return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
1398      "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest"
1399    )).toList(filter);
1400  }
1401
1402// ----------------------------------------------------------------------------
1403
// Instance/ImplReferenceAddWithQualifier
1404
// ----------------------------------------------------------------------------
1405
public void addDeliveryRequest (
1406    String JavaDoc id,
1407    org.opencrx.kernel.contract1.cci.DeliveryRequest newValue
1408  ) {
1409    refAddValue(
1410      "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest",
1411      id,
1412      newValue
1413    );
1414  }
1415
1416// ----------------------------------------------------------------------------
1417
// Instance/ImplReferenceAddWithoutQualifier
1418
// ----------------------------------------------------------------------------
1419
public void addDeliveryRequest (
1420    org.opencrx.kernel.contract1.cci.DeliveryRequest newValue
1421  ) {
1422    refAddValue(
1423      "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest",
1424      newValue
1425    );
1426  }
1427
1428// ----------------------------------------------------------------------------
1429
// Instance/ImplReferenceRemoveWithQualifier
1430
// ----------------------------------------------------------------------------
1431
public void removeDeliveryRequest (
1432    String JavaDoc id
1433  ) {
1434    refRemoveValue(
1435      "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest",
1436      id
1437    );
1438  }
1439
1440// ----------------------------------------------------------------------------
1441
// Instance/ImplReferenceGet1_1NoQualifier
1442
// ----------------------------------------------------------------------------
1443
public org.opencrx.kernel.account1.cci.Account getCarrier(
1444  ) {
1445    return (org.opencrx.kernel.account1.cci.Account)refGetValue(
1446      "org:opencrx:kernel:contract1:ShippingDetail:carrier"
1447    );
1448  }
1449
1450// ----------------------------------------------------------------------------
1451
// Instance/ImplReferenceSetNoQualifier
1452
// ----------------------------------------------------------------------------
1453
public void setCarrier(
1454    org.opencrx.kernel.account1.cci.Account newValue
1455  ) {
1456    refSetValue(
1457      "org:opencrx:kernel:contract1:ShippingDetail:carrier",
1458      newValue
1459    );
1460  }
1461
1462// ----------------------------------------------------------------------------
1463
// Instance/ImplAttributeGet0_1
1464
// ----------------------------------------------------------------------------
1465
public String JavaDoc getGiftMessage (
1466  ) {
1467    return (String JavaDoc)this.refGetValue("giftMessage", 0);
1468  }
1469// ----------------------------------------------------------------------------
1470
// Instance/ImplAttributeSet0_1
1471
// ----------------------------------------------------------------------------
1472
public void setGiftMessage(
1473    String JavaDoc newValue
1474  ) {
1475    refSetValue("org:opencrx:kernel:contract1:ShippingDetail:giftMessage", 0, newValue);
1476  }
1477
1478// ----------------------------------------------------------------------------
1479
// Instance/ImplAttributeGet1_1
1480
// ----------------------------------------------------------------------------
1481
public boolean isGift(
1482  ) {
1483    return isGift(0);
1484  }
1485
1486  protected boolean isGift(
1487    int index
1488  ) {
1489    return ((Boolean JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:ShippingDetail:isGift", index)).booleanValue();
1490  }
1491
1492// ----------------------------------------------------------------------------
1493
// Instance/ImplAttributeSet1_1
1494
// ----------------------------------------------------------------------------
1495
public void setGift(
1496    boolean newValue
1497  ) {
1498    setGift(0, newValue);
1499  }
1500
1501  protected void setGift(
1502    int index,
1503    boolean newValue
1504  ) {
1505    refSetValue("org:opencrx:kernel:contract1:ShippingDetail:isGift", index, new Boolean JavaDoc(newValue));
1506  }
1507// ----------------------------------------------------------------------------
1508
// Instance/ImplAttributeGet0_1
1509
// ----------------------------------------------------------------------------
1510
public String JavaDoc getShippingInstructions (
1511  ) {
1512    return (String JavaDoc)this.refGetValue("shippingInstructions", 0);
1513  }
1514// ----------------------------------------------------------------------------
1515
// Instance/ImplAttributeSet0_1
1516
// ----------------------------------------------------------------------------
1517
public void setShippingInstructions(
1518    String JavaDoc newValue
1519  ) {
1520    refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingInstructions", 0, newValue);
1521  }
1522
1523// ----------------------------------------------------------------------------
1524
// Instance/ImplAttributeGet1_1
1525
// ----------------------------------------------------------------------------
1526
public short getShippingMethod(
1527  ) {
1528    return getShippingMethod(0);
1529  }
1530
1531  protected short getShippingMethod(
1532    int index
1533  ) {
1534    return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingMethod", index)).shortValue();
1535  }
1536
1537// ----------------------------------------------------------------------------
1538
// Instance/ImplAttributeSet1_1
1539
// ----------------------------------------------------------------------------
1540
public void setShippingMethod(
1541    short newValue
1542  ) {
1543    setShippingMethod(0, newValue);
1544  }
1545
1546  protected void setShippingMethod(
1547    int index,
1548    short newValue
1549  ) {
1550    refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingMethod", index, new Short JavaDoc(newValue));
1551  }
1552// ----------------------------------------------------------------------------
1553
// Instance/ImplAttributeGet0_1
1554
// ----------------------------------------------------------------------------
1555
public String JavaDoc getShippingTrackingNumber (
1556  ) {
1557    return (String JavaDoc)this.refGetValue("shippingTrackingNumber", 0);
1558  }
1559// ----------------------------------------------------------------------------
1560
// Instance/ImplAttributeSet0_1
1561
// ----------------------------------------------------------------------------
1562
public void setShippingTrackingNumber(
1563    String JavaDoc newValue
1564  ) {
1565    refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingTrackingNumber", 0, newValue);
1566  }
1567
1568// ----------------------------------------------------------------------------
1569
// Instance/ImplReferenceSetWithQualifier
1570
// ----------------------------------------------------------------------------
1571
public void setDepotReference(
1572    java.util.List JavaDoc newValue
1573  ) {
1574    refSetValue("org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", newValue);
1575  }
1576
1577  public void setDepotReference(
1578    org.opencrx.kernel.depot1.cci.DepotReference[] newValue
1579  ) {
1580    refSetValue("org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", newValue);
1581  }
1582
1583// ----------------------------------------------------------------------------
1584
// Instance/ImplReferenceGet0_1WithQualifier
1585
// ----------------------------------------------------------------------------
1586
public org.opencrx.kernel.depot1.cci.DepotReference getDepotReference(
1587    String JavaDoc id
1588  ) {
1589    return (org.opencrx.kernel.depot1.cci.DepotReference)refGetValue(
1590      "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference",
1591      id
1592    );
1593  }
1594
1595// ----------------------------------------------------------------------------
1596
// Instance/ImplReferenceGet0_nWithFilter
1597
// ----------------------------------------------------------------------------
1598
public java.util.Collection JavaDoc getDepotReference(
1599  ) {
1600    return (java.util.Collection JavaDoc)refGetValue(
1601      "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference"
1602    );
1603  }
1604
1605  public java.util.List JavaDoc getDepotReference(
1606    org.opencrx.kernel.depot1.cci.DepotReferenceFilter filter
1607  ) {
1608    return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
1609      "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference"
1610    )).toList(filter);
1611  }
1612
1613// ----------------------------------------------------------------------------
1614
// Instance/ImplReferenceAddWithQualifier
1615
// ----------------------------------------------------------------------------
1616
public void addDepotReference (
1617    String JavaDoc id,
1618    org.opencrx.kernel.depot1.cci.DepotReference newValue
1619  ) {
1620    refAddValue(
1621      "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference",
1622      id,
1623      newValue
1624    );
1625  }
1626
1627// ----------------------------------------------------------------------------
1628
// Instance/ImplReferenceAddWithoutQualifier
1629
// ----------------------------------------------------------------------------
1630
public void addDepotReference (
1631    org.opencrx.kernel.depot1.cci.DepotReference newValue
1632  ) {
1633    refAddValue(
1634      "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference",
1635      newValue
1636    );
1637  }
1638
1639// ----------------------------------------------------------------------------
1640
// Instance/ImplReferenceRemoveWithQualifier
1641
// ----------------------------------------------------------------------------
1642
public void removeDepotReference (
1643    String JavaDoc id
1644  ) {
1645    refRemoveValue(
1646      "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference",
1647      id
1648    );
1649  }
1650
1651// ----------------------------------------------------------------------------
1652
// Instance/ImplEnd
1653
// ----------------------------------------------------------------------------
1654
}
1655
Popular Tags