1 package org.opencrx.kernel.product1.cci; 14 15 public class PriceLevelClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements PriceLevelClass { 18 19 public PriceLevelClassImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage 21 ) { 22 super(refPackage); 23 } 24 25 public String refMofId( 26 ) { 27 return "org:opencrx:kernel:product1:PriceLevel"; 28 } 29 30 public PriceLevel getPriceLevel( 31 Object object 32 ) { 33 try { 34 if(object instanceof org.openmdx.base.accessor.jmi.cci.RefObject_1_0) { 35 java.util.List args = new java.util.ArrayList (); 36 args.add(object); 37 PriceLevel target = (PriceLevel)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (PriceLevel)((org.openmdx.base.accessor.jmi.cci.RefPackage_1_0)this.refOutermostPackage()).refObject( 43 object instanceof org.openmdx.compatibility.base.naming.Path 44 ? ((org.openmdx.compatibility.base.naming.Path)object).toXri() 45 : ((org.openmdx.base.accessor.generic.cci.Object_1_0)object).objGetPath().toXri() 46 ); 47 } 48 } 49 catch(org.openmdx.base.exception.ServiceException e) { 50 throw new org.openmdx.base.accessor.jmi.cci.JmiServiceException(e); 51 } 52 } 53 54 public PriceLevel createPriceLevel( 55 ) { 56 PriceLevel target = (PriceLevel)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public PriceLevel createPriceLevel( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , boolean disabled 69 , String name 70 , short priceCurrency 71 ) { 72 PriceLevelImpl _object = (PriceLevelImpl)createPriceLevel(); 73 _object.setAccessLevelBrowse(accessLevelBrowse); 74 _object.setAccessLevelDelete(accessLevelDelete); 75 _object.setAccessLevelUpdate(accessLevelUpdate); 76 _object.setDisabled(disabled); 77 _object.setName(name); 78 _object.setPriceCurrency(priceCurrency); 79 return _object; 80 } 81 82 public PriceLevel extendAbstractFilterAccount( 86 org.opencrx.kernel.account1.cci.AbstractFilterAccount _base 87 , short accessLevelBrowse 88 , short accessLevelDelete 89 , short accessLevelUpdate 90 , boolean disabled 91 , String name 92 , short priceCurrency 93 ) { 94 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 95 _object.setAccessLevelBrowse(accessLevelBrowse); 96 _object.setAccessLevelDelete(accessLevelDelete); 97 _object.setAccessLevelUpdate(accessLevelUpdate); 98 _object.setDisabled(disabled); 99 _object.setName(name); 100 _object.setPriceCurrency(priceCurrency); 101 return _object; 102 } 103 104 public PriceLevel extendAbstractFilter( 108 org.opencrx.kernel.base.cci.AbstractFilter _base 109 , short accessLevelBrowse 110 , short accessLevelDelete 111 , short accessLevelUpdate 112 , boolean disabled 113 , String name 114 , short priceCurrency 115 ) { 116 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 117 _object.setAccessLevelBrowse(accessLevelBrowse); 118 _object.setAccessLevelDelete(accessLevelDelete); 119 _object.setAccessLevelUpdate(accessLevelUpdate); 120 _object.setDisabled(disabled); 121 _object.setName(name); 122 _object.setPriceCurrency(priceCurrency); 123 return _object; 124 } 125 126 public PriceLevel extendAuditee( 130 org.opencrx.kernel.base.cci.Auditee _base 131 , short accessLevelBrowse 132 , short accessLevelDelete 133 , short accessLevelUpdate 134 , boolean disabled 135 , String name 136 , short priceCurrency 137 ) { 138 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 139 _object.setAccessLevelBrowse(accessLevelBrowse); 140 _object.setAccessLevelDelete(accessLevelDelete); 141 _object.setAccessLevelUpdate(accessLevelUpdate); 142 _object.setDisabled(disabled); 143 _object.setName(name); 144 _object.setPriceCurrency(priceCurrency); 145 return _object; 146 } 147 148 public PriceLevel extendBookmarkable( 152 org.opencrx.kernel.base.cci.Bookmarkable _base 153 , short accessLevelBrowse 154 , short accessLevelDelete 155 , short accessLevelUpdate 156 , boolean disabled 157 , String name 158 , short priceCurrency 159 ) { 160 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 161 _object.setAccessLevelBrowse(accessLevelBrowse); 162 _object.setAccessLevelDelete(accessLevelDelete); 163 _object.setAccessLevelUpdate(accessLevelUpdate); 164 _object.setDisabled(disabled); 165 _object.setName(name); 166 _object.setPriceCurrency(priceCurrency); 167 return _object; 168 } 169 170 public PriceLevel extendCloneable( 174 org.opencrx.kernel.base.cci.Cloneable _base 175 , short accessLevelBrowse 176 , short accessLevelDelete 177 , short accessLevelUpdate 178 , boolean disabled 179 , String name 180 , short priceCurrency 181 ) { 182 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 183 _object.setAccessLevelBrowse(accessLevelBrowse); 184 _object.setAccessLevelDelete(accessLevelDelete); 185 _object.setAccessLevelUpdate(accessLevelUpdate); 186 _object.setDisabled(disabled); 187 _object.setName(name); 188 _object.setPriceCurrency(priceCurrency); 189 return _object; 190 } 191 192 public PriceLevel extendImporter( 196 org.opencrx.kernel.base.cci.Importer _base 197 , short accessLevelBrowse 198 , short accessLevelDelete 199 , short accessLevelUpdate 200 , boolean disabled 201 , String name 202 , short priceCurrency 203 ) { 204 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 205 _object.setAccessLevelBrowse(accessLevelBrowse); 206 _object.setAccessLevelDelete(accessLevelDelete); 207 _object.setAccessLevelUpdate(accessLevelUpdate); 208 _object.setDisabled(disabled); 209 _object.setName(name); 210 _object.setPriceCurrency(priceCurrency); 211 return _object; 212 } 213 214 public PriceLevel extendSecureObject( 218 org.opencrx.kernel.base.cci.SecureObject _base 219 , boolean disabled 220 , String name 221 , short priceCurrency 222 ) { 223 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 224 _object.setDisabled(disabled); 225 _object.setName(name); 226 _object.setPriceCurrency(priceCurrency); 227 return _object; 228 } 229 230 public PriceLevel extendSubscriptionTarget( 234 org.opencrx.kernel.base.cci.SubscriptionTarget _base 235 , short accessLevelBrowse 236 , short accessLevelDelete 237 , short accessLevelUpdate 238 , boolean disabled 239 , String name 240 , short priceCurrency 241 ) { 242 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 243 _object.setAccessLevelBrowse(accessLevelBrowse); 244 _object.setAccessLevelDelete(accessLevelDelete); 245 _object.setAccessLevelUpdate(accessLevelUpdate); 246 _object.setDisabled(disabled); 247 _object.setName(name); 248 _object.setPriceCurrency(priceCurrency); 249 return _object; 250 } 251 252 public PriceLevel extendXmlExporter( 256 org.opencrx.kernel.base.cci.XmlExporter _base 257 , short accessLevelBrowse 258 , short accessLevelDelete 259 , short accessLevelUpdate 260 , boolean disabled 261 , String name 262 , short priceCurrency 263 ) { 264 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 265 _object.setAccessLevelBrowse(accessLevelBrowse); 266 _object.setAccessLevelDelete(accessLevelDelete); 267 _object.setAccessLevelUpdate(accessLevelUpdate); 268 _object.setDisabled(disabled); 269 _object.setName(name); 270 _object.setPriceCurrency(priceCurrency); 271 return _object; 272 } 273 274 public PriceLevel extendCrxObject( 278 org.opencrx.kernel.generic.cci.CrxObject _base 279 , String name 280 , short priceCurrency 281 ) { 282 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 283 _object.setName(name); 284 _object.setPriceCurrency(priceCurrency); 285 return _object; 286 } 287 288 public PriceLevel extendAbstractFilterProduct( 292 org.opencrx.kernel.product1.cci.AbstractFilterProduct _base 293 , short accessLevelBrowse 294 , short accessLevelDelete 295 , short accessLevelUpdate 296 , boolean disabled 297 , String name 298 , short priceCurrency 299 ) { 300 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 301 _object.setAccessLevelBrowse(accessLevelBrowse); 302 _object.setAccessLevelDelete(accessLevelDelete); 303 _object.setAccessLevelUpdate(accessLevelUpdate); 304 _object.setDisabled(disabled); 305 _object.setName(name); 306 _object.setPriceCurrency(priceCurrency); 307 return _object; 308 } 309 310 public PriceLevel extendBasicObject( 314 org.openmdx.base.cci.BasicObject _base 315 , short accessLevelBrowse 316 , short accessLevelDelete 317 , short accessLevelUpdate 318 , boolean disabled 319 , String name 320 , short priceCurrency 321 ) { 322 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 323 _object.setAccessLevelBrowse(accessLevelBrowse); 324 _object.setAccessLevelDelete(accessLevelDelete); 325 _object.setAccessLevelUpdate(accessLevelUpdate); 326 _object.setDisabled(disabled); 327 _object.setName(name); 328 _object.setPriceCurrency(priceCurrency); 329 return _object; 330 } 331 332 public PriceLevel extendContextCapable( 336 org.openmdx.base.cci.ContextCapable _base 337 , short accessLevelBrowse 338 , short accessLevelDelete 339 , short accessLevelUpdate 340 , boolean disabled 341 , String name 342 , short priceCurrency 343 ) { 344 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 345 _object.setAccessLevelBrowse(accessLevelBrowse); 346 _object.setAccessLevelDelete(accessLevelDelete); 347 _object.setAccessLevelUpdate(accessLevelUpdate); 348 _object.setDisabled(disabled); 349 _object.setName(name); 350 _object.setPriceCurrency(priceCurrency); 351 return _object; 352 } 353 354 public PriceLevel extendExtentCapable( 358 org.openmdx.base.cci.ExtentCapable _base 359 , short accessLevelBrowse 360 , short accessLevelDelete 361 , short accessLevelUpdate 362 , boolean disabled 363 , String name 364 , short priceCurrency 365 ) { 366 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 367 _object.setAccessLevelBrowse(accessLevelBrowse); 368 _object.setAccessLevelDelete(accessLevelDelete); 369 _object.setAccessLevelUpdate(accessLevelUpdate); 370 _object.setDisabled(disabled); 371 _object.setName(name); 372 _object.setPriceCurrency(priceCurrency); 373 return _object; 374 } 375 376 public PriceLevel extendViewCapable( 380 org.openmdx.compatibility.view1.cci.ViewCapable _base 381 , short accessLevelBrowse 382 , short accessLevelDelete 383 , short accessLevelUpdate 384 , boolean disabled 385 , String name 386 , short priceCurrency 387 ) { 388 PriceLevelImpl _object = (PriceLevelImpl)getPriceLevel(_base); 389 _object.setAccessLevelBrowse(accessLevelBrowse); 390 _object.setAccessLevelDelete(accessLevelDelete); 391 _object.setAccessLevelUpdate(accessLevelUpdate); 392 _object.setDisabled(disabled); 393 _object.setName(name); 394 _object.setPriceCurrency(priceCurrency); 395 return _object; 396 } 397 398 } 402 | Popular Tags |