KickJava   Java API By Example, From Geeks To Geeks.

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


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 ProductConfigurationSetImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements ProductConfigurationSet {
18
19   public ProductConfigurationSetImpl(
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/ImplReferenceGet0_1NoQualifier
28
// ----------------------------------------------------------------------------
29
public org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet getConfigType(
30   ) {
31     return (org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet)refGetValue(
32       "org:opencrx:kernel:product1:ProductConfigurationSet:configType"
33     );
34   }
35
36 // ----------------------------------------------------------------------------
37
// Instance/ImplReferenceSetNoQualifier
38
// ----------------------------------------------------------------------------
39
protected void setConfigType(
40     org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet newValue
41   ) {
42     refSetValue(
43       "org:opencrx:kernel:product1:ProductConfigurationSet:configType",
44       newValue
45     );
46   }
47
48 // ----------------------------------------------------------------------------
49
// Instance/ImplReferenceRemoveOptional
50
// ----------------------------------------------------------------------------
51
protected void removeConfigType (
52   ) {
53     refRemoveValue(
54       "org:opencrx:kernel:product1:ProductConfigurationSet:configType"
55     );
56   }
57 // ----------------------------------------------------------------------------
58
// Instance/ImplReferenceSetWithQualifier
59
// ----------------------------------------------------------------------------
60
public void setConfiguration(
61     java.util.List JavaDoc newValue
62   ) {
63     refSetValue("org:opencrx:kernel:product1:ProductConfigurationSet:configuration", newValue);
64   }
65
66   public void setConfiguration(
67     org.opencrx.kernel.product1.cci.ProductConfiguration[] newValue
68   ) {
69     refSetValue("org:opencrx:kernel:product1:ProductConfigurationSet:configuration", newValue);
70   }
71
72 // ----------------------------------------------------------------------------
73
// Instance/ImplReferenceGet0_1WithQualifier
74
// ----------------------------------------------------------------------------
75
public org.opencrx.kernel.product1.cci.ProductConfiguration getConfiguration(
76     String JavaDoc id
77   ) {
78     return (org.opencrx.kernel.product1.cci.ProductConfiguration)refGetValue(
79       "org:opencrx:kernel:product1:ProductConfigurationSet:configuration",
80       id
81     );
82   }
83
84 // ----------------------------------------------------------------------------
85
// Instance/ImplReferenceGet0_nWithFilter
86
// ----------------------------------------------------------------------------
87
public java.util.Collection JavaDoc getConfiguration(
88   ) {
89     return (java.util.Collection JavaDoc)refGetValue(
90       "org:opencrx:kernel:product1:ProductConfigurationSet:configuration"
91     );
92   }
93
94   public java.util.List JavaDoc getConfiguration(
95     org.opencrx.kernel.product1.cci.ProductConfigurationFilter filter
96   ) {
97     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
98       "org:opencrx:kernel:product1:ProductConfigurationSet:configuration"
99     )).toList(filter);
100   }
101
102 // ----------------------------------------------------------------------------
103
// Instance/ImplReferenceAddWithQualifier
104
// ----------------------------------------------------------------------------
105
public void addConfiguration (
106     String JavaDoc id,
107     org.opencrx.kernel.product1.cci.ProductConfiguration newValue
108   ) {
109     refAddValue(
110       "org:opencrx:kernel:product1:ProductConfigurationSet:configuration",
111       id,
112       newValue
113     );
114   }
115
116 // ----------------------------------------------------------------------------
117
// Instance/ImplReferenceAddWithoutQualifier
118
// ----------------------------------------------------------------------------
119
public void addConfiguration (
120     org.opencrx.kernel.product1.cci.ProductConfiguration newValue
121   ) {
122     refAddValue(
123       "org:opencrx:kernel:product1:ProductConfigurationSet:configuration",
124       newValue
125     );
126   }
127
128 // ----------------------------------------------------------------------------
129
// Instance/ImplReferenceRemoveWithQualifier
130
// ----------------------------------------------------------------------------
131
public void removeConfiguration (
132     String JavaDoc id
133   ) {
134     refRemoveValue(
135       "org:opencrx:kernel:product1:ProductConfigurationSet:configuration",
136       id
137     );
138   }
139
140 // ----------------------------------------------------------------------------
141
// Instance/ImplOperation
142
// ----------------------------------------------------------------------------
143
public org.openmdx.base.cci.Void unsetConfigurationType(
144       org.openmdx.base.cci.Void params
145   ) throws javax.jmi.reflect.RefException {
146     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
147     args.add(params);
148     return (org.openmdx.base.cci.Void)refInvokeOperation(
149       "org:opencrx:kernel:product1:ProductConfigurationSet:unsetConfigurationType",
150       args
151     );
152   }
153
154   public org.openmdx.base.cci.Void unsetConfigurationType(
155   ) throws javax.jmi.reflect.RefException {
156     return unsetConfigurationType(
157       ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid(
158               )
159     );
160   }
161
162 // ----------------------------------------------------------------------------
163
// Instance/ImplEnd
164
// ----------------------------------------------------------------------------
165
}
166
Popular Tags