1 package org.opencrx.kernel.product1.cci; 14 15 public class ProductInUseDescriptorImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ProductInUseDescriptor { 18 19 public ProductInUseDescriptorImpl( 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 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 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 protected void removeConfigType ( 52 ) { 53 refRemoveValue( 54 "org:opencrx:kernel:product1:ProductConfigurationSet:configType" 55 ); 56 } 57 public void setConfiguration( 61 java.util.List 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 public org.opencrx.kernel.product1.cci.ProductConfiguration getConfiguration( 76 String id 77 ) { 78 return (org.opencrx.kernel.product1.cci.ProductConfiguration)refGetValue( 79 "org:opencrx:kernel:product1:ProductConfigurationSet:configuration", 80 id 81 ); 82 } 83 84 public java.util.Collection getConfiguration( 88 ) { 89 return (java.util.Collection )refGetValue( 90 "org:opencrx:kernel:product1:ProductConfigurationSet:configuration" 91 ); 92 } 93 94 public java.util.List 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 public void addConfiguration ( 106 String 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 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 public void removeConfiguration ( 132 String id 133 ) { 134 refRemoveValue( 135 "org:opencrx:kernel:product1:ProductConfigurationSet:configuration", 136 id 137 ); 138 } 139 140 public org.openmdx.base.cci.Void unsetConfigurationType( 144 org.openmdx.base.cci.Void params 145 ) throws javax.jmi.reflect.RefException { 146 java.util.List args = new java.util.ArrayList (); 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 public org.opencrx.kernel.product1.cci.Product getProduct( 166 ) { 167 return (org.opencrx.kernel.product1.cci.Product)refGetValue( 168 "org:opencrx:kernel:product1:ProductDescriptor:product" 169 ); 170 } 171 172 protected void setProduct( 176 org.opencrx.kernel.product1.cci.Product newValue 177 ) { 178 refSetValue( 179 "org:opencrx:kernel:product1:ProductDescriptor:product", 180 newValue 181 ); 182 } 183 184 protected void removeProduct ( 188 ) { 189 refRemoveValue( 190 "org:opencrx:kernel:product1:ProductDescriptor:product" 191 ); 192 } 193 public org.opencrx.kernel.product1.cci.ProductConfiguration getCurrentConfig( 197 ) { 198 return (org.opencrx.kernel.product1.cci.ProductConfiguration)refGetValue( 199 "org:opencrx:kernel:product1:ProductInUseDescriptor:currentConfig" 200 ); 201 } 202 203 public void setCurrentConfig( 207 org.opencrx.kernel.product1.cci.ProductConfiguration newValue 208 ) { 209 refSetValue( 210 "org:opencrx:kernel:product1:ProductInUseDescriptor:currentConfig", 211 newValue 212 ); 213 } 214 215 public void removeCurrentConfig ( 219 ) { 220 refRemoveValue( 221 "org:opencrx:kernel:product1:ProductInUseDescriptor:currentConfig" 222 ); 223 } 224 public java.util.Set getProductSerialNumber ( 228 ) { 229 return (java.util.Set )this.refGetValue("productSerialNumber"); 230 } 231 public void setProductSerialNumber( 235 java.util.Set newValue 236 ) { 237 refSetValue("org:opencrx:kernel:product1:ProductInUseDescriptor:productSerialNumber", newValue); 238 } 239 240 public void setProductSerialNumber( 241 String [] newValue 242 ) { 243 refSetValue("org:opencrx:kernel:product1:ProductInUseDescriptor:productSerialNumber", newValue); 244 } 245 246 } 250 | Popular Tags |