1 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 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 } 166 | Popular Tags |