1 package org.opencrx.kernel.contract1.cci; 14 15 public class SalesOrderPositionClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements SalesOrderPositionClass { 18 19 public SalesOrderPositionClassImpl( 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:contract1:SalesOrderPosition"; 28 } 29 30 public SalesOrderPosition getSalesOrderPosition( 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 SalesOrderPosition target = (SalesOrderPosition)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (SalesOrderPosition)((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 SalesOrderPosition createSalesOrderPosition( 55 ) { 56 SalesOrderPosition target = (SalesOrderPosition)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public SalesOrderPosition createSalesOrderPosition( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , short contractPositionState 69 , int lineItemNumber 70 , short minMaxQuantityHandling 71 , String name 72 , String positionNumber 73 , short pricingState 74 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 75 , org.opencrx.kernel.account1.cci.Account carrier 76 , boolean isGift 77 , short shippingMethod 78 , boolean disabled 79 ) { 80 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)createSalesOrderPosition(); 81 _object.setAccessLevelBrowse(accessLevelBrowse); 82 _object.setAccessLevelDelete(accessLevelDelete); 83 _object.setAccessLevelUpdate(accessLevelUpdate); 84 _object.setContractPositionState(contractPositionState); 85 _object.setLineItemNumber(lineItemNumber); 86 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 87 _object.setName(name); 88 _object.setPositionNumber(positionNumber); 89 _object.setPricingState(pricingState); 90 _object.setSalesTaxType(salesTaxType); 91 _object.setCarrier(carrier); 92 _object.setGift(isGift); 93 _object.setShippingMethod(shippingMethod); 94 _object.setDisabled(disabled); 95 return _object; 96 } 97 98 public SalesOrderPosition extendAuditee( 102 org.opencrx.kernel.base.cci.Auditee _base 103 , short accessLevelBrowse 104 , short accessLevelDelete 105 , short accessLevelUpdate 106 , short contractPositionState 107 , int lineItemNumber 108 , short minMaxQuantityHandling 109 , String name 110 , String positionNumber 111 , short pricingState 112 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 113 , org.opencrx.kernel.account1.cci.Account carrier 114 , boolean isGift 115 , short shippingMethod 116 , boolean disabled 117 ) { 118 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 119 _object.setAccessLevelBrowse(accessLevelBrowse); 120 _object.setAccessLevelDelete(accessLevelDelete); 121 _object.setAccessLevelUpdate(accessLevelUpdate); 122 _object.setContractPositionState(contractPositionState); 123 _object.setLineItemNumber(lineItemNumber); 124 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 125 _object.setName(name); 126 _object.setPositionNumber(positionNumber); 127 _object.setPricingState(pricingState); 128 _object.setSalesTaxType(salesTaxType); 129 _object.setCarrier(carrier); 130 _object.setGift(isGift); 131 _object.setShippingMethod(shippingMethod); 132 _object.setDisabled(disabled); 133 return _object; 134 } 135 136 public SalesOrderPosition extendBookmarkable( 140 org.opencrx.kernel.base.cci.Bookmarkable _base 141 , short accessLevelBrowse 142 , short accessLevelDelete 143 , short accessLevelUpdate 144 , short contractPositionState 145 , int lineItemNumber 146 , short minMaxQuantityHandling 147 , String name 148 , String positionNumber 149 , short pricingState 150 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 151 , org.opencrx.kernel.account1.cci.Account carrier 152 , boolean isGift 153 , short shippingMethod 154 , boolean disabled 155 ) { 156 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 157 _object.setAccessLevelBrowse(accessLevelBrowse); 158 _object.setAccessLevelDelete(accessLevelDelete); 159 _object.setAccessLevelUpdate(accessLevelUpdate); 160 _object.setContractPositionState(contractPositionState); 161 _object.setLineItemNumber(lineItemNumber); 162 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 163 _object.setName(name); 164 _object.setPositionNumber(positionNumber); 165 _object.setPricingState(pricingState); 166 _object.setSalesTaxType(salesTaxType); 167 _object.setCarrier(carrier); 168 _object.setGift(isGift); 169 _object.setShippingMethod(shippingMethod); 170 _object.setDisabled(disabled); 171 return _object; 172 } 173 174 public SalesOrderPosition extendCloneable( 178 org.opencrx.kernel.base.cci.Cloneable _base 179 , short accessLevelBrowse 180 , short accessLevelDelete 181 , short accessLevelUpdate 182 , short contractPositionState 183 , int lineItemNumber 184 , short minMaxQuantityHandling 185 , String name 186 , String positionNumber 187 , short pricingState 188 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 189 , org.opencrx.kernel.account1.cci.Account carrier 190 , boolean isGift 191 , short shippingMethod 192 , boolean disabled 193 ) { 194 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 195 _object.setAccessLevelBrowse(accessLevelBrowse); 196 _object.setAccessLevelDelete(accessLevelDelete); 197 _object.setAccessLevelUpdate(accessLevelUpdate); 198 _object.setContractPositionState(contractPositionState); 199 _object.setLineItemNumber(lineItemNumber); 200 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 201 _object.setName(name); 202 _object.setPositionNumber(positionNumber); 203 _object.setPricingState(pricingState); 204 _object.setSalesTaxType(salesTaxType); 205 _object.setCarrier(carrier); 206 _object.setGift(isGift); 207 _object.setShippingMethod(shippingMethod); 208 _object.setDisabled(disabled); 209 return _object; 210 } 211 212 public SalesOrderPosition extendImporter( 216 org.opencrx.kernel.base.cci.Importer _base 217 , short accessLevelBrowse 218 , short accessLevelDelete 219 , short accessLevelUpdate 220 , short contractPositionState 221 , int lineItemNumber 222 , short minMaxQuantityHandling 223 , String name 224 , String positionNumber 225 , short pricingState 226 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 227 , org.opencrx.kernel.account1.cci.Account carrier 228 , boolean isGift 229 , short shippingMethod 230 , boolean disabled 231 ) { 232 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 233 _object.setAccessLevelBrowse(accessLevelBrowse); 234 _object.setAccessLevelDelete(accessLevelDelete); 235 _object.setAccessLevelUpdate(accessLevelUpdate); 236 _object.setContractPositionState(contractPositionState); 237 _object.setLineItemNumber(lineItemNumber); 238 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 239 _object.setName(name); 240 _object.setPositionNumber(positionNumber); 241 _object.setPricingState(pricingState); 242 _object.setSalesTaxType(salesTaxType); 243 _object.setCarrier(carrier); 244 _object.setGift(isGift); 245 _object.setShippingMethod(shippingMethod); 246 _object.setDisabled(disabled); 247 return _object; 248 } 249 250 public SalesOrderPosition extendSecureObject( 254 org.opencrx.kernel.base.cci.SecureObject _base 255 , short contractPositionState 256 , int lineItemNumber 257 , short minMaxQuantityHandling 258 , String name 259 , String positionNumber 260 , short pricingState 261 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 262 , org.opencrx.kernel.account1.cci.Account carrier 263 , boolean isGift 264 , short shippingMethod 265 , boolean disabled 266 ) { 267 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 268 _object.setContractPositionState(contractPositionState); 269 _object.setLineItemNumber(lineItemNumber); 270 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 271 _object.setName(name); 272 _object.setPositionNumber(positionNumber); 273 _object.setPricingState(pricingState); 274 _object.setSalesTaxType(salesTaxType); 275 _object.setCarrier(carrier); 276 _object.setGift(isGift); 277 _object.setShippingMethod(shippingMethod); 278 _object.setDisabled(disabled); 279 return _object; 280 } 281 282 public SalesOrderPosition extendSubscriptionTarget( 286 org.opencrx.kernel.base.cci.SubscriptionTarget _base 287 , short accessLevelBrowse 288 , short accessLevelDelete 289 , short accessLevelUpdate 290 , short contractPositionState 291 , int lineItemNumber 292 , short minMaxQuantityHandling 293 , String name 294 , String positionNumber 295 , short pricingState 296 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 297 , org.opencrx.kernel.account1.cci.Account carrier 298 , boolean isGift 299 , short shippingMethod 300 , boolean disabled 301 ) { 302 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 303 _object.setAccessLevelBrowse(accessLevelBrowse); 304 _object.setAccessLevelDelete(accessLevelDelete); 305 _object.setAccessLevelUpdate(accessLevelUpdate); 306 _object.setContractPositionState(contractPositionState); 307 _object.setLineItemNumber(lineItemNumber); 308 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 309 _object.setName(name); 310 _object.setPositionNumber(positionNumber); 311 _object.setPricingState(pricingState); 312 _object.setSalesTaxType(salesTaxType); 313 _object.setCarrier(carrier); 314 _object.setGift(isGift); 315 _object.setShippingMethod(shippingMethod); 316 _object.setDisabled(disabled); 317 return _object; 318 } 319 320 public SalesOrderPosition extendXmlExporter( 324 org.opencrx.kernel.base.cci.XmlExporter _base 325 , short accessLevelBrowse 326 , short accessLevelDelete 327 , short accessLevelUpdate 328 , short contractPositionState 329 , int lineItemNumber 330 , short minMaxQuantityHandling 331 , String name 332 , String positionNumber 333 , short pricingState 334 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 335 , org.opencrx.kernel.account1.cci.Account carrier 336 , boolean isGift 337 , short shippingMethod 338 , boolean disabled 339 ) { 340 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 341 _object.setAccessLevelBrowse(accessLevelBrowse); 342 _object.setAccessLevelDelete(accessLevelDelete); 343 _object.setAccessLevelUpdate(accessLevelUpdate); 344 _object.setContractPositionState(contractPositionState); 345 _object.setLineItemNumber(lineItemNumber); 346 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 347 _object.setName(name); 348 _object.setPositionNumber(positionNumber); 349 _object.setPricingState(pricingState); 350 _object.setSalesTaxType(salesTaxType); 351 _object.setCarrier(carrier); 352 _object.setGift(isGift); 353 _object.setShippingMethod(shippingMethod); 354 _object.setDisabled(disabled); 355 return _object; 356 } 357 358 public SalesOrderPosition extendAddressContainer( 362 org.opencrx.kernel.contract1.cci.AddressContainer _base 363 , short accessLevelBrowse 364 , short accessLevelDelete 365 , short accessLevelUpdate 366 , short contractPositionState 367 , int lineItemNumber 368 , short minMaxQuantityHandling 369 , String name 370 , String positionNumber 371 , short pricingState 372 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 373 , org.opencrx.kernel.account1.cci.Account carrier 374 , boolean isGift 375 , short shippingMethod 376 , boolean disabled 377 ) { 378 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 379 _object.setAccessLevelBrowse(accessLevelBrowse); 380 _object.setAccessLevelDelete(accessLevelDelete); 381 _object.setAccessLevelUpdate(accessLevelUpdate); 382 _object.setContractPositionState(contractPositionState); 383 _object.setLineItemNumber(lineItemNumber); 384 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 385 _object.setName(name); 386 _object.setPositionNumber(positionNumber); 387 _object.setPricingState(pricingState); 388 _object.setSalesTaxType(salesTaxType); 389 _object.setCarrier(carrier); 390 _object.setGift(isGift); 391 _object.setShippingMethod(shippingMethod); 392 _object.setDisabled(disabled); 393 return _object; 394 } 395 396 public SalesOrderPosition extendContractPosition( 400 org.opencrx.kernel.contract1.cci.ContractPosition _base 401 , short accessLevelBrowse 402 , short accessLevelDelete 403 , short accessLevelUpdate 404 , boolean disabled 405 ) { 406 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 407 _object.setAccessLevelBrowse(accessLevelBrowse); 408 _object.setAccessLevelDelete(accessLevelDelete); 409 _object.setAccessLevelUpdate(accessLevelUpdate); 410 _object.setDisabled(disabled); 411 return _object; 412 } 413 414 public SalesOrderPosition extendDeliveryRequestContainer( 418 org.opencrx.kernel.contract1.cci.DeliveryRequestContainer _base 419 , short accessLevelBrowse 420 , short accessLevelDelete 421 , short accessLevelUpdate 422 , short contractPositionState 423 , int lineItemNumber 424 , short minMaxQuantityHandling 425 , String name 426 , String positionNumber 427 , short pricingState 428 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 429 , org.opencrx.kernel.account1.cci.Account carrier 430 , boolean isGift 431 , short shippingMethod 432 , boolean disabled 433 ) { 434 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 435 _object.setAccessLevelBrowse(accessLevelBrowse); 436 _object.setAccessLevelDelete(accessLevelDelete); 437 _object.setAccessLevelUpdate(accessLevelUpdate); 438 _object.setContractPositionState(contractPositionState); 439 _object.setLineItemNumber(lineItemNumber); 440 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 441 _object.setName(name); 442 _object.setPositionNumber(positionNumber); 443 _object.setPricingState(pricingState); 444 _object.setSalesTaxType(salesTaxType); 445 _object.setCarrier(carrier); 446 _object.setGift(isGift); 447 _object.setShippingMethod(shippingMethod); 448 _object.setDisabled(disabled); 449 return _object; 450 } 451 452 public SalesOrderPosition extendShippingDetail( 456 org.opencrx.kernel.contract1.cci.ShippingDetail _base 457 , short accessLevelBrowse 458 , short accessLevelDelete 459 , short accessLevelUpdate 460 , short contractPositionState 461 , int lineItemNumber 462 , short minMaxQuantityHandling 463 , String name 464 , String positionNumber 465 , short pricingState 466 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 467 , boolean disabled 468 ) { 469 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 470 _object.setAccessLevelBrowse(accessLevelBrowse); 471 _object.setAccessLevelDelete(accessLevelDelete); 472 _object.setAccessLevelUpdate(accessLevelUpdate); 473 _object.setContractPositionState(contractPositionState); 474 _object.setLineItemNumber(lineItemNumber); 475 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 476 _object.setName(name); 477 _object.setPositionNumber(positionNumber); 478 _object.setPricingState(pricingState); 479 _object.setSalesTaxType(salesTaxType); 480 _object.setDisabled(disabled); 481 return _object; 482 } 483 484 public SalesOrderPosition extendBookingOrigin( 488 org.opencrx.kernel.depot1.cci.BookingOrigin _base 489 , short accessLevelBrowse 490 , short accessLevelDelete 491 , short accessLevelUpdate 492 , short contractPositionState 493 , int lineItemNumber 494 , short minMaxQuantityHandling 495 , String name 496 , String positionNumber 497 , short pricingState 498 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 499 , org.opencrx.kernel.account1.cci.Account carrier 500 , boolean isGift 501 , short shippingMethod 502 , boolean disabled 503 ) { 504 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 505 _object.setAccessLevelBrowse(accessLevelBrowse); 506 _object.setAccessLevelDelete(accessLevelDelete); 507 _object.setAccessLevelUpdate(accessLevelUpdate); 508 _object.setContractPositionState(contractPositionState); 509 _object.setLineItemNumber(lineItemNumber); 510 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 511 _object.setName(name); 512 _object.setPositionNumber(positionNumber); 513 _object.setPricingState(pricingState); 514 _object.setSalesTaxType(salesTaxType); 515 _object.setCarrier(carrier); 516 _object.setGift(isGift); 517 _object.setShippingMethod(shippingMethod); 518 _object.setDisabled(disabled); 519 return _object; 520 } 521 522 public SalesOrderPosition extendDepotReferenceHolder( 526 org.opencrx.kernel.depot1.cci.DepotReferenceHolder _base 527 , short accessLevelBrowse 528 , short accessLevelDelete 529 , short accessLevelUpdate 530 , short contractPositionState 531 , int lineItemNumber 532 , short minMaxQuantityHandling 533 , String name 534 , String positionNumber 535 , short pricingState 536 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 537 , org.opencrx.kernel.account1.cci.Account carrier 538 , boolean isGift 539 , short shippingMethod 540 , boolean disabled 541 ) { 542 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 543 _object.setAccessLevelBrowse(accessLevelBrowse); 544 _object.setAccessLevelDelete(accessLevelDelete); 545 _object.setAccessLevelUpdate(accessLevelUpdate); 546 _object.setContractPositionState(contractPositionState); 547 _object.setLineItemNumber(lineItemNumber); 548 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 549 _object.setName(name); 550 _object.setPositionNumber(positionNumber); 551 _object.setPricingState(pricingState); 552 _object.setSalesTaxType(salesTaxType); 553 _object.setCarrier(carrier); 554 _object.setGift(isGift); 555 _object.setShippingMethod(shippingMethod); 556 _object.setDisabled(disabled); 557 return _object; 558 } 559 560 public SalesOrderPosition extendCrxObject( 564 org.opencrx.kernel.generic.cci.CrxObject _base 565 , short contractPositionState 566 , int lineItemNumber 567 , short minMaxQuantityHandling 568 , String name 569 , String positionNumber 570 , short pricingState 571 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 572 , org.opencrx.kernel.account1.cci.Account carrier 573 , boolean isGift 574 , short shippingMethod 575 ) { 576 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 577 _object.setContractPositionState(contractPositionState); 578 _object.setLineItemNumber(lineItemNumber); 579 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 580 _object.setName(name); 581 _object.setPositionNumber(positionNumber); 582 _object.setPricingState(pricingState); 583 _object.setSalesTaxType(salesTaxType); 584 _object.setCarrier(carrier); 585 _object.setGift(isGift); 586 _object.setShippingMethod(shippingMethod); 587 return _object; 588 } 589 590 public SalesOrderPosition extendProductConfigurationSet( 594 org.opencrx.kernel.product1.cci.ProductConfigurationSet _base 595 , short accessLevelBrowse 596 , short accessLevelDelete 597 , short accessLevelUpdate 598 , short contractPositionState 599 , int lineItemNumber 600 , short minMaxQuantityHandling 601 , String name 602 , String positionNumber 603 , short pricingState 604 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 605 , org.opencrx.kernel.account1.cci.Account carrier 606 , boolean isGift 607 , short shippingMethod 608 , boolean disabled 609 ) { 610 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 611 _object.setAccessLevelBrowse(accessLevelBrowse); 612 _object.setAccessLevelDelete(accessLevelDelete); 613 _object.setAccessLevelUpdate(accessLevelUpdate); 614 _object.setContractPositionState(contractPositionState); 615 _object.setLineItemNumber(lineItemNumber); 616 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 617 _object.setName(name); 618 _object.setPositionNumber(positionNumber); 619 _object.setPricingState(pricingState); 620 _object.setSalesTaxType(salesTaxType); 621 _object.setCarrier(carrier); 622 _object.setGift(isGift); 623 _object.setShippingMethod(shippingMethod); 624 _object.setDisabled(disabled); 625 return _object; 626 } 627 628 public SalesOrderPosition extendProductDescriptor( 632 org.opencrx.kernel.product1.cci.ProductDescriptor _base 633 , short accessLevelBrowse 634 , short accessLevelDelete 635 , short accessLevelUpdate 636 , short contractPositionState 637 , int lineItemNumber 638 , short minMaxQuantityHandling 639 , String name 640 , String positionNumber 641 , short pricingState 642 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 643 , org.opencrx.kernel.account1.cci.Account carrier 644 , boolean isGift 645 , short shippingMethod 646 , boolean disabled 647 ) { 648 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 649 _object.setAccessLevelBrowse(accessLevelBrowse); 650 _object.setAccessLevelDelete(accessLevelDelete); 651 _object.setAccessLevelUpdate(accessLevelUpdate); 652 _object.setContractPositionState(contractPositionState); 653 _object.setLineItemNumber(lineItemNumber); 654 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 655 _object.setName(name); 656 _object.setPositionNumber(positionNumber); 657 _object.setPricingState(pricingState); 658 _object.setSalesTaxType(salesTaxType); 659 _object.setCarrier(carrier); 660 _object.setGift(isGift); 661 _object.setShippingMethod(shippingMethod); 662 _object.setDisabled(disabled); 663 return _object; 664 } 665 666 public SalesOrderPosition extendProductInUseDescriptor( 670 org.opencrx.kernel.product1.cci.ProductInUseDescriptor _base 671 , short accessLevelBrowse 672 , short accessLevelDelete 673 , short accessLevelUpdate 674 , short contractPositionState 675 , int lineItemNumber 676 , short minMaxQuantityHandling 677 , String name 678 , String positionNumber 679 , short pricingState 680 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 681 , org.opencrx.kernel.account1.cci.Account carrier 682 , boolean isGift 683 , short shippingMethod 684 , boolean disabled 685 ) { 686 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 687 _object.setAccessLevelBrowse(accessLevelBrowse); 688 _object.setAccessLevelDelete(accessLevelDelete); 689 _object.setAccessLevelUpdate(accessLevelUpdate); 690 _object.setContractPositionState(contractPositionState); 691 _object.setLineItemNumber(lineItemNumber); 692 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 693 _object.setName(name); 694 _object.setPositionNumber(positionNumber); 695 _object.setPricingState(pricingState); 696 _object.setSalesTaxType(salesTaxType); 697 _object.setCarrier(carrier); 698 _object.setGift(isGift); 699 _object.setShippingMethod(shippingMethod); 700 _object.setDisabled(disabled); 701 return _object; 702 } 703 704 public SalesOrderPosition extendBasicObject( 708 org.openmdx.base.cci.BasicObject _base 709 , short accessLevelBrowse 710 , short accessLevelDelete 711 , short accessLevelUpdate 712 , short contractPositionState 713 , int lineItemNumber 714 , short minMaxQuantityHandling 715 , String name 716 , String positionNumber 717 , short pricingState 718 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 719 , org.opencrx.kernel.account1.cci.Account carrier 720 , boolean isGift 721 , short shippingMethod 722 , boolean disabled 723 ) { 724 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 725 _object.setAccessLevelBrowse(accessLevelBrowse); 726 _object.setAccessLevelDelete(accessLevelDelete); 727 _object.setAccessLevelUpdate(accessLevelUpdate); 728 _object.setContractPositionState(contractPositionState); 729 _object.setLineItemNumber(lineItemNumber); 730 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 731 _object.setName(name); 732 _object.setPositionNumber(positionNumber); 733 _object.setPricingState(pricingState); 734 _object.setSalesTaxType(salesTaxType); 735 _object.setCarrier(carrier); 736 _object.setGift(isGift); 737 _object.setShippingMethod(shippingMethod); 738 _object.setDisabled(disabled); 739 return _object; 740 } 741 742 public SalesOrderPosition extendContextCapable( 746 org.openmdx.base.cci.ContextCapable _base 747 , short accessLevelBrowse 748 , short accessLevelDelete 749 , short accessLevelUpdate 750 , short contractPositionState 751 , int lineItemNumber 752 , short minMaxQuantityHandling 753 , String name 754 , String positionNumber 755 , short pricingState 756 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 757 , org.opencrx.kernel.account1.cci.Account carrier 758 , boolean isGift 759 , short shippingMethod 760 , boolean disabled 761 ) { 762 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 763 _object.setAccessLevelBrowse(accessLevelBrowse); 764 _object.setAccessLevelDelete(accessLevelDelete); 765 _object.setAccessLevelUpdate(accessLevelUpdate); 766 _object.setContractPositionState(contractPositionState); 767 _object.setLineItemNumber(lineItemNumber); 768 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 769 _object.setName(name); 770 _object.setPositionNumber(positionNumber); 771 _object.setPricingState(pricingState); 772 _object.setSalesTaxType(salesTaxType); 773 _object.setCarrier(carrier); 774 _object.setGift(isGift); 775 _object.setShippingMethod(shippingMethod); 776 _object.setDisabled(disabled); 777 return _object; 778 } 779 780 public SalesOrderPosition extendExtentCapable( 784 org.openmdx.base.cci.ExtentCapable _base 785 , short accessLevelBrowse 786 , short accessLevelDelete 787 , short accessLevelUpdate 788 , short contractPositionState 789 , int lineItemNumber 790 , short minMaxQuantityHandling 791 , String name 792 , String positionNumber 793 , short pricingState 794 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 795 , org.opencrx.kernel.account1.cci.Account carrier 796 , boolean isGift 797 , short shippingMethod 798 , boolean disabled 799 ) { 800 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 801 _object.setAccessLevelBrowse(accessLevelBrowse); 802 _object.setAccessLevelDelete(accessLevelDelete); 803 _object.setAccessLevelUpdate(accessLevelUpdate); 804 _object.setContractPositionState(contractPositionState); 805 _object.setLineItemNumber(lineItemNumber); 806 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 807 _object.setName(name); 808 _object.setPositionNumber(positionNumber); 809 _object.setPricingState(pricingState); 810 _object.setSalesTaxType(salesTaxType); 811 _object.setCarrier(carrier); 812 _object.setGift(isGift); 813 _object.setShippingMethod(shippingMethod); 814 _object.setDisabled(disabled); 815 return _object; 816 } 817 818 public SalesOrderPosition extendViewCapable( 822 org.openmdx.compatibility.view1.cci.ViewCapable _base 823 , short accessLevelBrowse 824 , short accessLevelDelete 825 , short accessLevelUpdate 826 , short contractPositionState 827 , int lineItemNumber 828 , short minMaxQuantityHandling 829 , String name 830 , String positionNumber 831 , short pricingState 832 , org.opencrx.kernel.product1.cci.SalesTaxType salesTaxType 833 , org.opencrx.kernel.account1.cci.Account carrier 834 , boolean isGift 835 , short shippingMethod 836 , boolean disabled 837 ) { 838 SalesOrderPositionImpl _object = (SalesOrderPositionImpl)getSalesOrderPosition(_base); 839 _object.setAccessLevelBrowse(accessLevelBrowse); 840 _object.setAccessLevelDelete(accessLevelDelete); 841 _object.setAccessLevelUpdate(accessLevelUpdate); 842 _object.setContractPositionState(contractPositionState); 843 _object.setLineItemNumber(lineItemNumber); 844 _object.setMinMaxQuantityHandling(minMaxQuantityHandling); 845 _object.setName(name); 846 _object.setPositionNumber(positionNumber); 847 _object.setPricingState(pricingState); 848 _object.setSalesTaxType(salesTaxType); 849 _object.setCarrier(carrier); 850 _object.setGift(isGift); 851 _object.setShippingMethod(shippingMethod); 852 _object.setDisabled(disabled); 853 return _object; 854 } 855 856 } 860 | Popular Tags |