KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > product1 > cci > EditableProductOfferingPositionImpl


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:51 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.product1.cci;
14
15 public class EditableProductOfferingPositionImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements EditableProductOfferingPosition {
18
19   public EditableProductOfferingPositionImpl(
20     org.openmdx.base.accessor.generic.cci.Object_1_0 object,
21     javax.jmi.reflect.RefClass refClass
22   ) {
23     super(object, refClass);
24   }
25
26 // ----------------------------------------------------------------------------
27
// Instance/ImplReferenceSetWithQualifier
28
// ----------------------------------------------------------------------------
29
protected void setSelectableItem(
30     java.util.List JavaDoc newValue
31   ) {
32     refSetValue("org:opencrx:kernel:product1:EditableProductOfferingPosition:selectableItem", newValue);
33   }
34
35   protected void setSelectableItem(
36     org.opencrx.kernel.product1.cci.SelectableItem[] newValue
37   ) {
38     refSetValue("org:opencrx:kernel:product1:EditableProductOfferingPosition:selectableItem", newValue);
39   }
40
41 // ----------------------------------------------------------------------------
42
// Instance/ImplReferenceGet0_1WithQualifier
43
// ----------------------------------------------------------------------------
44
public org.opencrx.kernel.product1.cci.SelectableItem getSelectableItem(
45     String JavaDoc id
46   ) {
47     return (org.opencrx.kernel.product1.cci.SelectableItem)refGetValue(
48       "org:opencrx:kernel:product1:EditableProductOfferingPosition:selectableItem",
49       id
50     );
51   }
52
53 // ----------------------------------------------------------------------------
54
// Instance/ImplReferenceGet0_nWithFilter
55
// ----------------------------------------------------------------------------
56
public java.util.Collection JavaDoc getSelectableItem(
57   ) {
58     return (java.util.Collection JavaDoc)refGetValue(
59       "org:opencrx:kernel:product1:EditableProductOfferingPosition:selectableItem"
60     );
61   }
62
63   public java.util.List JavaDoc getSelectableItem(
64     org.opencrx.kernel.product1.cci.SelectableItemFilter filter
65   ) {
66     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
67       "org:opencrx:kernel:product1:EditableProductOfferingPosition:selectableItem"
68     )).toList(filter);
69   }
70
71 // ----------------------------------------------------------------------------
72
// Instance/ImplReferenceAddWithQualifier
73
// ----------------------------------------------------------------------------
74
protected void addSelectableItem (
75     String JavaDoc id,
76     org.opencrx.kernel.product1.cci.SelectableItem newValue
77   ) {
78     refAddValue(
79       "org:opencrx:kernel:product1:EditableProductOfferingPosition:selectableItem",
80       id,
81       newValue
82     );
83   }
84
85 // ----------------------------------------------------------------------------
86
// Instance/ImplReferenceAddWithoutQualifier
87
// ----------------------------------------------------------------------------
88
protected void addSelectableItem (
89     org.opencrx.kernel.product1.cci.SelectableItem newValue
90   ) {
91     refAddValue(
92       "org:opencrx:kernel:product1:EditableProductOfferingPosition:selectableItem",
93       newValue
94     );
95   }
96
97 // ----------------------------------------------------------------------------
98
// Instance/ImplReferenceRemoveWithQualifier
99
// ----------------------------------------------------------------------------
100
protected void removeSelectableItem (
101     String JavaDoc id
102   ) {
103     refRemoveValue(
104       "org:opencrx:kernel:product1:EditableProductOfferingPosition:selectableItem",
105       id
106     );
107   }
108
109 // ----------------------------------------------------------------------------
110
// Instance/ImplReferenceGet0_1NoQualifier
111
// ----------------------------------------------------------------------------
112
public org.opencrx.kernel.product1.cci.ProductOffering getBasedOn(
113   ) {
114     return (org.opencrx.kernel.product1.cci.ProductOffering)refGetValue(
115       "org:opencrx:kernel:product1:ProductOfferingPosition:basedOn"
116     );
117   }
118
119 // ----------------------------------------------------------------------------
120
// Instance/ImplReferenceSetNoQualifier
121
// ----------------------------------------------------------------------------
122
protected void setBasedOn(
123     org.opencrx.kernel.product1.cci.ProductOffering newValue
124   ) {
125     refSetValue(
126       "org:opencrx:kernel:product1:ProductOfferingPosition:basedOn",
127       newValue
128     );
129   }
130
131 // ----------------------------------------------------------------------------
132
// Instance/ImplReferenceRemoveOptional
133
// ----------------------------------------------------------------------------
134
protected void removeBasedOn (
135   ) {
136     refRemoveValue(
137       "org:opencrx:kernel:product1:ProductOfferingPosition:basedOn"
138     );
139   }
140 // ----------------------------------------------------------------------------
141
// Instance/ImplEnd
142
// ----------------------------------------------------------------------------
143
}
144
Popular Tags