KickJava   Java API By Example, From Geeks To Geeks.

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


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 ContractPositionImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements ContractPosition {
18
19   public ContractPositionImpl(
20     org.openmdx.base.accessor.generic.cci.Object_1_0 object,
21     javax.jmi.reflect.RefClass refClass
22   ) {
23     super(object, refClass);
24   }
25
26 // ----------------------------------------------------------------------------
27
// Instance/ImplReferenceSetWithQualifier
28
// ----------------------------------------------------------------------------
29
public void setAddress(
30     java.util.List JavaDoc newValue
31   ) {
32     refSetValue("org:opencrx:kernel:contract1:AddressContainer:address", newValue);
33   }
34
35   public void setAddress(
36     org.opencrx.kernel.contract1.cci.ContractAddress[] newValue
37   ) {
38     refSetValue("org:opencrx:kernel:contract1:AddressContainer:address", newValue);
39   }
40
41 // ----------------------------------------------------------------------------
42
// Instance/ImplReferenceGet0_1WithQualifier
43
// ----------------------------------------------------------------------------
44
public org.opencrx.kernel.contract1.cci.ContractAddress getAddress(
45     String JavaDoc id
46   ) {
47     return (org.opencrx.kernel.contract1.cci.ContractAddress)refGetValue(
48       "org:opencrx:kernel:contract1:AddressContainer:address",
49       id
50     );
51   }
52
53 // ----------------------------------------------------------------------------
54
// Instance/ImplReferenceGet0_nWithFilter
55
// ----------------------------------------------------------------------------
56
public java.util.Collection JavaDoc getAddress(
57   ) {
58     return (java.util.Collection JavaDoc)refGetValue(
59       "org:opencrx:kernel:contract1:AddressContainer:address"
60     );
61   }
62
63   public java.util.List JavaDoc getAddress(
64     org.opencrx.kernel.contract1.cci.ContractAddressFilter filter
65   ) {
66     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
67       "org:opencrx:kernel:contract1:AddressContainer:address"
68     )).toList(filter);
69   }
70
71 // ----------------------------------------------------------------------------
72
// Instance/ImplReferenceAddWithQualifier
73
// ----------------------------------------------------------------------------
74
public void addAddress (
75     String JavaDoc id,
76     org.opencrx.kernel.contract1.cci.ContractAddress newValue
77   ) {
78     refAddValue(
79       "org:opencrx:kernel:contract1:AddressContainer:address",
80       id,
81       newValue
82     );
83   }
84
85 // ----------------------------------------------------------------------------
86
// Instance/ImplReferenceAddWithoutQualifier
87
// ----------------------------------------------------------------------------
88
public void addAddress (
89     org.opencrx.kernel.contract1.cci.ContractAddress newValue
90   ) {
91     refAddValue(
92       "org:opencrx:kernel:contract1:AddressContainer:address",
93       newValue
94     );
95   }
96
97 // ----------------------------------------------------------------------------
98
// Instance/ImplReferenceRemoveWithQualifier
99
// ----------------------------------------------------------------------------
100
public void removeAddress (
101     String JavaDoc id
102   ) {
103     refRemoveValue(
104       "org:opencrx:kernel:contract1:AddressContainer:address",
105       id
106     );
107   }
108
109 // ----------------------------------------------------------------------------
110
// Instance/ImplAttributeGet0_1
111
// ----------------------------------------------------------------------------
112
public java.math.BigDecimal JavaDoc getAmount (
113   ) {
114     return (java.math.BigDecimal JavaDoc)this.refGetValue("amount", 0);
115   }
116 // ----------------------------------------------------------------------------
117
// Instance/ImplAttributeSet0_1
118
// ----------------------------------------------------------------------------
119
protected void setAmount(
120     java.math.BigDecimal JavaDoc newValue
121   ) {
122     refSetValue("org:opencrx:kernel:contract1:ContractPosition:amount", 0, newValue);
123   }
124
125 // ----------------------------------------------------------------------------
126
// Instance/ImplAttributeGet0_1
127
// ----------------------------------------------------------------------------
128
public java.math.BigDecimal JavaDoc getBaseAmount (
129   ) {
130     return (java.math.BigDecimal JavaDoc)this.refGetValue("baseAmount", 0);
131   }
132 // ----------------------------------------------------------------------------
133
// Instance/ImplAttributeSet0_1
134
// ----------------------------------------------------------------------------
135
protected void setBaseAmount(
136     java.math.BigDecimal JavaDoc newValue
137   ) {
138     refSetValue("org:opencrx:kernel:contract1:ContractPosition:baseAmount", 0, newValue);
139   }
140
141 // ----------------------------------------------------------------------------
142
// Instance/ImplReferenceSetWithQualifier
143
// ----------------------------------------------------------------------------
144
public void setContact(
145     java.util.List JavaDoc newValue
146   ) {
147     refSetValue("org:opencrx:kernel:contract1:ContractPosition:contact", newValue);
148   }
149
150   public void setContact(
151     org.opencrx.kernel.account1.cci.Contact[] newValue
152   ) {
153     refSetValue("org:opencrx:kernel:contract1:ContractPosition:contact", newValue);
154   }
155
156 // ----------------------------------------------------------------------------
157
// Instance/ImplReferenceGet0_1WithQualifier
158
// ----------------------------------------------------------------------------
159
public org.opencrx.kernel.account1.cci.Contact getContact(
160     int importance
161   ) {
162     return (org.opencrx.kernel.account1.cci.Contact)refGetValue(
163       "org:opencrx:kernel:contract1:ContractPosition:contact",
164       new Integer JavaDoc(importance)
165     );
166   }
167
168 // ----------------------------------------------------------------------------
169
// Instance/ImplReferenceGet0_nNoFilter
170
// ----------------------------------------------------------------------------
171
public java.util.Collection JavaDoc getContact(
172   ) {
173     return (java.util.Collection JavaDoc)refGetValue(
174       "org:opencrx:kernel:contract1:ContractPosition:contact"
175     );
176   }
177
178 // ----------------------------------------------------------------------------
179
// Instance/ImplReferenceAddWithQualifier
180
// ----------------------------------------------------------------------------
181
public void addContact (
182     int importance,
183     org.opencrx.kernel.account1.cci.Contact newValue
184   ) {
185     refAddValue(
186       "org:opencrx:kernel:contract1:ContractPosition:contact",
187       new Integer JavaDoc(importance),
188       newValue
189     );
190   }
191
192 // ----------------------------------------------------------------------------
193
// Instance/ImplReferenceAddWithoutQualifier
194
// ----------------------------------------------------------------------------
195
public void addContact (
196     org.opencrx.kernel.account1.cci.Contact newValue
197   ) {
198     refAddValue(
199       "org:opencrx:kernel:contract1:ContractPosition:contact",
200       newValue
201     );
202   }
203
204 // ----------------------------------------------------------------------------
205
// Instance/ImplReferenceRemoveWithQualifier
206
// ----------------------------------------------------------------------------
207
public void removeContact (
208     int importance
209   ) {
210     refRemoveValue(
211       "org:opencrx:kernel:contract1:ContractPosition:contact",
212       new Integer JavaDoc(importance)
213     );
214   }
215
216 // ----------------------------------------------------------------------------
217
// Instance/ImplAttributeGet1_1
218
// ----------------------------------------------------------------------------
219
public short getContractPositionState(
220   ) {
221     return getContractPositionState(0);
222   }
223
224   protected short getContractPositionState(
225     int index
226   ) {
227     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:ContractPosition:contractPositionState", index)).shortValue();
228   }
229
230 // ----------------------------------------------------------------------------
231
// Instance/ImplAttributeSet1_1
232
// ----------------------------------------------------------------------------
233
public void setContractPositionState(
234     short newValue
235   ) {
236     setContractPositionState(0, newValue);
237   }
238
239   protected void setContractPositionState(
240     int index,
241     short newValue
242   ) {
243     refSetValue("org:opencrx:kernel:contract1:ContractPosition:contractPositionState", index, new Short JavaDoc(newValue));
244   }
245 // ----------------------------------------------------------------------------
246
// Instance/ImplReferenceSetWithQualifier
247
// ----------------------------------------------------------------------------
248
public void setDeliveryInformation(
249     java.util.List JavaDoc newValue
250   ) {
251     refSetValue("org:opencrx:kernel:contract1:ContractPosition:deliveryInformation", newValue);
252   }
253
254   public void setDeliveryInformation(
255     org.opencrx.kernel.contract1.cci.DeliveryInformation[] newValue
256   ) {
257     refSetValue("org:opencrx:kernel:contract1:ContractPosition:deliveryInformation", newValue);
258   }
259
260 // ----------------------------------------------------------------------------
261
// Instance/ImplReferenceGet0_1WithQualifier
262
// ----------------------------------------------------------------------------
263
public org.opencrx.kernel.contract1.cci.DeliveryInformation getDeliveryInformation(
264     String JavaDoc id
265   ) {
266     return (org.opencrx.kernel.contract1.cci.DeliveryInformation)refGetValue(
267       "org:opencrx:kernel:contract1:ContractPosition:deliveryInformation",
268       id
269     );
270   }
271
272 // ----------------------------------------------------------------------------
273
// Instance/ImplReferenceGet0_nWithFilter
274
// ----------------------------------------------------------------------------
275
public java.util.Collection JavaDoc getDeliveryInformation(
276   ) {
277     return (java.util.Collection JavaDoc)refGetValue(
278       "org:opencrx:kernel:contract1:ContractPosition:deliveryInformation"
279     );
280   }
281
282   public java.util.List JavaDoc getDeliveryInformation(
283     org.opencrx.kernel.contract1.cci.DeliveryInformationFilter filter
284   ) {
285     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
286       "org:opencrx:kernel:contract1:ContractPosition:deliveryInformation"
287     )).toList(filter);
288   }
289
290 // ----------------------------------------------------------------------------
291
// Instance/ImplReferenceAddWithQualifier
292
// ----------------------------------------------------------------------------
293
public void addDeliveryInformation (
294     String JavaDoc id,
295     org.opencrx.kernel.contract1.cci.DeliveryInformation newValue
296   ) {
297     refAddValue(
298       "org:opencrx:kernel:contract1:ContractPosition:deliveryInformation",
299       id,
300       newValue
301     );
302   }
303
304 // ----------------------------------------------------------------------------
305
// Instance/ImplReferenceAddWithoutQualifier
306
// ----------------------------------------------------------------------------
307
public void addDeliveryInformation (
308     org.opencrx.kernel.contract1.cci.DeliveryInformation newValue
309   ) {
310     refAddValue(
311       "org:opencrx:kernel:contract1:ContractPosition:deliveryInformation",
312       newValue
313     );
314   }
315
316 // ----------------------------------------------------------------------------
317
// Instance/ImplReferenceRemoveWithQualifier
318
// ----------------------------------------------------------------------------
319
public void removeDeliveryInformation (
320     String JavaDoc id
321   ) {
322     refRemoveValue(
323       "org:opencrx:kernel:contract1:ContractPosition:deliveryInformation",
324       id
325     );
326   }
327
328 // ----------------------------------------------------------------------------
329
// Instance/ImplAttributeGet0_1
330
// ----------------------------------------------------------------------------
331
public String JavaDoc getDescription (
332   ) {
333     return (String JavaDoc)this.refGetValue("description", 0);
334   }
335 // ----------------------------------------------------------------------------
336
// Instance/ImplAttributeSet0_1
337
// ----------------------------------------------------------------------------
338
public void setDescription(
339     String JavaDoc newValue
340   ) {
341     refSetValue("org:opencrx:kernel:contract1:ContractPosition:description", 0, newValue);
342   }
343
344 // ----------------------------------------------------------------------------
345
// Instance/ImplAttributeGet0_1
346
// ----------------------------------------------------------------------------
347
public java.math.BigDecimal JavaDoc getDiscount (
348   ) {
349     return (java.math.BigDecimal JavaDoc)this.refGetValue("discount", 0);
350   }
351 // ----------------------------------------------------------------------------
352
// Instance/ImplAttributeSet0_1
353
// ----------------------------------------------------------------------------
354
public void setDiscount(
355     java.math.BigDecimal JavaDoc newValue
356   ) {
357     refSetValue("org:opencrx:kernel:contract1:ContractPosition:discount", 0, newValue);
358   }
359
360 // ----------------------------------------------------------------------------
361
// Instance/ImplAttributeGet0_1
362
// ----------------------------------------------------------------------------
363
public java.math.BigDecimal JavaDoc getDiscountAmount (
364   ) {
365     return (java.math.BigDecimal JavaDoc)this.refGetValue("discountAmount", 0);
366   }
367 // ----------------------------------------------------------------------------
368
// Instance/ImplAttributeSet0_1
369
// ----------------------------------------------------------------------------
370
protected void setDiscountAmount(
371     java.math.BigDecimal JavaDoc newValue
372   ) {
373     refSetValue("org:opencrx:kernel:contract1:ContractPosition:discountAmount", 0, newValue);
374   }
375
376 // ----------------------------------------------------------------------------
377
// Instance/ImplAttributeGet0_1
378
// ----------------------------------------------------------------------------
379
public String JavaDoc getDiscountDescription (
380   ) {
381     return (String JavaDoc)this.refGetValue("discountDescription", 0);
382   }
383 // ----------------------------------------------------------------------------
384
// Instance/ImplAttributeSet0_1
385
// ----------------------------------------------------------------------------
386
public void setDiscountDescription(
387     String JavaDoc newValue
388   ) {
389     refSetValue("org:opencrx:kernel:contract1:ContractPosition:discountDescription", 0, newValue);
390   }
391
392 // ----------------------------------------------------------------------------
393
// Instance/ImplAttributeGet0_1
394
// ----------------------------------------------------------------------------
395
public Boolean JavaDoc isDiscountIsPercentage (
396   ) {
397     return (Boolean JavaDoc)this.refGetValue("discountIsPercentage", 0);
398   }
399 // ----------------------------------------------------------------------------
400
// Instance/ImplAttributeSet0_1
401
// ----------------------------------------------------------------------------
402
public void setDiscountIsPercentage(
403     Boolean JavaDoc newValue
404   ) {
405     refSetValue("org:opencrx:kernel:contract1:ContractPosition:discountIsPercentage", 0, newValue);
406   }
407
408 // ----------------------------------------------------------------------------
409
// Instance/ImplAttributeGet1_1
410
// ----------------------------------------------------------------------------
411
public int getLineItemNumber(
412   ) {
413     return getLineItemNumber(0);
414   }
415
416   protected int getLineItemNumber(
417     int index
418   ) {
419     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:ContractPosition:lineItemNumber", index)).intValue();
420   }
421
422 // ----------------------------------------------------------------------------
423
// Instance/ImplAttributeSet1_1
424
// ----------------------------------------------------------------------------
425
protected void setLineItemNumber(
426     int newValue
427   ) {
428     setLineItemNumber(0, newValue);
429   }
430
431   protected void setLineItemNumber(
432     int index,
433     int newValue
434   ) {
435     refSetValue("org:opencrx:kernel:contract1:ContractPosition:lineItemNumber", index, new Integer JavaDoc(newValue));
436   }
437 // ----------------------------------------------------------------------------
438
// Instance/ImplReferenceGet0_1NoQualifier
439
// ----------------------------------------------------------------------------
440
public org.opencrx.kernel.product1.cci.ProductBasePrice getListPrice(
441   ) {
442     return (org.opencrx.kernel.product1.cci.ProductBasePrice)refGetValue(
443       "org:opencrx:kernel:contract1:ContractPosition:listPrice"
444     );
445   }
446
447 // ----------------------------------------------------------------------------
448
// Instance/ImplReferenceSetNoQualifier
449
// ----------------------------------------------------------------------------
450
public void setListPrice(
451     org.opencrx.kernel.product1.cci.ProductBasePrice newValue
452   ) {
453     refSetValue(
454       "org:opencrx:kernel:contract1:ContractPosition:listPrice",
455       newValue
456     );
457   }
458
459 // ----------------------------------------------------------------------------
460
// Instance/ImplReferenceRemoveOptional
461
// ----------------------------------------------------------------------------
462
public void removeListPrice (
463   ) {
464     refRemoveValue(
465       "org:opencrx:kernel:contract1:ContractPosition:listPrice"
466     );
467   }
468 // ----------------------------------------------------------------------------
469
// Instance/ImplAttributeGet0_1
470
// ----------------------------------------------------------------------------
471
public java.math.BigDecimal JavaDoc getMaxQuantity (
472   ) {
473     return (java.math.BigDecimal JavaDoc)this.refGetValue("maxQuantity", 0);
474   }
475 // ----------------------------------------------------------------------------
476
// Instance/ImplAttributeSet0_1
477
// ----------------------------------------------------------------------------
478
public void setMaxQuantity(
479     java.math.BigDecimal JavaDoc newValue
480   ) {
481     refSetValue("org:opencrx:kernel:contract1:ContractPosition:maxQuantity", 0, newValue);
482   }
483
484 // ----------------------------------------------------------------------------
485
// Instance/ImplAttributeGet1_1
486
// ----------------------------------------------------------------------------
487
public short getMinMaxQuantityHandling(
488   ) {
489     return getMinMaxQuantityHandling(0);
490   }
491
492   protected short getMinMaxQuantityHandling(
493     int index
494   ) {
495     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:ContractPosition:minMaxQuantityHandling", index)).shortValue();
496   }
497
498 // ----------------------------------------------------------------------------
499
// Instance/ImplAttributeSet1_1
500
// ----------------------------------------------------------------------------
501
public void setMinMaxQuantityHandling(
502     short newValue
503   ) {
504     setMinMaxQuantityHandling(0, newValue);
505   }
506
507   protected void setMinMaxQuantityHandling(
508     int index,
509     short newValue
510   ) {
511     refSetValue("org:opencrx:kernel:contract1:ContractPosition:minMaxQuantityHandling", index, new Short JavaDoc(newValue));
512   }
513 // ----------------------------------------------------------------------------
514
// Instance/ImplAttributeGet0_1
515
// ----------------------------------------------------------------------------
516
public java.math.BigDecimal JavaDoc getMinQuantity (
517   ) {
518     return (java.math.BigDecimal JavaDoc)this.refGetValue("minQuantity", 0);
519   }
520 // ----------------------------------------------------------------------------
521
// Instance/ImplAttributeSet0_1
522
// ----------------------------------------------------------------------------
523
public void setMinQuantity(
524     java.math.BigDecimal JavaDoc newValue
525   ) {
526     refSetValue("org:opencrx:kernel:contract1:ContractPosition:minQuantity", 0, newValue);
527   }
528
529 // ----------------------------------------------------------------------------
530
// Instance/ImplAttributeGet1_1
531
// ----------------------------------------------------------------------------
532
public String JavaDoc getName(
533   ) {
534     return getName(0);
535   }
536
537   protected String JavaDoc getName(
538     int index
539   ) {
540     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:ContractPosition:name", index);
541   }
542
543 // ----------------------------------------------------------------------------
544
// Instance/ImplAttributeSet1_1
545
// ----------------------------------------------------------------------------
546
public void setName(
547     String JavaDoc newValue
548   ) {
549     setName(0, newValue);
550   }
551
552   protected void setName(
553     int index,
554     String JavaDoc newValue
555   ) {
556     refSetValue("org:opencrx:kernel:contract1:ContractPosition:name", index, newValue);
557   }
558 // ----------------------------------------------------------------------------
559
// Instance/ImplAttributeGet0_1
560
// ----------------------------------------------------------------------------
561
public java.math.BigDecimal JavaDoc getOffsetQuantity (
562   ) {
563     return (java.math.BigDecimal JavaDoc)this.refGetValue("offsetQuantity", 0);
564   }
565 // ----------------------------------------------------------------------------
566
// Instance/ImplAttributeSet0_1
567
// ----------------------------------------------------------------------------
568
public void setOffsetQuantity(
569     java.math.BigDecimal JavaDoc newValue
570   ) {
571     refSetValue("org:opencrx:kernel:contract1:ContractPosition:offsetQuantity", 0, newValue);
572   }
573
574 // ----------------------------------------------------------------------------
575
// Instance/ImplAttributeGet1_1
576
// ----------------------------------------------------------------------------
577
public String JavaDoc getPositionNumber(
578   ) {
579     return getPositionNumber(0);
580   }
581
582   protected String JavaDoc getPositionNumber(
583     int index
584   ) {
585     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:ContractPosition:positionNumber", index);
586   }
587
588 // ----------------------------------------------------------------------------
589
// Instance/ImplAttributeSet1_1
590
// ----------------------------------------------------------------------------
591
public void setPositionNumber(
592     String JavaDoc newValue
593   ) {
594     setPositionNumber(0, newValue);
595   }
596
597   protected void setPositionNumber(
598     int index,
599     String JavaDoc newValue
600   ) {
601     refSetValue("org:opencrx:kernel:contract1:ContractPosition:positionNumber", index, newValue);
602   }
603 // ----------------------------------------------------------------------------
604
// Instance/ImplReferenceGet0_1NoQualifier
605
// ----------------------------------------------------------------------------
606
public org.opencrx.kernel.product1.cci.PriceLevel getPriceLevel(
607   ) {
608     return (org.opencrx.kernel.product1.cci.PriceLevel)refGetValue(
609       "org:opencrx:kernel:contract1:ContractPosition:priceLevel"
610     );
611   }
612
613 // ----------------------------------------------------------------------------
614
// Instance/ImplReferenceSetNoQualifier
615
// ----------------------------------------------------------------------------
616
public void setPriceLevel(
617     org.opencrx.kernel.product1.cci.PriceLevel newValue
618   ) {
619     refSetValue(
620       "org:opencrx:kernel:contract1:ContractPosition:priceLevel",
621       newValue
622     );
623   }
624
625 // ----------------------------------------------------------------------------
626
// Instance/ImplReferenceRemoveOptional
627
// ----------------------------------------------------------------------------
628
public void removePriceLevel (
629   ) {
630     refRemoveValue(
631       "org:opencrx:kernel:contract1:ContractPosition:priceLevel"
632     );
633   }
634 // ----------------------------------------------------------------------------
635
// Instance/ImplAttributeGet0_1
636
// ----------------------------------------------------------------------------
637
public java.math.BigDecimal JavaDoc getPricePerUnit (
638   ) {
639     return (java.math.BigDecimal JavaDoc)this.refGetValue("pricePerUnit", 0);
640   }
641 // ----------------------------------------------------------------------------
642
// Instance/ImplAttributeSet0_1
643
// ----------------------------------------------------------------------------
644
public void setPricePerUnit(
645     java.math.BigDecimal JavaDoc newValue
646   ) {
647     refSetValue("org:opencrx:kernel:contract1:ContractPosition:pricePerUnit", 0, newValue);
648   }
649
650 // ----------------------------------------------------------------------------
651
// Instance/ImplReferenceGet0_1NoQualifier
652
// ----------------------------------------------------------------------------
653
public org.opencrx.kernel.uom1.cci.Uom getPriceUom(
654   ) {
655     return (org.opencrx.kernel.uom1.cci.Uom)refGetValue(
656       "org:opencrx:kernel:contract1:ContractPosition:priceUom"
657     );
658   }
659
660 // ----------------------------------------------------------------------------
661
// Instance/ImplReferenceSetNoQualifier
662
// ----------------------------------------------------------------------------
663
public void setPriceUom(
664     org.opencrx.kernel.uom1.cci.Uom newValue
665   ) {
666     refSetValue(
667       "org:opencrx:kernel:contract1:ContractPosition:priceUom",
668       newValue
669     );
670   }
671
672 // ----------------------------------------------------------------------------
673
// Instance/ImplReferenceRemoveOptional
674
// ----------------------------------------------------------------------------
675
public void removePriceUom (
676   ) {
677     refRemoveValue(
678       "org:opencrx:kernel:contract1:ContractPosition:priceUom"
679     );
680   }
681 // ----------------------------------------------------------------------------
682
// Instance/ImplAttributeGet0_1
683
// ----------------------------------------------------------------------------
684
public String JavaDoc getPriceUomDescription (
685   ) {
686     return (String JavaDoc)this.refGetValue("priceUomDescription", 0);
687   }
688 // ----------------------------------------------------------------------------
689
// Instance/ImplAttributeSet0_1
690
// ----------------------------------------------------------------------------
691
protected void setPriceUomDescription(
692     String JavaDoc newValue
693   ) {
694     refSetValue("org:opencrx:kernel:contract1:ContractPosition:priceUomDescription", 0, newValue);
695   }
696
697 // ----------------------------------------------------------------------------
698
// Instance/ImplAttributeGet0_1
699
// ----------------------------------------------------------------------------
700
public String JavaDoc getPriceUomDetailedDescription (
701   ) {
702     return (String JavaDoc)this.refGetValue("priceUomDetailedDescription", 0);
703   }
704 // ----------------------------------------------------------------------------
705
// Instance/ImplAttributeSet0_1
706
// ----------------------------------------------------------------------------
707
protected void setPriceUomDetailedDescription(
708     String JavaDoc newValue
709   ) {
710     refSetValue("org:opencrx:kernel:contract1:ContractPosition:priceUomDetailedDescription", 0, newValue);
711   }
712
713 // ----------------------------------------------------------------------------
714
// Instance/ImplAttributeGet0_1
715
// ----------------------------------------------------------------------------
716
public java.util.Date JavaDoc getPricingDate (
717   ) {
718     return (java.util.Date JavaDoc)this.refGetValue("pricingDate", 0);
719   }
720 // ----------------------------------------------------------------------------
721
// Instance/ImplAttributeSet0_1
722
// ----------------------------------------------------------------------------
723
public void setPricingDate(
724     java.util.Date JavaDoc newValue
725   ) {
726     refSetValue("org:opencrx:kernel:contract1:ContractPosition:pricingDate", 0, newValue);
727   }
728
729 // ----------------------------------------------------------------------------
730
// Instance/ImplReferenceGet0_1NoQualifier
731
// ----------------------------------------------------------------------------
732
public org.opencrx.kernel.product1.cci.PricingRule getPricingRule(
733   ) {
734     return (org.opencrx.kernel.product1.cci.PricingRule)refGetValue(
735       "org:opencrx:kernel:contract1:ContractPosition:pricingRule"
736     );
737   }
738
739 // ----------------------------------------------------------------------------
740
// Instance/ImplReferenceSetNoQualifier
741
// ----------------------------------------------------------------------------
742
public void setPricingRule(
743     org.opencrx.kernel.product1.cci.PricingRule newValue
744   ) {
745     refSetValue(
746       "org:opencrx:kernel:contract1:ContractPosition:pricingRule",
747       newValue
748     );
749   }
750
751 // ----------------------------------------------------------------------------
752
// Instance/ImplReferenceRemoveOptional
753
// ----------------------------------------------------------------------------
754
public void removePricingRule (
755   ) {
756     refRemoveValue(
757       "org:opencrx:kernel:contract1:ContractPosition:pricingRule"
758     );
759   }
760 // ----------------------------------------------------------------------------
761
// Instance/ImplAttributeGet1_1
762
// ----------------------------------------------------------------------------
763
public short getPricingState(
764   ) {
765     return getPricingState(0);
766   }
767
768   protected short getPricingState(
769     int index
770   ) {
771     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:ContractPosition:pricingState", index)).shortValue();
772   }
773
774 // ----------------------------------------------------------------------------
775
// Instance/ImplAttributeSet1_1
776
// ----------------------------------------------------------------------------
777
public void setPricingState(
778     short newValue
779   ) {
780     setPricingState(0, newValue);
781   }
782
783   protected void setPricingState(
784     int index,
785     short newValue
786   ) {
787     refSetValue("org:opencrx:kernel:contract1:ContractPosition:pricingState", index, new Short JavaDoc(newValue));
788   }
789 // ----------------------------------------------------------------------------
790
// Instance/ImplReferenceSetWithQualifier
791
// ----------------------------------------------------------------------------
792
public void setProductApplication(
793     java.util.List JavaDoc newValue
794   ) {
795     refSetValue("org:opencrx:kernel:contract1:ContractPosition:productApplication", newValue);
796   }
797
798   public void setProductApplication(
799     org.opencrx.kernel.contract1.cci.ProductApplication[] newValue
800   ) {
801     refSetValue("org:opencrx:kernel:contract1:ContractPosition:productApplication", newValue);
802   }
803
804 // ----------------------------------------------------------------------------
805
// Instance/ImplReferenceGet0_1WithQualifier
806
// ----------------------------------------------------------------------------
807
public org.opencrx.kernel.contract1.cci.ProductApplication getProductApplication(
808     String JavaDoc id
809   ) {
810     return (org.opencrx.kernel.contract1.cci.ProductApplication)refGetValue(
811       "org:opencrx:kernel:contract1:ContractPosition:productApplication",
812       id
813     );
814   }
815
816 // ----------------------------------------------------------------------------
817
// Instance/ImplReferenceGet0_nWithFilter
818
// ----------------------------------------------------------------------------
819
public java.util.Collection JavaDoc getProductApplication(
820   ) {
821     return (java.util.Collection JavaDoc)refGetValue(
822       "org:opencrx:kernel:contract1:ContractPosition:productApplication"
823     );
824   }
825
826   public java.util.List JavaDoc getProductApplication(
827     org.opencrx.kernel.contract1.cci.ProductApplicationFilter filter
828   ) {
829     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
830       "org:opencrx:kernel:contract1:ContractPosition:productApplication"
831     )).toList(filter);
832   }
833
834 // ----------------------------------------------------------------------------
835
// Instance/ImplReferenceAddWithQualifier
836
// ----------------------------------------------------------------------------
837
public void addProductApplication (
838     String JavaDoc id,
839     org.opencrx.kernel.contract1.cci.ProductApplication newValue
840   ) {
841     refAddValue(
842       "org:opencrx:kernel:contract1:ContractPosition:productApplication",
843       id,
844       newValue
845     );
846   }
847
848 // ----------------------------------------------------------------------------
849
// Instance/ImplReferenceAddWithoutQualifier
850
// ----------------------------------------------------------------------------
851
public void addProductApplication (
852     org.opencrx.kernel.contract1.cci.ProductApplication newValue
853   ) {
854     refAddValue(
855       "org:opencrx:kernel:contract1:ContractPosition:productApplication",
856       newValue
857     );
858   }
859
860 // ----------------------------------------------------------------------------
861
// Instance/ImplReferenceRemoveWithQualifier
862
// ----------------------------------------------------------------------------
863
public void removeProductApplication (
864     String JavaDoc id
865   ) {
866     refRemoveValue(
867       "org:opencrx:kernel:contract1:ContractPosition:productApplication",
868       id
869     );
870   }
871
872 // ----------------------------------------------------------------------------
873
// Instance/ImplAttributeGet0_1
874
// ----------------------------------------------------------------------------
875
public String JavaDoc getProductDescription (
876   ) {
877     return (String JavaDoc)this.refGetValue("productDescription", 0);
878   }
879 // ----------------------------------------------------------------------------
880
// Instance/ImplAttributeSet0_1
881
// ----------------------------------------------------------------------------
882
protected void setProductDescription(
883     String JavaDoc newValue
884   ) {
885     refSetValue("org:opencrx:kernel:contract1:ContractPosition:productDescription", 0, newValue);
886   }
887
888 // ----------------------------------------------------------------------------
889
// Instance/ImplAttributeGet0_1
890
// ----------------------------------------------------------------------------
891
public String JavaDoc getProductDetailedDescription (
892   ) {
893     return (String JavaDoc)this.refGetValue("productDetailedDescription", 0);
894   }
895 // ----------------------------------------------------------------------------
896
// Instance/ImplAttributeSet0_1
897
// ----------------------------------------------------------------------------
898
protected void setProductDetailedDescription(
899     String JavaDoc newValue
900   ) {
901     refSetValue("org:opencrx:kernel:contract1:ContractPosition:productDetailedDescription", 0, newValue);
902   }
903
904 // ----------------------------------------------------------------------------
905
// Instance/ImplAttributeGet0_1
906
// ----------------------------------------------------------------------------
907
public java.math.BigDecimal JavaDoc getQuantity (
908   ) {
909     return (java.math.BigDecimal JavaDoc)this.refGetValue("quantity", 0);
910   }
911 // ----------------------------------------------------------------------------
912
// Instance/ImplAttributeSet0_1
913
// ----------------------------------------------------------------------------
914
public void setQuantity(
915     java.math.BigDecimal JavaDoc newValue
916   ) {
917     refSetValue("org:opencrx:kernel:contract1:ContractPosition:quantity", 0, newValue);
918   }
919
920 // ----------------------------------------------------------------------------
921
// Instance/ImplAttributeGet0_1
922
// ----------------------------------------------------------------------------
923
public java.math.BigDecimal JavaDoc getQuantityBackOrdered (
924   ) {
925     return (java.math.BigDecimal JavaDoc)this.refGetValue("quantityBackOrdered", 0);
926   }
927 // ----------------------------------------------------------------------------
928
// Instance/ImplAttributeSet0_1
929
// ----------------------------------------------------------------------------
930
protected void setQuantityBackOrdered(
931     java.math.BigDecimal JavaDoc newValue
932   ) {
933     refSetValue("org:opencrx:kernel:contract1:ContractPosition:quantityBackOrdered", 0, newValue);
934   }
935
936 // ----------------------------------------------------------------------------
937
// Instance/ImplAttributeGet0_1
938
// ----------------------------------------------------------------------------
939
public java.math.BigDecimal JavaDoc getQuantityShipped (
940   ) {
941     return (java.math.BigDecimal JavaDoc)this.refGetValue("quantityShipped", 0);
942   }
943 // ----------------------------------------------------------------------------
944
// Instance/ImplAttributeSet0_1
945
// ----------------------------------------------------------------------------
946
protected void setQuantityShipped(
947     java.math.BigDecimal JavaDoc newValue
948   ) {
949     refSetValue("org:opencrx:kernel:contract1:ContractPosition:quantityShipped", 0, newValue);
950   }
951
952 // ----------------------------------------------------------------------------
953
// Instance/ImplOperation
954
// ----------------------------------------------------------------------------
955
public org.openmdx.base.cci.Void reprice(
956       org.openmdx.base.cci.Void params
957   ) throws javax.jmi.reflect.RefException {
958     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
959     args.add(params);
960     return (org.openmdx.base.cci.Void)refInvokeOperation(
961       "org:opencrx:kernel:contract1:ContractPosition:reprice",
962       args
963     );
964   }
965
966   public org.openmdx.base.cci.Void reprice(
967   ) throws javax.jmi.reflect.RefException {
968     return reprice(
969       ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid(
970               )
971     );
972   }
973
974 // ----------------------------------------------------------------------------
975
// Instance/ImplAttributeGet0_1
976
// ----------------------------------------------------------------------------
977
public java.math.BigDecimal JavaDoc getSalesCommission (
978   ) {
979     return (java.math.BigDecimal JavaDoc)this.refGetValue("salesCommission", 0);
980   }
981 // ----------------------------------------------------------------------------
982
// Instance/ImplAttributeSet0_1
983
// ----------------------------------------------------------------------------
984
public void setSalesCommission(
985     java.math.BigDecimal JavaDoc newValue
986   ) {
987     refSetValue("org:opencrx:kernel:contract1:ContractPosition:salesCommission", 0, newValue);
988   }
989
990 // ----------------------------------------------------------------------------
991
// Instance/ImplAttributeGet0_1
992
// ----------------------------------------------------------------------------
993
public Boolean JavaDoc isSalesCommissionIsPercentage (
994   ) {
995     return (Boolean JavaDoc)this.refGetValue("salesCommissionIsPercentage", 0);
996   }
997 // ----------------------------------------------------------------------------
998
// Instance/ImplAttributeSet0_1
999
// ----------------------------------------------------------------------------
1000
public void setSalesCommissionIsPercentage(
1001    Boolean JavaDoc newValue
1002  ) {
1003    refSetValue("org:opencrx:kernel:contract1:ContractPosition:salesCommissionIsPercentage", 0, newValue);
1004  }
1005
1006// ----------------------------------------------------------------------------
1007
// Instance/ImplReferenceGet1_1NoQualifier
1008
// ----------------------------------------------------------------------------
1009
public org.opencrx.kernel.product1.cci.SalesTaxType getSalesTaxType(
1010  ) {
1011    return (org.opencrx.kernel.product1.cci.SalesTaxType)refGetValue(
1012      "org:opencrx:kernel:contract1:ContractPosition:salesTaxType"
1013    );
1014  }
1015
1016// ----------------------------------------------------------------------------
1017
// Instance/ImplReferenceSetNoQualifier
1018
// ----------------------------------------------------------------------------
1019
public void setSalesTaxType(
1020    org.opencrx.kernel.product1.cci.SalesTaxType newValue
1021  ) {
1022    refSetValue(
1023      "org:opencrx:kernel:contract1:ContractPosition:salesTaxType",
1024      newValue
1025    );
1026  }
1027
1028// ----------------------------------------------------------------------------
1029
// Instance/ImplAttributeGet0_1
1030
// ----------------------------------------------------------------------------
1031
public String JavaDoc getSalesTaxTypeDescription (
1032  ) {
1033    return (String JavaDoc)this.refGetValue("salesTaxTypeDescription", 0);
1034  }
1035// ----------------------------------------------------------------------------
1036
// Instance/ImplAttributeSet0_1
1037
// ----------------------------------------------------------------------------
1038
protected void setSalesTaxTypeDescription(
1039    String JavaDoc newValue
1040  ) {
1041    refSetValue("org:opencrx:kernel:contract1:ContractPosition:salesTaxTypeDescription", 0, newValue);
1042  }
1043
1044// ----------------------------------------------------------------------------
1045
// Instance/ImplAttributeGet0_1
1046
// ----------------------------------------------------------------------------
1047
public String JavaDoc getSalesTaxTypeDetailedDescription (
1048  ) {
1049    return (String JavaDoc)this.refGetValue("salesTaxTypeDetailedDescription", 0);
1050  }
1051// ----------------------------------------------------------------------------
1052
// Instance/ImplAttributeSet0_1
1053
// ----------------------------------------------------------------------------
1054
protected void setSalesTaxTypeDetailedDescription(
1055    String JavaDoc newValue
1056  ) {
1057    refSetValue("org:opencrx:kernel:contract1:ContractPosition:salesTaxTypeDetailedDescription", 0, newValue);
1058  }
1059
1060// ----------------------------------------------------------------------------
1061
// Instance/ImplAttributeGet0_1
1062
// ----------------------------------------------------------------------------
1063
public java.math.BigDecimal JavaDoc getTaxAmount (
1064  ) {
1065    return (java.math.BigDecimal JavaDoc)this.refGetValue("taxAmount", 0);
1066  }
1067// ----------------------------------------------------------------------------
1068
// Instance/ImplAttributeSet0_1
1069
// ----------------------------------------------------------------------------
1070
protected void setTaxAmount(
1071    java.math.BigDecimal JavaDoc newValue
1072  ) {
1073    refSetValue("org:opencrx:kernel:contract1:ContractPosition:taxAmount", 0, newValue);
1074  }
1075
1076// ----------------------------------------------------------------------------
1077
// Instance/ImplReferenceGet0_1NoQualifier
1078
// ----------------------------------------------------------------------------
1079
public org.opencrx.kernel.uom1.cci.Uom getUom(
1080  ) {
1081    return (org.opencrx.kernel.uom1.cci.Uom)refGetValue(
1082      "org:opencrx:kernel:contract1:ContractPosition:uom"
1083    );
1084  }
1085
1086// ----------------------------------------------------------------------------
1087
// Instance/ImplReferenceSetNoQualifier
1088
// ----------------------------------------------------------------------------
1089
public void setUom(
1090    org.opencrx.kernel.uom1.cci.Uom newValue
1091  ) {
1092    refSetValue(
1093      "org:opencrx:kernel:contract1:ContractPosition:uom",
1094      newValue
1095    );
1096  }
1097
1098// ----------------------------------------------------------------------------
1099
// Instance/ImplReferenceRemoveOptional
1100
// ----------------------------------------------------------------------------
1101
public void removeUom (
1102  ) {
1103    refRemoveValue(
1104      "org:opencrx:kernel:contract1:ContractPosition:uom"
1105    );
1106  }
1107// ----------------------------------------------------------------------------
1108
// Instance/ImplAttributeGet0_1
1109
// ----------------------------------------------------------------------------
1110
public String JavaDoc getUomDescription (
1111  ) {
1112    return (String JavaDoc)this.refGetValue("uomDescription", 0);
1113  }
1114// ----------------------------------------------------------------------------
1115
// Instance/ImplAttributeSet0_1
1116
// ----------------------------------------------------------------------------
1117
protected void setUomDescription(
1118    String JavaDoc newValue
1119  ) {
1120    refSetValue("org:opencrx:kernel:contract1:ContractPosition:uomDescription", 0, newValue);
1121  }
1122
1123// ----------------------------------------------------------------------------
1124
// Instance/ImplAttributeGet0_1
1125
// ----------------------------------------------------------------------------
1126
public String JavaDoc getUomDetailedDescription (
1127  ) {
1128    return (String JavaDoc)this.refGetValue("uomDetailedDescription", 0);
1129  }
1130// ----------------------------------------------------------------------------
1131
// Instance/ImplAttributeSet0_1
1132
// ----------------------------------------------------------------------------
1133
protected void setUomDetailedDescription(
1134    String JavaDoc newValue
1135  ) {
1136    refSetValue("org:opencrx:kernel:contract1:ContractPosition:uomDetailedDescription", 0, newValue);
1137  }
1138
1139// ----------------------------------------------------------------------------
1140
// Instance/ImplReferenceSetWithQualifier
1141
// ----------------------------------------------------------------------------
1142
public void setDeliveryRequest(
1143    java.util.List JavaDoc newValue
1144  ) {
1145    refSetValue("org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", newValue);
1146  }
1147
1148  public void setDeliveryRequest(
1149    org.opencrx.kernel.contract1.cci.DeliveryRequest[] newValue
1150  ) {
1151    refSetValue("org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", newValue);
1152  }
1153
1154// ----------------------------------------------------------------------------
1155
// Instance/ImplReferenceGet0_1WithQualifier
1156
// ----------------------------------------------------------------------------
1157
public org.opencrx.kernel.contract1.cci.DeliveryRequest getDeliveryRequest(
1158    String JavaDoc id
1159  ) {
1160    return (org.opencrx.kernel.contract1.cci.DeliveryRequest)refGetValue(
1161      "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest",
1162      id
1163    );
1164  }
1165
1166// ----------------------------------------------------------------------------
1167
// Instance/ImplReferenceGet0_nWithFilter
1168
// ----------------------------------------------------------------------------
1169
public java.util.Collection JavaDoc getDeliveryRequest(
1170  ) {
1171    return (java.util.Collection JavaDoc)refGetValue(
1172      "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest"
1173    );
1174  }
1175
1176  public java.util.List JavaDoc getDeliveryRequest(
1177    org.opencrx.kernel.contract1.cci.DeliveryRequestFilter filter
1178  ) {
1179    return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
1180      "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest"
1181    )).toList(filter);
1182  }
1183
1184// ----------------------------------------------------------------------------
1185
// Instance/ImplReferenceAddWithQualifier
1186
// ----------------------------------------------------------------------------
1187
public void addDeliveryRequest (
1188    String JavaDoc id,
1189    org.opencrx.kernel.contract1.cci.DeliveryRequest newValue
1190  ) {
1191    refAddValue(
1192      "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest",
1193      id,
1194      newValue
1195    );
1196  }
1197
1198// ----------------------------------------------------------------------------
1199
// Instance/ImplReferenceAddWithoutQualifier
1200
// ----------------------------------------------------------------------------
1201
public void addDeliveryRequest (
1202    org.opencrx.kernel.contract1.cci.DeliveryRequest newValue
1203  ) {
1204    refAddValue(
1205      "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest",
1206      newValue
1207    );
1208  }
1209
1210// ----------------------------------------------------------------------------
1211
// Instance/ImplReferenceRemoveWithQualifier
1212
// ----------------------------------------------------------------------------
1213
public void removeDeliveryRequest (
1214    String JavaDoc id
1215  ) {
1216    refRemoveValue(
1217      "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest",
1218      id
1219    );
1220  }
1221
1222// ----------------------------------------------------------------------------
1223
// Instance/ImplReferenceGet1_1NoQualifier
1224
// ----------------------------------------------------------------------------
1225
public org.opencrx.kernel.account1.cci.Account getCarrier(
1226  ) {
1227    return (org.opencrx.kernel.account1.cci.Account)refGetValue(
1228      "org:opencrx:kernel:contract1:ShippingDetail:carrier"
1229    );
1230  }
1231
1232// ----------------------------------------------------------------------------
1233
// Instance/ImplReferenceSetNoQualifier
1234
// ----------------------------------------------------------------------------
1235
public void setCarrier(
1236    org.opencrx.kernel.account1.cci.Account newValue
1237  ) {
1238    refSetValue(
1239      "org:opencrx:kernel:contract1:ShippingDetail:carrier",
1240      newValue
1241    );
1242  }
1243
1244// ----------------------------------------------------------------------------
1245
// Instance/ImplAttributeGet0_1
1246
// ----------------------------------------------------------------------------
1247
public String JavaDoc getGiftMessage (
1248  ) {
1249    return (String JavaDoc)this.refGetValue("giftMessage", 0);
1250  }
1251// ----------------------------------------------------------------------------
1252
// Instance/ImplAttributeSet0_1
1253
// ----------------------------------------------------------------------------
1254
public void setGiftMessage(
1255    String JavaDoc newValue
1256  ) {
1257    refSetValue("org:opencrx:kernel:contract1:ShippingDetail:giftMessage", 0, newValue);
1258  }
1259
1260// ----------------------------------------------------------------------------
1261
// Instance/ImplAttributeGet1_1
1262
// ----------------------------------------------------------------------------
1263
public boolean isGift(
1264  ) {
1265    return isGift(0);
1266  }
1267
1268  protected boolean isGift(
1269    int index
1270  ) {
1271    return ((Boolean JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:ShippingDetail:isGift", index)).booleanValue();
1272  }
1273
1274// ----------------------------------------------------------------------------
1275
// Instance/ImplAttributeSet1_1
1276
// ----------------------------------------------------------------------------
1277
public void setGift(
1278    boolean newValue
1279  ) {
1280    setGift(0, newValue);
1281  }
1282
1283  protected void setGift(
1284    int index,
1285    boolean newValue
1286  ) {
1287    refSetValue("org:opencrx:kernel:contract1:ShippingDetail:isGift", index, new Boolean JavaDoc(newValue));
1288  }
1289// ----------------------------------------------------------------------------
1290
// Instance/ImplAttributeGet0_1
1291
// ----------------------------------------------------------------------------
1292
public String JavaDoc getShippingInstructions (
1293  ) {
1294    return (String JavaDoc)this.refGetValue("shippingInstructions", 0);
1295  }
1296// ----------------------------------------------------------------------------
1297
// Instance/ImplAttributeSet0_1
1298
// ----------------------------------------------------------------------------
1299
public void setShippingInstructions(
1300    String JavaDoc newValue
1301  ) {
1302    refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingInstructions", 0, newValue);
1303  }
1304
1305// ----------------------------------------------------------------------------
1306
// Instance/ImplAttributeGet1_1
1307
// ----------------------------------------------------------------------------
1308
public short getShippingMethod(
1309  ) {
1310    return getShippingMethod(0);
1311  }
1312
1313  protected short getShippingMethod(
1314    int index
1315  ) {
1316    return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingMethod", index)).shortValue();
1317  }
1318
1319// ----------------------------------------------------------------------------
1320
// Instance/ImplAttributeSet1_1
1321
// ----------------------------------------------------------------------------
1322
public void setShippingMethod(
1323    short newValue
1324  ) {
1325    setShippingMethod(0, newValue);
1326  }
1327
1328  protected void setShippingMethod(
1329    int index,
1330    short newValue
1331  ) {
1332    refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingMethod", index, new Short JavaDoc(newValue));
1333  }
1334// ----------------------------------------------------------------------------
1335
// Instance/ImplAttributeGet0_1
1336
// ----------------------------------------------------------------------------
1337
public String JavaDoc getShippingTrackingNumber (
1338  ) {
1339    return (String JavaDoc)this.refGetValue("shippingTrackingNumber", 0);
1340  }
1341// ----------------------------------------------------------------------------
1342
// Instance/ImplAttributeSet0_1
1343
// ----------------------------------------------------------------------------
1344
public void setShippingTrackingNumber(
1345    String JavaDoc newValue
1346  ) {
1347    refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingTrackingNumber", 0, newValue);
1348  }
1349
1350// ----------------------------------------------------------------------------
1351
// Instance/ImplReferenceSetWithQualifier
1352
// ----------------------------------------------------------------------------
1353
public void setDepotReference(
1354    java.util.List JavaDoc newValue
1355  ) {
1356    refSetValue("org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", newValue);
1357  }
1358
1359  public void setDepotReference(
1360    org.opencrx.kernel.depot1.cci.DepotReference[] newValue
1361  ) {
1362    refSetValue("org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", newValue);
1363  }
1364
1365// ----------------------------------------------------------------------------
1366
// Instance/ImplReferenceGet0_1WithQualifier
1367
// ----------------------------------------------------------------------------
1368
public org.opencrx.kernel.depot1.cci.DepotReference getDepotReference(
1369    String JavaDoc id
1370  ) {
1371    return (org.opencrx.kernel.depot1.cci.DepotReference)refGetValue(
1372      "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference",
1373      id
1374    );
1375  }
1376
1377// ----------------------------------------------------------------------------
1378
// Instance/ImplReferenceGet0_nWithFilter
1379
// ----------------------------------------------------------------------------
1380
public java.util.Collection JavaDoc getDepotReference(
1381  ) {
1382    return (java.util.Collection JavaDoc)refGetValue(
1383      "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference"
1384    );
1385  }
1386
1387  public java.util.List JavaDoc getDepotReference(
1388    org.opencrx.kernel.depot1.cci.DepotReferenceFilter filter
1389  ) {
1390    return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
1391      "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference"
1392    )).toList(filter);
1393  }
1394
1395// ----------------------------------------------------------------------------
1396
// Instance/ImplReferenceAddWithQualifier
1397
// ----------------------------------------------------------------------------
1398
public void addDepotReference (
1399    String JavaDoc id,
1400    org.opencrx.kernel.depot1.cci.DepotReference newValue
1401  ) {
1402    refAddValue(
1403      "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference",
1404      id,
1405      newValue
1406    );
1407  }
1408
1409// ----------------------------------------------------------------------------
1410
// Instance/ImplReferenceAddWithoutQualifier
1411
// ----------------------------------------------------------------------------
1412
public void addDepotReference (
1413    org.opencrx.kernel.depot1.cci.DepotReference newValue
1414  ) {
1415    refAddValue(
1416      "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference",
1417      newValue
1418    );
1419  }
1420
1421// ----------------------------------------------------------------------------
1422
// Instance/ImplReferenceRemoveWithQualifier
1423
// ----------------------------------------------------------------------------
1424
public void removeDepotReference (
1425    String JavaDoc id
1426  ) {
1427    refRemoveValue(
1428      "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference",
1429      id
1430    );
1431  }
1432
1433// ----------------------------------------------------------------------------
1434
// Instance/ImplEnd
1435
// ----------------------------------------------------------------------------
1436
}
1437
Popular Tags