1 package org.opencrx.kernel.product1.cci; 14 15 public class BundledProductClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements BundledProductClass { 18 19 public BundledProductClassImpl( 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:BundledProduct"; 28 } 29 30 public BundledProduct getBundledProduct( 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 BundledProduct target = (BundledProduct)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (BundledProduct)((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 BundledProduct createBundledProduct( 55 ) { 56 BundledProduct target = (BundledProduct)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public BundledProduct createBundledProduct( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , boolean disabled 69 , String name 70 , String productNumber 71 , short productState 72 , short productType 73 , int itemNumber 74 , short minMaxQuantityHandling 75 ) { 76 BundledProductImpl _object = (BundledProductImpl)createBundledProduct(); 77 _object.setAccessLevelBrowse(accessLevelBrowse); 78 _object.setAccessLevelDelete(accessLevelDelete); 79 _object.setAccessLevelUpdate(accessLevelUpdate); 80 _object.setDisabled(disabled); 81 _object.setName(name); 82 _object.setProductNumber(productNumber); 83 _object.setProductState(productState); 84 _object.setProductType(productType); 85 _object.setItemNumber(itemNumber); 86 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 87 return _object; 88 } 89 90 public BundledProduct extendAuditee( 94 org.opencrx.kernel.base.cci.Auditee _base 95 , short accessLevelBrowse 96 , short accessLevelDelete 97 , short accessLevelUpdate 98 , boolean disabled 99 , String name 100 , String productNumber 101 , short productState 102 , short productType 103 , int itemNumber 104 , short minMaxQuantityHandling 105 ) { 106 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 107 _object.setAccessLevelBrowse(accessLevelBrowse); 108 _object.setAccessLevelDelete(accessLevelDelete); 109 _object.setAccessLevelUpdate(accessLevelUpdate); 110 _object.setDisabled(disabled); 111 _object.setName(name); 112 _object.setProductNumber(productNumber); 113 _object.setProductState(productState); 114 _object.setProductType(productType); 115 _object.setItemNumber(itemNumber); 116 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 117 return _object; 118 } 119 120 public BundledProduct extendBookmarkable( 124 org.opencrx.kernel.base.cci.Bookmarkable _base 125 , short accessLevelBrowse 126 , short accessLevelDelete 127 , short accessLevelUpdate 128 , boolean disabled 129 , String name 130 , String productNumber 131 , short productState 132 , short productType 133 , int itemNumber 134 , short minMaxQuantityHandling 135 ) { 136 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 137 _object.setAccessLevelBrowse(accessLevelBrowse); 138 _object.setAccessLevelDelete(accessLevelDelete); 139 _object.setAccessLevelUpdate(accessLevelUpdate); 140 _object.setDisabled(disabled); 141 _object.setName(name); 142 _object.setProductNumber(productNumber); 143 _object.setProductState(productState); 144 _object.setProductType(productType); 145 _object.setItemNumber(itemNumber); 146 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 147 return _object; 148 } 149 150 public BundledProduct extendCloneable( 154 org.opencrx.kernel.base.cci.Cloneable _base 155 , short accessLevelBrowse 156 , short accessLevelDelete 157 , short accessLevelUpdate 158 , boolean disabled 159 , String name 160 , String productNumber 161 , short productState 162 , short productType 163 , int itemNumber 164 , short minMaxQuantityHandling 165 ) { 166 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 167 _object.setAccessLevelBrowse(accessLevelBrowse); 168 _object.setAccessLevelDelete(accessLevelDelete); 169 _object.setAccessLevelUpdate(accessLevelUpdate); 170 _object.setDisabled(disabled); 171 _object.setName(name); 172 _object.setProductNumber(productNumber); 173 _object.setProductState(productState); 174 _object.setProductType(productType); 175 _object.setItemNumber(itemNumber); 176 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 177 return _object; 178 } 179 180 public BundledProduct extendImporter( 184 org.opencrx.kernel.base.cci.Importer _base 185 , short accessLevelBrowse 186 , short accessLevelDelete 187 , short accessLevelUpdate 188 , boolean disabled 189 , String name 190 , String productNumber 191 , short productState 192 , short productType 193 , int itemNumber 194 , short minMaxQuantityHandling 195 ) { 196 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 197 _object.setAccessLevelBrowse(accessLevelBrowse); 198 _object.setAccessLevelDelete(accessLevelDelete); 199 _object.setAccessLevelUpdate(accessLevelUpdate); 200 _object.setDisabled(disabled); 201 _object.setName(name); 202 _object.setProductNumber(productNumber); 203 _object.setProductState(productState); 204 _object.setProductType(productType); 205 _object.setItemNumber(itemNumber); 206 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 207 return _object; 208 } 209 210 public BundledProduct extendSecureObject( 214 org.opencrx.kernel.base.cci.SecureObject _base 215 , boolean disabled 216 , String name 217 , String productNumber 218 , short productState 219 , short productType 220 , int itemNumber 221 , short minMaxQuantityHandling 222 ) { 223 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 224 _object.setDisabled(disabled); 225 _object.setName(name); 226 _object.setProductNumber(productNumber); 227 _object.setProductState(productState); 228 _object.setProductType(productType); 229 _object.setItemNumber(itemNumber); 230 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 231 return _object; 232 } 233 234 public BundledProduct extendSubscriptionTarget( 238 org.opencrx.kernel.base.cci.SubscriptionTarget _base 239 , short accessLevelBrowse 240 , short accessLevelDelete 241 , short accessLevelUpdate 242 , boolean disabled 243 , String name 244 , String productNumber 245 , short productState 246 , short productType 247 , int itemNumber 248 , short minMaxQuantityHandling 249 ) { 250 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 251 _object.setAccessLevelBrowse(accessLevelBrowse); 252 _object.setAccessLevelDelete(accessLevelDelete); 253 _object.setAccessLevelUpdate(accessLevelUpdate); 254 _object.setDisabled(disabled); 255 _object.setName(name); 256 _object.setProductNumber(productNumber); 257 _object.setProductState(productState); 258 _object.setProductType(productType); 259 _object.setItemNumber(itemNumber); 260 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 261 return _object; 262 } 263 264 public BundledProduct extendXmlExporter( 268 org.opencrx.kernel.base.cci.XmlExporter _base 269 , short accessLevelBrowse 270 , short accessLevelDelete 271 , short accessLevelUpdate 272 , boolean disabled 273 , String name 274 , String productNumber 275 , short productState 276 , short productType 277 , int itemNumber 278 , short minMaxQuantityHandling 279 ) { 280 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 281 _object.setAccessLevelBrowse(accessLevelBrowse); 282 _object.setAccessLevelDelete(accessLevelDelete); 283 _object.setAccessLevelUpdate(accessLevelUpdate); 284 _object.setDisabled(disabled); 285 _object.setName(name); 286 _object.setProductNumber(productNumber); 287 _object.setProductState(productState); 288 _object.setProductType(productType); 289 _object.setItemNumber(itemNumber); 290 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 291 return _object; 292 } 293 294 public BundledProduct extendDepotReferenceHolder( 298 org.opencrx.kernel.depot1.cci.DepotReferenceHolder _base 299 , short accessLevelBrowse 300 , short accessLevelDelete 301 , short accessLevelUpdate 302 , boolean disabled 303 , String name 304 , String productNumber 305 , short productState 306 , short productType 307 , int itemNumber 308 , short minMaxQuantityHandling 309 ) { 310 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 311 _object.setAccessLevelBrowse(accessLevelBrowse); 312 _object.setAccessLevelDelete(accessLevelDelete); 313 _object.setAccessLevelUpdate(accessLevelUpdate); 314 _object.setDisabled(disabled); 315 _object.setName(name); 316 _object.setProductNumber(productNumber); 317 _object.setProductState(productState); 318 _object.setProductType(productType); 319 _object.setItemNumber(itemNumber); 320 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 321 return _object; 322 } 323 324 public BundledProduct extendCrxObject( 328 org.opencrx.kernel.generic.cci.CrxObject _base 329 , String name 330 , String productNumber 331 , short productState 332 , short productType 333 , int itemNumber 334 , short minMaxQuantityHandling 335 ) { 336 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 337 _object.setName(name); 338 _object.setProductNumber(productNumber); 339 _object.setProductState(productState); 340 _object.setProductType(productType); 341 _object.setItemNumber(itemNumber); 342 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 343 return _object; 344 } 345 346 public BundledProduct extendAbstractProduct( 350 org.opencrx.kernel.product1.cci.AbstractProduct _base 351 , int itemNumber 352 , short minMaxQuantityHandling 353 ) { 354 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 355 _object.setItemNumber(itemNumber); 356 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 357 return _object; 358 } 359 360 public BundledProduct extendContractPositionConstrained( 364 org.opencrx.kernel.product1.cci.ContractPositionConstrained _base 365 , short accessLevelBrowse 366 , short accessLevelDelete 367 , short accessLevelUpdate 368 , boolean disabled 369 , String name 370 , String productNumber 371 , short productState 372 , short productType 373 ) { 374 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 375 _object.setAccessLevelBrowse(accessLevelBrowse); 376 _object.setAccessLevelDelete(accessLevelDelete); 377 _object.setAccessLevelUpdate(accessLevelUpdate); 378 _object.setDisabled(disabled); 379 _object.setName(name); 380 _object.setProductNumber(productNumber); 381 _object.setProductState(productState); 382 _object.setProductType(productType); 383 return _object; 384 } 385 386 public BundledProduct extendPriceOverrideEnabled( 390 org.opencrx.kernel.product1.cci.PriceOverrideEnabled _base 391 , short accessLevelBrowse 392 , short accessLevelDelete 393 , short accessLevelUpdate 394 , boolean disabled 395 , String name 396 , String productNumber 397 , short productState 398 , short productType 399 , int itemNumber 400 , short minMaxQuantityHandling 401 ) { 402 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 403 _object.setAccessLevelBrowse(accessLevelBrowse); 404 _object.setAccessLevelDelete(accessLevelDelete); 405 _object.setAccessLevelUpdate(accessLevelUpdate); 406 _object.setDisabled(disabled); 407 _object.setName(name); 408 _object.setProductNumber(productNumber); 409 _object.setProductState(productState); 410 _object.setProductType(productType); 411 _object.setItemNumber(itemNumber); 412 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 413 return _object; 414 } 415 416 public BundledProduct extendProductConfigurationSet( 420 org.opencrx.kernel.product1.cci.ProductConfigurationSet _base 421 , short accessLevelBrowse 422 , short accessLevelDelete 423 , short accessLevelUpdate 424 , boolean disabled 425 , String name 426 , String productNumber 427 , short productState 428 , short productType 429 , int itemNumber 430 , short minMaxQuantityHandling 431 ) { 432 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 433 _object.setAccessLevelBrowse(accessLevelBrowse); 434 _object.setAccessLevelDelete(accessLevelDelete); 435 _object.setAccessLevelUpdate(accessLevelUpdate); 436 _object.setDisabled(disabled); 437 _object.setName(name); 438 _object.setProductNumber(productNumber); 439 _object.setProductState(productState); 440 _object.setProductType(productType); 441 _object.setItemNumber(itemNumber); 442 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 443 return _object; 444 } 445 446 public BundledProduct extendProductDescriptor( 450 org.opencrx.kernel.product1.cci.ProductDescriptor _base 451 , short accessLevelBrowse 452 , short accessLevelDelete 453 , short accessLevelUpdate 454 , boolean disabled 455 , String name 456 , String productNumber 457 , short productState 458 , short productType 459 , int itemNumber 460 , short minMaxQuantityHandling 461 ) { 462 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 463 _object.setAccessLevelBrowse(accessLevelBrowse); 464 _object.setAccessLevelDelete(accessLevelDelete); 465 _object.setAccessLevelUpdate(accessLevelUpdate); 466 _object.setDisabled(disabled); 467 _object.setName(name); 468 _object.setProductNumber(productNumber); 469 _object.setProductState(productState); 470 _object.setProductType(productType); 471 _object.setItemNumber(itemNumber); 472 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 473 return _object; 474 } 475 476 public BundledProduct extendProductInUseDescriptor( 480 org.opencrx.kernel.product1.cci.ProductInUseDescriptor _base 481 , short accessLevelBrowse 482 , short accessLevelDelete 483 , short accessLevelUpdate 484 , boolean disabled 485 , String name 486 , String productNumber 487 , short productState 488 , short productType 489 , int itemNumber 490 , short minMaxQuantityHandling 491 ) { 492 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 493 _object.setAccessLevelBrowse(accessLevelBrowse); 494 _object.setAccessLevelDelete(accessLevelDelete); 495 _object.setAccessLevelUpdate(accessLevelUpdate); 496 _object.setDisabled(disabled); 497 _object.setName(name); 498 _object.setProductNumber(productNumber); 499 _object.setProductState(productState); 500 _object.setProductType(productType); 501 _object.setItemNumber(itemNumber); 502 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 503 return _object; 504 } 505 506 public BundledProduct extendBasicObject( 510 org.openmdx.base.cci.BasicObject _base 511 , short accessLevelBrowse 512 , short accessLevelDelete 513 , short accessLevelUpdate 514 , boolean disabled 515 , String name 516 , String productNumber 517 , short productState 518 , short productType 519 , int itemNumber 520 , short minMaxQuantityHandling 521 ) { 522 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 523 _object.setAccessLevelBrowse(accessLevelBrowse); 524 _object.setAccessLevelDelete(accessLevelDelete); 525 _object.setAccessLevelUpdate(accessLevelUpdate); 526 _object.setDisabled(disabled); 527 _object.setName(name); 528 _object.setProductNumber(productNumber); 529 _object.setProductState(productState); 530 _object.setProductType(productType); 531 _object.setItemNumber(itemNumber); 532 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 533 return _object; 534 } 535 536 public BundledProduct extendContextCapable( 540 org.openmdx.base.cci.ContextCapable _base 541 , short accessLevelBrowse 542 , short accessLevelDelete 543 , short accessLevelUpdate 544 , boolean disabled 545 , String name 546 , String productNumber 547 , short productState 548 , short productType 549 , int itemNumber 550 , short minMaxQuantityHandling 551 ) { 552 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 553 _object.setAccessLevelBrowse(accessLevelBrowse); 554 _object.setAccessLevelDelete(accessLevelDelete); 555 _object.setAccessLevelUpdate(accessLevelUpdate); 556 _object.setDisabled(disabled); 557 _object.setName(name); 558 _object.setProductNumber(productNumber); 559 _object.setProductState(productState); 560 _object.setProductType(productType); 561 _object.setItemNumber(itemNumber); 562 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 563 return _object; 564 } 565 566 public BundledProduct extendExtentCapable( 570 org.openmdx.base.cci.ExtentCapable _base 571 , short accessLevelBrowse 572 , short accessLevelDelete 573 , short accessLevelUpdate 574 , boolean disabled 575 , String name 576 , String productNumber 577 , short productState 578 , short productType 579 , int itemNumber 580 , short minMaxQuantityHandling 581 ) { 582 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 583 _object.setAccessLevelBrowse(accessLevelBrowse); 584 _object.setAccessLevelDelete(accessLevelDelete); 585 _object.setAccessLevelUpdate(accessLevelUpdate); 586 _object.setDisabled(disabled); 587 _object.setName(name); 588 _object.setProductNumber(productNumber); 589 _object.setProductState(productState); 590 _object.setProductType(productType); 591 _object.setItemNumber(itemNumber); 592 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 593 return _object; 594 } 595 596 public BundledProduct extendViewCapable( 600 org.openmdx.compatibility.view1.cci.ViewCapable _base 601 , short accessLevelBrowse 602 , short accessLevelDelete 603 , short accessLevelUpdate 604 , boolean disabled 605 , String name 606 , String productNumber 607 , short productState 608 , short productType 609 , int itemNumber 610 , short minMaxQuantityHandling 611 ) { 612 BundledProductImpl _object = (BundledProductImpl)getBundledProduct(_base); 613 _object.setAccessLevelBrowse(accessLevelBrowse); 614 _object.setAccessLevelDelete(accessLevelDelete); 615 _object.setAccessLevelUpdate(accessLevelUpdate); 616 _object.setDisabled(disabled); 617 _object.setName(name); 618 _object.setProductNumber(productNumber); 619 _object.setProductState(productState); 620 _object.setProductType(productType); 621 _object.setItemNumber(itemNumber); 622 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 623 return _object; 624 } 625 626 } 630 | Popular Tags |